Skip to content

Commit

Permalink
change controller topology spread to DoNotSchedule (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrmr33 authored Sep 28, 2023
1 parent 1aae22d commit 95ee2e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/ocean-kubernetes-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: ocean-kubernetes-controller
description: A Helm chart for Ocean Controller
type: application
version: 0.1.2
version: 0.1.3
appVersion: 2.0.18
kubeVersion: ">=1.20.0-0"
maintainers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
{{- include "ocean-kubernetes-controller.selectorLabels" . | nindent 12 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/ocean-kubernetes-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spotinst:
enableCsrApproval: false

# -- Configure the amount of replicas for the controller (Optional)
replicas: 3
replicas: 2

image:
repository: us-docker.pkg.dev/spotit-today/container-labs/spotinst-kubernetes-controller
Expand Down

0 comments on commit 95ee2e7

Please sign in to comment.