Skip to content

Commit

Permalink
only run a single registry instance for development
Browse files Browse the repository at this point in the history
  • Loading branch information
damoon committed May 23, 2021
1 parent 23b3f36 commit cf2dde1
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions service-dependencies/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ spec:
selector:
matchLabels:
app: wedding-registry
strategy:
type: Recreate
replicas: 2
replicas: 1
template:
metadata:
labels:
Expand Down Expand Up @@ -91,18 +89,6 @@ spec:
- wedding-registry
topologyKey: "kubernetes.io/hostname"
---
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: registry
namespace: registry
spec:
maxUnavailable: 1
selector:
matchLabels:
name: registry
readonly: "false"
---
apiVersion: v1
kind: Secret
metadata:
Expand Down

0 comments on commit cf2dde1

Please sign in to comment.