From 6d5ffc0464f2be40a6a8e2040ac1ee7745b26613 Mon Sep 17 00:00:00 2001 From: Matt Rider Date: Wed, 3 Jul 2019 14:54:19 -0300 Subject: [PATCH] Rename labels, decrease replicas to 1 --- .../maintenance/deployment-maintenance.yaml | 6 +++--- .../human-connection/maintenance/service-maintenance.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deployment/human-connection/maintenance/deployment-maintenance.yaml b/deployment/human-connection/maintenance/deployment-maintenance.yaml index 3bcdb7bf0..4fe519997 100644 --- a/deployment/human-connection/maintenance/deployment-maintenance.yaml +++ b/deployment/human-connection/maintenance/deployment-maintenance.yaml @@ -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: diff --git a/deployment/human-connection/maintenance/service-maintenance.yaml b/deployment/human-connection/maintenance/service-maintenance.yaml index 34bef9b68..43aab9331 100644 --- a/deployment/human-connection/maintenance/service-maintenance.yaml +++ b/deployment/human-connection/maintenance/service-maintenance.yaml @@ -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