Browse Source

kubernetes-deploy: set etcd pod restartPolicy=Always

blueblue 7 năm trước cách đây
mục cha
commit
01996012bb
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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
 
 ---