Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dedicated nodepool #1465

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
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
12 changes: 0 additions & 12 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,10 @@ hasura:
name: hasura

export:
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule
env:
- name: "BRANCH_NAME_SLUG"
value: "{{.Values.global.branchSlug32}}"

www:
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule

pg:
~chart: pg
# force this PG cluster to be destroyed/recreated on redeploys
Expand Down
12 changes: 0 additions & 12 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,11 @@ hasura:
name: hasura

www:
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule
host: cdtn-admin-preprod.ovh.fabrique.social.gouv.fr
env:
- name: NEXTAUTH_URL
value: https://cdtn-admin-preprod.ovh.fabrique.social.gouv.fr

export:
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule

pg:
~chart: pg
# force this PG cluster to be destroyed/recreated on redeploys
Expand Down
10 changes: 0 additions & 10 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ www:
requests:
cpu: "100m"
memory: "386Mi"
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule

export:
replicas: 1
Expand All @@ -37,11 +32,6 @@ export:
requests:
cpu: "1500m"
memory: "2Gi"
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule

hasura:
autoscale:
Expand Down
28 changes: 28 additions & 0 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,20 @@ www:
fsGroup: 1000
runAsUser: 1000
runAsGroup: 1000
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: nodepool
operator: In
values:
- cdtn-worker-nodepool

export:
~chart: app
Expand All @@ -86,6 +100,20 @@ export:
oblik.socialgouv.io/min-request-memory: "2Gi"
oblik.socialgouv.io/min-limit-cpu: "2000m"
oblik.socialgouv.io/min-limit-memory: "4Gi"
tolerations:
- key: startup
operator: Equal
value: cdtn
effect: NoSchedule
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: nodepool
operator: In
values:
- cdtn-worker-nodepool

hasura:
~chart: hasura
Expand Down
Loading