Welcome to the Linux Foundation Forum!

Lab 5.1 - Configuring TLS Access

shunmugam379
shunmugam379 Posts: 11
edited October 27 in LFS258 Class Forum

Can i get any reference in the kubernetes.io page for this lab.

Answers

  • serewicz
    serewicz Posts: 971

    Hello,

    kubernetes.io/docs has a handy search function. Probably a good idea to become comfortable with using it, and seeing the possible responses, finding the correct answer you are looking for.

    Regards,

  • [email protected]: ̃$ export client=$(grep client-cert $HOME/.kube/config |cut -d" " -f 6)
    [email protected]: ̃$ export key=$(grep client-key-data $HOME/.kube/config |cut -d " " -f 6)
    [email protected]: ̃$ export auth=$(grep certificate-authority-data $HOME/.kube/config |cut -d " " -f 6)

    [email protected]: ̃$ curl --cert ./client.pem --key ./client-key.pem --cacert ./ca.pem \https://k8scp:6443/api/v1/pods

    I didn't find these methods in the kubernetes.io website. Thank you for your support

  • chrispokorni
    chrispokorni Posts: 1,218

    Hi @shunmugam379,

    There is a typo in the curl command. The backslash is not needed in front of the URL.

    Regards,
    -Chris

Categories

Upcoming Training