mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Remove initialized annotation from statefulset examples
This commit is contained in:
@@ -11,8 +11,6 @@ spec:
|
|||||||
replicas: 1
|
replicas: 1
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
labels:
|
labels:
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
k8s-app: calico-etcd
|
k8s-app: calico-etcd
|
||||||
|
@@ -66,7 +66,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: cockroachdb
|
app: cockroachdb
|
||||||
annotations:
|
annotations:
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
# Init containers are run only once in the lifetime of a pod, before
|
# Init containers are run only once in the lifetime of a pod, before
|
||||||
# it's started up for the first time. It has to exit successfully
|
# it's started up for the first time. It has to exit successfully
|
||||||
# before the pod's main containers are allowed to start.
|
# before the pod's main containers are allowed to start.
|
||||||
|
@@ -188,8 +188,6 @@ spec:
|
|||||||
replicas: 3
|
replicas: 3
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
labels:
|
labels:
|
||||||
app: cassandra
|
app: cassandra
|
||||||
spec:
|
spec:
|
||||||
|
@@ -7,8 +7,6 @@ spec:
|
|||||||
replicas: 3
|
replicas: 3
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
labels:
|
labels:
|
||||||
app: cassandra
|
app: cassandra
|
||||||
spec:
|
spec:
|
||||||
|
2
hack/testdata/nginx-statefulset.yaml
vendored
2
hack/testdata/nginx-statefulset.yaml
vendored
@@ -27,8 +27,6 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: nginx-statefulset
|
app: nginx-statefulset
|
||||||
annotations:
|
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 0
|
terminationGracePeriodSeconds: 0
|
||||||
containers:
|
containers:
|
||||||
|
@@ -10,7 +10,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: cockroachdb
|
app: cockroachdb
|
||||||
annotations:
|
annotations:
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
# Init containers are run only once in the lifetime of a pod, before
|
# Init containers are run only once in the lifetime of a pod, before
|
||||||
# it's started up for the first time. It has to exit successfully
|
# it's started up for the first time. It has to exit successfully
|
||||||
# before the pod's main containers are allowed to start.
|
# before the pod's main containers are allowed to start.
|
||||||
|
@@ -10,7 +10,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: mysql
|
app: mysql
|
||||||
annotations:
|
annotations:
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
pod.alpha.kubernetes.io/init-containers: '[
|
pod.alpha.kubernetes.io/init-containers: '[
|
||||||
{
|
{
|
||||||
"name": "install",
|
"name": "install",
|
||||||
|
@@ -10,7 +10,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: redis
|
app: redis
|
||||||
annotations:
|
annotations:
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
pod.alpha.kubernetes.io/init-containers: '[
|
pod.alpha.kubernetes.io/init-containers: '[
|
||||||
{
|
{
|
||||||
"name": "install",
|
"name": "install",
|
||||||
|
@@ -10,7 +10,6 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: zk
|
app: zk
|
||||||
annotations:
|
annotations:
|
||||||
pod.alpha.kubernetes.io/initialized: "true"
|
|
||||||
pod.alpha.kubernetes.io/init-containers: '[
|
pod.alpha.kubernetes.io/init-containers: '[
|
||||||
{
|
{
|
||||||
"name": "install",
|
"name": "install",
|
||||||
|
Reference in New Issue
Block a user