Rename labels, decrease replicas to 1

This commit is contained in:
Matt Rider 2019-07-03 14:54:19 -03:00 committed by Robert Schäfer
parent c79ec1f6fe
commit 6d5ffc0464
2 changed files with 5 additions and 5 deletions

View File

@ -4,17 +4,17 @@ metadata:
name: maintenance name: maintenance
namespace: human-connection namespace: human-connection
spec: spec:
replicas: 2 replicas: 1
minReadySeconds: 15 minReadySeconds: 15
progressDeadlineSeconds: 60 progressDeadlineSeconds: 60
selector: selector:
matchLabels: matchLabels:
human-connection.org/selector: deployment-human-connection-nginx human-connection.org/selector: deployment-human-connection-maintenance
template: template:
metadata: metadata:
labels: labels:
human-connection.org/commit: COMMIT human-connection.org/commit: COMMIT
human-connection.org/selector: deployment-human-connection-nginx human-connection.org/selector: deployment-human-connection-maintenance
name: maintenance name: maintenance
spec: spec:
containers: containers:

View File

@ -4,11 +4,11 @@ metadata:
name: maintenance name: maintenance
namespace: human-connection namespace: human-connection
labels: labels:
human-connection.org/selector: deployment-human-connection-nginx human-connection.org/selector: deployment-human-connection-maintenance
spec: spec:
ports: ports:
- name: web - name: web
port: 80 port: 80
targetPort: 80 targetPort: 80
selector: selector:
human-connection.org/selector: deployment-human-connection-nginx human-connection.org/selector: deployment-human-connection-maintenance