Difference between revisions of "Pod (Kubernetes)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
 
* <code>[[kubectl apply]]</code>
 
* <code>[[kubectl apply]]</code>
 
* <code>[[kubectl create]]</code>
 
* <code>[[kubectl create]]</code>
* <code>[[kubectl get pods]]</code>
+
* Get a list of pods
 +
::: <code>[[kubectl get pods]]</code>
 
*<code>[[kubectl get]] pod MY_POD_NAME</code>
 
*<code>[[kubectl get]] pod MY_POD_NAME</code>
 
* <code>[[kubectl delete]] pod MY_POD_NAME</code>
 
* <code>[[kubectl delete]] pod MY_POD_NAME</code>

Revision as of 12:10, 19 April 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

Activities

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

See also

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