Commit adc07612 by 蒋勇

d

parent ef1ca171
......@@ -6,7 +6,7 @@ metadata:
labels:
app: fqboss
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
app: fqboss
......@@ -15,10 +15,21 @@ spec:
labels:
app: fqboss
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- kubnode1
- kubnode2
- kubnode3
restartPolicy: Always
containers:
- name: fqboss
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:666.0.9
image: registry.cn-beijing.aliyuncs.com/hantang2/imgshare:666.0.47
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
......@@ -84,7 +95,6 @@ spec:
name: zhichan-config
key: NODE_PORT
---
kind: Service
apiVersion: v1
metadata:
......
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