mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
Remove initialized annotation from statefulset examples
This commit is contained in:
@@ -11,8 +11,6 @@ spec:
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
labels:
|
||||
kubernetes.io/cluster-service: "true"
|
||||
k8s-app: calico-etcd
|
||||
|
@@ -66,7 +66,6 @@ spec:
|
||||
labels:
|
||||
app: cockroachdb
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
# 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
|
||||
# before the pod's main containers are allowed to start.
|
||||
|
@@ -188,8 +188,6 @@ spec:
|
||||
replicas: 3
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
labels:
|
||||
app: cassandra
|
||||
spec:
|
||||
|
@@ -7,8 +7,6 @@ spec:
|
||||
replicas: 3
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
labels:
|
||||
app: cassandra
|
||||
spec:
|
||||
|
2
hack/testdata/nginx-statefulset.yaml
vendored
2
hack/testdata/nginx-statefulset.yaml
vendored
@@ -27,8 +27,6 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx-statefulset
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 0
|
||||
containers:
|
||||
|
@@ -10,7 +10,6 @@ spec:
|
||||
labels:
|
||||
app: cockroachdb
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
# 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
|
||||
# before the pod's main containers are allowed to start.
|
||||
|
@@ -10,7 +10,6 @@ spec:
|
||||
labels:
|
||||
app: mysql
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
pod.alpha.kubernetes.io/init-containers: '[
|
||||
{
|
||||
"name": "install",
|
||||
|
@@ -10,7 +10,6 @@ spec:
|
||||
labels:
|
||||
app: redis
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
pod.alpha.kubernetes.io/init-containers: '[
|
||||
{
|
||||
"name": "install",
|
||||
|
@@ -10,7 +10,6 @@ spec:
|
||||
labels:
|
||||
app: zk
|
||||
annotations:
|
||||
pod.alpha.kubernetes.io/initialized: "true"
|
||||
pod.alpha.kubernetes.io/init-containers: '[
|
||||
{
|
||||
"name": "install",
|
||||
|
Reference in New Issue
Block a user