Kubenete study notes (Replication Controller)
Replication controller: ReplicationController schedules pod to one work node, kubelet application in node pulls image and create containers. Pod started by “kubectl run” is not created directly. ReplicationController is created by command and replicationController creates pod Create pod: kubectl run [replication controller name] --image=[image name] --port=[port number] --generator=run/v1 . Without --generate flag, it creates deployment instead of replicationController Replication controller is able to scale number of pods: kubectl scale rc [replication controller] --replicas=3 Replication