Skip to content

Commit 7821e9f

Browse files
committed
Enhanced Moisture Charts
1 parent cd6e66c commit 7821e9f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ USER opensensor-api
3838
ENV TZ=UTC
3939

4040
# Start opensensor API
41-
CMD ["/usr/src/.venv/bin/uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8010", "--workers", "4", "--timeout-keep-alive", "30", "--log-level", "info"]
41+
CMD ["/usr/src/.venv/bin/uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8010", "--timeout-keep-alive", "30", "--log-level", "info"]

k8s/opensensor-api-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
labels:
77
app: opensensor-api
88
spec:
9-
replicas: 4
9+
replicas: 2
1010
selector:
1111
matchLabels:
1212
app: opensensor-api
@@ -44,7 +44,7 @@ spec:
4444
memory: "128Mi"
4545
cpu: "50m"
4646
limits:
47-
memory: "512Mi"
47+
memory: "1024Mi"
4848
cpu: "150m"
4949
topologySpreadConstraints:
5050
- maxSkew: 2

0 commit comments

Comments
 (0)