Welcome to the Linux Foundation Forum!

Lab 5.1 - Configuring TLS Access

Posts: 11
edited October 2021 in LFS258 Class Forum

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Answers

  • Posts: 1,000

    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,

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

    student@cp: ̃$ 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

  • Hi @shunmugam379,

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

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training