Browse Source

kubernetes-deploy: set etcd pod restartPolicy=Always

blueblue 7 years ago
parent
commit
01996012bb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      hack/kubernetes-deploy/etcd.yml

+ 3 - 3
hack/kubernetes-deploy/etcd.yml

@@ -47,7 +47,7 @@ spec:
     - containerPort: 2380
       name: server
       protocol: TCP
-  restartPolicy: Never
+  restartPolicy: Always
 
 ---
 
@@ -106,7 +106,7 @@ spec:
     - containerPort: 2380
       name: server
       protocol: TCP
-  restartPolicy: Never
+  restartPolicy: Always
 
 ---
 
@@ -165,7 +165,7 @@ spec:
     - containerPort: 2380
       name: server
       protocol: TCP
-  restartPolicy: Never
+  restartPolicy: Always
 
 ---