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 #2457

Merged
merged 18 commits into from
Feb 13, 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-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ service:
nodePort: 30106
resources:
limits:
cpu: 50m
cpu: 100m
memory: 100Mi
requests:
cpu: 5m
Expand All @@ -28,25 +28,19 @@ autoscaling:
minReplicas: 1
maxReplicas: 3
targetMemoryUtilizationPercentage: 70
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-calibrate-app
label: airqo-calibrate-app
Expand Down
18 changes: 9 additions & 9 deletions k8s/docs/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ingress:
enabled: false
resources:
limits:
cpu: 50m
cpu: 200m
memory: 100Mi
requests:
cpu: 10m
Expand All @@ -28,19 +28,19 @@ autoscaling:
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 70
nodeSelector: {}
nodeSelector:
role: control-plane
tolerations: []
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
operator: In
values:
- general-purpose
app:
- key: role
operator: In
values:
- control-plane
weight: 1
name: airqo-prod-docs
label: airqo-prod-docs
namespace: production
28 changes: 11 additions & 17 deletions k8s/inventory/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ service:
port: 8000
ingress:
enabled: false
nodeSelector: {}
nodeSelector:
role: control-plane
torelations: {}
resources:
requests:
cpu: 5m
memory: 60Mi
cpu: 10m
memory: 20Mi
limits:
cpu: 100m
cpu: 50m
memory: 150Mi
autoscaling:
minReplicas: 1
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-inventory
label: airqo-inventory
Expand Down
20 changes: 7 additions & 13 deletions k8s/netmanager/values-prod.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 @@ -24,25 +25,18 @@ resources:
memory: 150Mi
autoscaling:
minReplicas: 1
maxReplicas: 4
maxReplicas: 3
targetMemoryUtilizationPercentage: 70
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
- 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-platform-frontend
label: airqo-platform
Expand Down
26 changes: 10 additions & 16 deletions k8s/platform/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: eu.gcr.io/airqo-250220/airqo-next-platform
pullPolicy: Always
tag: prod-87212ef4-1737696175
tag: prod-16e65200-1739133930
imagePullSecrets: []
nameOverride: ''
fullnameOverride: ''
Expand All @@ -20,33 +20,27 @@ ingress:
resources:
limits:
cpu: 200m
memory: 700Mi
memory: 350Mi
requests:
cpu: 100m
memory: 250Mi
cpu: 20m
memory: 150Mi
autoscaling:
minReplicas: 1
maxReplicas: 4
targetCPUUtilizationPercentage: 70
nodeSelector: {}
nodeSelector:
role: control-plane
tolerations: []
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
- preference:
matchExpressions:
- key: node-type
- 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-next-platform
label: airqo-next-platform
Expand Down
2 changes: 1 addition & 1 deletion k8s/platform/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: eu.gcr.io/airqo-250220/airqo-stage-next-platform
pullPolicy: Always
tag: stage-68854d0b-1737695785
tag: stage-9a7f69be-1739133857
imagePullSecrets: []
nameOverride: ''
fullnameOverride: ''
Expand Down
34 changes: 14 additions & 20 deletions k8s/reports/values-prod.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: 60Mi
limits:
cpu: 100m
cpu: 10m
memory: 150Mi
limits:
cpu: 50m
memory: 200Mi
autoscaling:
minReplicas: 1
maxReplicas: 4
targetMemoryUtilizationPercentage: 70
maxReplicas: 3
targetMemoryUtilizationPercentage: 80
nodeSelector:
role: control-plane
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 10
preference:
matchExpressions:
- key: node-type
operator: In
values:
- general-purpose
- weight: 1
preference:
- preference:
matchExpressions:
- key: node-type
operator: In
values:
- high-memory
- key: role
operator: In
values:
- control-plane
weight: 1
app:
name: airqo-reports
label: airqo-reports
Expand Down
2 changes: 1 addition & 1 deletion netmanager-app/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NEXT_PUBLIC_API_TOKEN=
NEXT_PUBLIC_API_URL=
NEXT_PUBLIC_API_URL=https://staging-analytics.airqo.net/api/v2/
NEXT_PUBLIC_ENV=development
Loading