mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.6k stars 4.48k forks source link

cert_verify.sh doesn't output message 'PKI generated correctly' #311

Closed taylormonacelli closed 1 year ago

taylormonacelli commented 1 year ago

Update readme to sync up with script

Log for success ```sh vagrant@master-1:~$ ./cert_verify.sh This script will validate the certificates in master as well as worker-1 nodes. Before proceeding, make sure you ssh into the respective node [ Master or Worker-1 ] for certificate validation 1. Verify certificates on Master Nodes after step 4 2. Verify kubeconfigs on Master Nodes after step 5 3. Verify kubeconfigs and PKI on Master Nodes after step 8 4. Verify kubeconfigs and PKI on worker-1 Node after step 10 5. Verify kubeconfigs and PKI on worker-2 Node after step 11 Please select one of the above options: 1 The selected option is 1, proceeding the certificate verification of Master node ca cert and key found, verifying the authenticity ca cert and key are correct kube-apiserver cert and key found, verifying the authenticity kube-apiserver cert and key are correct kube-controller-manager cert and key found, verifying the authenticity kube-controller-manager cert and key are correct kube-scheduler cert and key found, verifying the authenticity kube-scheduler cert and key are correct service-account cert and key found, verifying the authenticity service-account cert and key are correct apiserver-kubelet-client cert and key found, verifying the authenticity apiserver-kubelet-client cert and key are correct etcd-server cert and key found, verifying the authenticity etcd-server cert and key are correct admin cert and key found, verifying the authenticity admin cert and key are correct kube-proxy cert and key found, verifying the authenticity kube-proxy cert and key are correct vagrant@master-1:~$ ```
taylormonacelli commented 1 year ago

Yeiks, I didn't intend for all my playground commits to get slurped into this PR. I just meant the first one. Anyway, until I figure out how that happened, i'll close this trivial PR.