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
namespace: human-connection
spec:
replicas: 2
replicas: 1
minReadySeconds: 15
progressDeadlineSeconds: 60
selector:
matchLabels:
human-connection.org/selector: deployment-human-connection-nginx
human-connection.org/selector: deployment-human-connection-maintenance
template:
metadata:
labels:
human-connection.org/commit: COMMIT
human-connection.org/selector: deployment-human-connection-nginx
human-connection.org/selector: deployment-human-connection-maintenance
name: maintenance
spec:
containers:

View File

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