Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions cmd/k8s-operator/deploy/manifests/nameserver/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ kind: Deployment
metadata:
name: nameserver
spec:
replicas: 1
replicas: 2
revisionHistoryLimit: 5
selector:
matchLabels:
app: nameserver
strategy:
type: Recreate
type: RollingUpdate
template:
metadata:
labels:
Expand All @@ -33,6 +33,13 @@ spec:
volumeMounts:
- name: dnsrecords
mountPath: /config
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
app: nameserver
restartPolicy: Always
serviceAccount: nameserver
serviceAccountName: nameserver
Expand Down
Loading