Difference between revisions of "Pod (Kubernetes)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 17: Line 17:
  
 
== Activities ==
 
== Activities ==
# [[CKAD]]: [[Create and configure a basic Pod]]: <code>[[kubectl apply]]</code>
+
# [[CKA v1.15]]: [[Create and configure a basic Pod]]: <code>[[kubectl apply]]</code>
 
# Create a pod network: <code>[[kubeadm init]] --pod-network-cidr=10.244.0.0/16</code>
 
# Create a pod network: <code>[[kubeadm init]] --pod-network-cidr=10.244.0.0/16</code>
# [[CKAD]]: Understand how to use [[Labels]], [[Selector]] and [[Annotations]]  
+
# [[CKA v1.15]]: Understand how to use [[Labels]], [[Selector]] and [[Annotations]]  
# [[CKAD]]: Understand Deployments and how to perform [[rolling updates]]
+
# [[CKA v1.15]]: Understand [[deployments]] and how to perform [[rolling updates]]
# [[CKAD]]: Understand Deployments and how to perform [[rollbacks]]
+
# [[CKA v1.15]]: Understand deployments and how to perform [[rollbacks]]
  
 
== See also ==
 
== See also ==

Revision as of 04:42, 3 May 2020

Kubernetes Pods[1][2] are the smallest deployable units that allows to deploy one or multiple containers as a single atomic unit. Pods are defined using kubectl apply command.

Pod related commands

kubectl get pods
kubectl describe pod MY_POD_NAME


See also ReplicaSet[3] concept.

Activities

  1. CKA v1.15: Create and configure a basic Pod: kubectl apply
  2. Create a pod network: kubeadm init --pod-network-cidr=10.244.0.0/16
  3. CKA v1.15: Understand how to use Labels, Selector and Annotations
  4. CKA v1.15: Understand deployments and how to perform rolling updates
  5. CKA v1.15: Understand deployments and how to perform rollbacks

See also

  • https://kubernetes.io/docs/concepts/workloads/pods/pod/
  • https://en.wikipedia.org/wiki/Kubernetes#Pods
  • https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
  • Advertising: