영어에서 Statefulset 을 사용하는 예와 한국어로 번역
{-}
-
Colloquial
-
Ecclesiastic
-
Ecclesiastic
-
Programming
-
Computer
The StatefulSet API Object.
A Cascading Delete both the StatefulSet.
The StatefulSet API Object.
Use kubectl delete to delete the zk StatefulSet.
In a Cascading Delete, both the StatefulSet and its Pods are deleted.
Use the kubectl delete command to delete the zk StatefulSet.
As the web StatefulSet has been deleted, web-0 has not been relaunched.
Controllers include ReplicaSet, Deployment, StatefulSet, DaemonSet and Job.
The StatefulSet controller launched both web-0 and web-1 at the same time.
In Kubernetes 1.7 and later, the StatefulSet controller supports automated updates.
StatefulSet supports both Non-Cascading and Cascading deletion.
In Kubernetes 1.7, the StatefulSet controller supports automated updates.
In the second terminal, use kubectl apply to create the Headless Service and StatefulSet defined in web. yaml.
Scaling a StatefulSet refers to increasing or decreasing the number of replicas.
This included ReplicationController, ReplicaSet, StatefulSet, DaemonSet, and Deployment.
Controllers like StatefulSet can also provide support to stateful Pods.
To get the Fully Qualified Domain Name(FQDN) of each Pod in the zk StatefulSet use the following command.
Since the web StatefulSet has two replicas, it creates two Pods, web-0 and web-1.
If a user were to scale the deployed example by patching the StatefulSet such that replicas=1, web-2 would be terminated first.
The StatefulSet controller provides each Pod with a unique hostname based on its ordinal index.
In another terminal, delete the StatefulSet again. This time, omit the--cascade=false parameter.
The StatefulSet controller creates three Pods, and each Pod has a container with a ZooKeeper 3.4.9 server.
Because the replicas field of the zk StatefulSet is set to 3, the Set's controller creates three Pods with their hostnames set to zk-0, zk-1, and zk-2.
UpdateStrategy field of the StatefulSet API Object. This feature can be used to upgrade the container images, resource requests and/or limits, labels, and annotations of the Pods in a StatefulSet. .
In Kubernetes 1.7 and later, StatefulSet allows you to relax its ordering guarantees while preserving its uniqueness and identity guarantees via its. spec. podManagementPolicy field.