Completek8s Classroomnotes 06/Aug/2023

Kubernetes the hardway

  • Our issue with running the etcd cluster as service still exists so we have executed etcd from command line
/usr/local/bin/etcd \
>   --name ip-172-31-51-202 \
>   --cert-file=/etc/etcd/kubernetes.pem \
>   --key-file=/etc/etcd/kubernetes-key.pem \
>   --peer-cert-file=/etc/etcd/kubernetes.pem \
>   --peer-key-file=/etc/etcd/kubernetes-key.pem \
d-ca-file=/etc/etcd/ca.p>   --trusted-ca-file=/etc/etcd/ca.pem \

  --pee>   --peer-trusted-ca-file=/etc/etcd/ca.pem \
>   --peer-client-cert-auth \
>   --client-cert-auth \
>   --initial-advertise-peer-urls https://172.31.51.202:2380 \
>   --listen-peer-urls https://172.31.51.202:2380 \
>   --listen-client-urls https://172.31.51.202:2379,https://127.0.0.1:2379 \
>   --advertise-client-urls https://172.31.51.202:2379 \
>   --initial-cluster-token etcd-cluster-0 \
>   --initial-cluster controller-0=https://10.240.0.10:2380,controller-1=https://10.240.0.11:2380,controller-2=https://10.240.0.12:2380 \
>   --initial-cluster-state new

Preview
Preview
* Lets continue with the k8s control plane Refer Here
Preview

  • Lets bootstrap the worker nodes Refer Here
  • Status:
    • kubectl get nodes is not responding with nodes

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Integration by Acurax Wordpress Developers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube