Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
increase the number of replicas for the controller (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mojachieee authored Jun 9, 2022
1 parent 72ddad9 commit fe618b1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions config/bases/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ metadata:
name: controller-manager
namespace: system
labels:
control-plane: controller-manager
control-plane: etcd-controller-manager
spec:
selector:
matchLabels:
control-plane: controller-manager
replicas: 1
control-plane: etcd-controller-manager
replicas: 2
template:
metadata:
labels:
control-plane: controller-manager
control-plane: etcd-controller-manager
spec:
containers:
- command:
Expand All @@ -35,6 +35,14 @@ spec:
cpu: 100m
memory: 120Mi
terminationGracePeriodSeconds: 10
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
control-plane: etcd-controller-manager
topologyKey: kubernetes.io/hostname

---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit fe618b1

Please sign in to comment.