Certified Kubernetes Administrator
--------------------------------------------------------------
kubernetes tutorial | Static Pods | Demo - Create Static Pods
Description
--------------------------
In this video, you are going to learn the concepts of Static Pods & a demo on how to create static pods using yaml
Recap: What are Pods ?
What are Static Pods ?
More on Static Pods
How to create a Static POD ?
What will happen if a Static Pod is deleted ?
DEMO: Create Static Pods
For suggestions/feedback/doubts contact
email: [email protected]
Happy Learning !!!
===========================================================================================
USEFUL LINKS
---------------------------
Kubernetes Pods
https://kubernetes.io/docs/concepts/w...
Static Pods
https://kubernetes.io/docs/tasks/conf...
API References
https://kubernetes.io/docs/reference/...
==========================================================================================
#cka #kubernetes #k8s #containers
DEMO STEPS
---------------------------
Step 1: Pre-requisites or Assumptions
$ kubectl cluster-info
Step 2: Inspect the Kubernetes Cluster
$ kubectl get pods -n kube-system
$ kubectl get nodes
$ kubectl get nodes --show-labels
Step 3: Create POD Manifest using kubectl commands
$ kubectl run static-pod --image=nginx --dry-run=client -o yaml
Step 4: Create a Static Pod using the POD Manifest file
Copy the content of step 3 and create a file static-pod.yaml under /etc/kubernetes/manifests
Step 5: Delete the Static Pod and Observe the Behavior
$ kubectl delete pod static-pod
$ rm /etc/kubernetes/manifests/static-pod.yaml
===========================================================================================================================================
Watch video kubernetes tutorial | Static Pods | Demo - Create Static Pods online without registration, duration hours minute second in high quality. This video was added by user VSPARKZ 13 January 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,822 once and liked it 34 people.