Sec 5: Abs:Begginers : Kubernetes Concepts : PODs, Replicasets , Deployments

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 19 . Pods with Yaml apiVersion : Kubernetes api version : Values for apiVersion : > ReplicationController : v1 kind : kind refers to the kind of object that we are creating The command below generates the Yaml code for the image that you want to run. kubectl run redis --image=redis --dry-run -o yaml redis123 is a false image in this case. but if you have a real image. You can create an image as such --dry-run -- Is deprecated kubectl run redis --image=redis --dry-run=client -o yaml Directed to be written to a file below. kubectl run redis --image=redis --dry-run=client -o yaml > redis.yaml Now use the redis command kubectl create -f redis.yaml Building a Replica Set > kubectl get replicationcontroller If you want to see the pods created by the replication c...