Professional Documents
Culture Documents
Basics ReplicaSet
kubectl run <ku‐ Deploy an app on the kubectl get replicaset Show replica
be> cluster sets in a
kubectl cluster- view info about the cluster
kubectl create -f Create a resource from kubectl scale --replicas=6 scale replica
<filename.yaml> a file -f replicaset-definition.yml set and
update file
kubectl apply -f Apply a configuration to
<filename.yaml> a resource by filename kubectl scale --replicas=6 scale replica
-f replicaset myapp-rep‐ set by type
kubectl replace - Replace a configuration
licaset
f <filename.ya‐ to a resource by
ml> filename
Deployment
Pods