Commit 2dadfbca authored by xuezj's avatar xuezj Committed by 智勇

node selector没用了

parent eed25eb0
...@@ -35,8 +35,6 @@ spec: ...@@ -35,8 +35,6 @@ spec:
qcloud-app: {{serviceName}} qcloud-app: {{serviceName}}
type: base type: base
spec: spec:
nodeSelector:
zone: "3"
containers: containers:
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: Always
......
...@@ -37,8 +37,6 @@ spec: ...@@ -37,8 +37,6 @@ spec:
spec: spec:
# hostname固定,容器重置后数据持久化才能正常 # hostname固定,容器重置后数据持久化才能正常
hostname: {{serviceName}}-{{namespace}} hostname: {{serviceName}}-{{namespace}}
nodeSelector:
zone: "3"
containers: containers:
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
......
...@@ -20,8 +20,6 @@ spec: ...@@ -20,8 +20,6 @@ spec:
type: base type: base
qcloud-app: {{serviceName}} qcloud-app: {{serviceName}}
spec: spec:
nodeSelector:
zone: "3"
containers: containers:
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: Always
......
...@@ -54,6 +54,8 @@ spec: ...@@ -54,6 +54,8 @@ spec:
value: {{debug}} value: {{debug}}
- name: NODE_ENV - name: NODE_ENV
value: test value: test
- name: CLUSTER
value: {{cluster}}
resources: resources:
requests: requests:
cpu: {{resources.cpu.request}}m cpu: {{resources.cpu.request}}m
......
...@@ -35,8 +35,6 @@ spec: ...@@ -35,8 +35,6 @@ spec:
qcloud-app: {{serviceName}} qcloud-app: {{serviceName}}
type: base type: base
spec: spec:
nodeSelector:
zone: "3"
containers: containers:
- image: ccr.ccs.tencentyun.com/{{image}} - image: ccr.ccs.tencentyun.com/{{image}}
imagePullPolicy: Always imagePullPolicy: Always
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment