[nginx] Add versioned RC
This commit is contained in:
parent
a2c95a740d
commit
83eb026d3e
2 changed files with 9 additions and 2 deletions
|
|
@ -6,16 +6,18 @@ metadata:
|
|||
labels:
|
||||
app: nginx
|
||||
version: 1.9.11
|
||||
spec: v1
|
||||
spec: v2
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
app: nginx
|
||||
rcv: v2
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
lb-target: nginx
|
||||
rcv: v2
|
||||
spec:
|
||||
containers:
|
||||
- image: nginx:1.9.11
|
||||
|
|
@ -27,6 +29,8 @@ spec:
|
|||
mountPath: /etc/nginx/ssl/dhparam
|
||||
- name: nginx-config
|
||||
mountPath: /etc/nginx/conf.d
|
||||
- name: nginx-logs
|
||||
mountPath: /var/log/nginx
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- containerPort: 443
|
||||
|
|
@ -40,3 +44,5 @@ spec:
|
|||
- name: nginx-config
|
||||
secret:
|
||||
secretName: nginx-config
|
||||
- name: nginx-logs
|
||||
emptyDir: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue