Kubernetes
Kubernetes
What is Kubernetes
POD1 POD2
Cluster
What is kubectl
It basically provides the CLI to run commands against the Kubernetes cluster with various
ways to create and manage the Kubernetes component.
What are the advantages of Kubernetes?
• Automated Scheduling
• Self-Healing Capabilities
• Automated Rollback and rollouts
• Horizontal Scaling and Load balancing
kubectl run
Setup k8s cluster
o https://github.com/amitganvir23/devops-session/blob/master/k8s-1-21-setup.sh
Check Pods
root@ip-172-31-24-184:~# kubectl get pods
How to access k8s cluster from Clientside
Copy ‘admin.conf’ contents from Master Node
root@ip-172-31-24-184:~# cat /etc/kubernetes/admin.conf
Browser: https://<NodeIP>:<NodePort>
Data Availabe in Github Repository
https://github.com/amitganvir23/devops-session
https://www.aquasec.com/cloud-native-
academy/kubernetes-101/kubernetes-dashboard/
https://devopscube.com/setup-kubernetes-cluster-
kubeadm
Present By Amit Ganvir
[email protected]