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

move to production #2389

Merged
merged 7 commits into from
Jan 22, 2025
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
24 changes: 9 additions & 15 deletions k8s/calibrate/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,27 @@ service:
resources:
limits:
cpu: 50m
memory: 80Mi
memory: 100Mi
requests:
cpu: 5m
memory: 20Mi
autoscaling:
minReplicas: 1
maxReplicas: 2
targetMemoryUtilizationPercentage: 80
nodeSelector: {}
nodeSelector:
role: control-plane
tolerations: []
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
operator: In
values:
- general-purpose
- weight: 1
preference:
matchExpressions:
- key: node-type
operator: In
values:
- high-memory
- key: role
operator: In
values:
- control-plane
weight: 1
app:
name: airqo-stage-calibrate-app
label: sta-calibrate-app
Expand Down
17 changes: 9 additions & 8 deletions k8s/docs/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,25 @@ resources:
cpu: 50m
memory: 100Mi
requests:
cpu: 10m
cpu: 1m
memory: 20Mi
autoscaling:
minReplicas: 1
maxReplicas: 2
targetCPUUtilizationPercentage: 80
nodeSelector: {}
nodeSelector:
role: control-plane
tolerations: []
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
operator: In
values:
- general-purpose
- key: role
operator: In
values:
- control-plane
weight: 1
app:
name: airqo-stage-docs
label: sta-docs
Expand Down
26 changes: 10 additions & 16 deletions k8s/inventory/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,30 @@ service:
port: 8000
ingress:
enabled: false
nodeSelector: {}
nodeSelector:
role: control-plane
torelations: {}
resources:
requests:
cpu: 5m
cpu: 10m
memory: 20Mi
limits:
cpu: 50m
memory: 80Mi
memory: 150Mi
autoscaling:
minReplicas: 1
maxReplicas: 2
targetMemoryUtilizationPercentage: 80
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
operator: In
values:
- general-purpose
- weight: 1
preference:
matchExpressions:
- key: node-type
operator: In
values:
- high-memory
- key: role
operator: In
values:
- control-plane
weight: 1
app:
name: airqo-stage-inventory
label: airqo-inventory
Expand Down
22 changes: 8 additions & 14 deletions k8s/netmanager/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ service:
port: 80
ingress:
enabled: false
nodeSelector: {}
nodeSelector:
role: control-plane
torelations: {}
resources:
requests:
Expand All @@ -29,20 +30,13 @@ autoscaling:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
operator: In
values:
- general-purpose
- weight: 1
preference:
matchExpressions:
- key: node-type
operator: In
values:
- high-memory
- key: role
operator: In
values:
- control-plane
weight: 1
app:
name: airqo-stage-platform-frontend
label: airqo-platform
Expand Down
27 changes: 11 additions & 16 deletions k8s/platform/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,28 @@ ingress:
resources:
limits:
cpu: 200m
memory: 700Mi
memory: 350Mi
requests:
cpu: 100m
memory: 250Mi
cpu: 20m
memory: 150Mi

autoscaling:
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 80
nodeSelector: {}
nodeSelector:
role: control-plane
tolerations: []
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
matchExpressions:
- key: node-type
- preference:
matchExpressions:
- key: role
operator: In
values:
- general-purpose
- weight: 1
preference:
matchExpressions:
- key: node-type
operator: In
values:
- high-memory
- control-plane
weight: 1
app:
name: airqo-stage-next-platform
label: sta-next-platform
Expand Down
28 changes: 11 additions & 17 deletions k8s/reports/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,30 @@ service:
port: 3000
ingress:
enabled: false
nodeSelector: {}
torelations: {}
resources:
requests:
cpu: 5m
memory: 20Mi
cpu: 10m
memory: 150Mi
limits:
cpu: 50m
memory: 80Mi
memory: 200Mi
autoscaling:
minReplicas: 1
maxReplicas: 3
targetMemoryUtilizationPercentage: 80
nodeSelector:
role: control-plane
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
operator: In
values:
- general-purpose
- weight: 1
preference:
matchExpressions:
- key: node-type
operator: In
values:
- high-memory
- key: role
operator: In
values:
- control-plane
weight: 1
app:
name: airqo-stage-reports
label: airqo-reports
Expand Down
Loading