Skip to content

Latest commit

 

History

History
executable file
·
48 lines (33 loc) · 1.11 KB

File metadata and controls

executable file
·
48 lines (33 loc) · 1.11 KB

View Certificate Details

In this section, we will take a look at View Certificate Details.

View Certs

hrd

hrd1

  • To view the details of the certificate.

    $ openssl x509 -in /etc/kubernetes/pki/apiserver.crt -text -noout
    

    hrd2

Follow the same procedure to identify information about all of the other certificates.

hrd3

Inspect Server Logs - Hardway setup

  • Inspect server logs using journalctl command.

    $ journalctl -u etcd.service -l
    

    hrd4

Inspect Server Logs - kubeadm setup

  • View logs using kubectl tool.

    $ kubectl logs etcd-master
    

    hrd5

  • View logs using docker ps and docker logs command.

    $ docker ps -a
    $ docker logs <container-id>
    

    hrd6

K8s Reference Docs