Skip to content

Commit

Permalink
enhancement: Increase the minimum number of replicas for Quay and Cla…
Browse files Browse the repository at this point in the history
…ir to 2 (PROJQUAY-2767) (#585)

The current default template sets the number of replicas for both Quay and Clair to 1. If HPA is not used, this means deploying only 1 pod of each. This PR increases the default number of replicas to 2, thereby ensuring high availability.
  • Loading branch information
ibazulic authored Nov 4, 2021
1 parent 2a1777e commit b073b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kustomize/base/quay.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
annotations:
quay-component: base
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
quay-component: quay-app
Expand Down
2 changes: 1 addition & 1 deletion kustomize/components/clair/clair.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
quay-component: clair
name: clair-app
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
quay-component: clair-app
Expand Down

0 comments on commit b073b05

Please sign in to comment.