Examples of using A replicationcontroller in English and their translations into Indonesian
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Ecclesiastic
Isolating pods from a ReplicationController.
A ReplicationController also needs a. spec section.
As with all other Kubernetes config, a ReplicationController needs apiVersion, kind, and metadata fields.
A ReplicationController manages all the pods with labels that match the selector.
Similarly, the population of pods that a replicationcontroller should manage is also defined with a label selector.
A ReplicationController ensures that a specified number of pod replicas are running at any one time.
For this reason, we recommend that you use a ReplicationController even if your application requires only a single pod.
A ReplicationController delegates local container restarts to some agent on the node(for example, Kubelet or Docker).
In addition to required fields for a Pod, a pod template in a ReplicationController must specify appropriate labels and an appropriate restart policy.
A ReplicationController will never terminate on its own, but it isn't expected to be as long-lived as services.
The two serve the same purpose, and behave similarly, except that a ReplicationController does not support set-based selector requirements as described in the labels user guide.
Use a ReplicationController, ReplicaSet, or Deployment for Pods that are not expected to terminate, for example, web servers.
Note: You should not create other Pods whose labels match this selector, either directly, by creating another Deployment,or by creating another controller such as a ReplicaSet or a ReplicationController.
You can delete a ReplicationController without affecting any of its pods.
A ReplicationController is similar to a process supervisor, but instead of supervising individual processes on a single node, the ReplicationController supervises multiple pods across multiple nodes.
Pods may be removed from a ReplicationController's target set by changing their labels.
You could set up a ReplicationController with replicas set to 9 for the bulk of the replicas, with labels tier=frontend, environment=prod, track=stable, and another ReplicationController with replicas set to 1 for the canary, with labels tier=frontend, environment=prod, track=canary.
Using a PD on a Pod controlled by a ReplicationController will fail unless the PD is read-only or the replica count is 0 or 1.
In other words, a ReplicationController makes sure that a pod or a homogeneous set of pods is always up and available.
Unlike in the case where a user directly created pods, a ReplicationController replaces pods that are deleted or terminated for any reason, such as in the case of node failure or disruptive node maintenance, such as a kernel upgrade.
Pods created by a ReplicationController are intended to be fungible and semantically identical, though their configurations may become heterogeneous over time.
As mentioned above, whether you have 1 pod you want to keep running,or 1000, a ReplicationController will ensure that the specified number of pods exists, even in the event of node failure or pod termination(for example, due to an action by another control agent).
Use a Job instead of a ReplicationController for pods that are expected to terminate on their own(that is, batch jobs).
Use a DaemonSet instead of a ReplicationController for pods that provide a machine-level function, such as machine monitoring or machine logging.
The ReplicationController is intended to be a composable building-block primitive.
Labels do not affect the behavior of the ReplicationController.
The ReplicationController is forever constrained to this narrow responsibility.
Check on the status of the ReplicationController using this command.
ReplicaSet is the next-generation ReplicationController that supports the new set-based label selector.
Once the original is deleted, you can create a new ReplicationController to replace it.