fix: tweak dapr annotations and limits

This commit is contained in:
Jonas Juselius
2024-05-30 10:33:50 +02:00
parent b4499db3ea
commit 7220cad121
12 changed files with 72 additions and 58 deletions
@@ -1,3 +1,21 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "archmeister"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/enable-app-health-check: "true"
dapr.io/app-health-check-path: "/healthz"
dapr.io/app-health-probe-interval: "3"
dapr.io/app-health-probe-timeout: "200"
dapr.io/app-health-threshold: "2"
dapr.io/sidecar-cpu-request: "100m"
dapr.io/sidecar-memory-request: "250Mi"
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
value: /healthz
@@ -1,10 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "archmeister"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: add
path: /spec/template/spec/containers/0/env/-
value:
@@ -1,10 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "archmeister"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
@@ -1,3 +1,21 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "atlantis"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/enable-app-health-check: "true"
dapr.io/app-health-check-path: "/healthz"
dapr.io/app-health-probe-interval: "3"
dapr.io/app-health-probe-timeout: "200"
dapr.io/app-health-threshold: "2"
dapr.io/sidecar-cpu-request: "100m"
dapr.io/sidecar-memory-request: "250Mi"
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
value: /healthz
@@ -1,10 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "atlantis"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
@@ -1,10 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "atlantis"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
+18
View File
@@ -1,3 +1,21 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "hipster"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/enable-app-health-check: "true"
dapr.io/app-health-check-path: "/healthz"
dapr.io/app-health-probe-interval: "3"
dapr.io/app-health-probe-timeout: "200"
dapr.io/app-health-threshold: "2"
dapr.io/sidecar-cpu-request: "100m"
dapr.io/sidecar-memory-request: "250Mi"
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
value: /healthz
@@ -1,11 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "hipster"
dapr.io/app-id: "hipster"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: add
path: /spec/template/spec/containers/0/env
value: []
@@ -1,11 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "hipster"
dapr.io/app-id: "hipster"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: add
path: /spec/template/spec/containers/0/env
value: []
@@ -1,3 +1,21 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "petimeter"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/enable-app-health-check: "true"
dapr.io/app-health-check-path: "/healthz"
dapr.io/app-health-probe-interval: "3"
dapr.io/app-health-probe-timeout: "200"
dapr.io/app-health-threshold: "2"
dapr.io/sidecar-cpu-request: "100m"
dapr.io/sidecar-memory-request: "250Mi"
dapr.io/sidecar-cpu-limit: "300m"
dapr.io/sidecar-memory-limit: "1000Mi"
dapr.io/log-as-json: "true"
- op: replace
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
value: /healthz
@@ -1,10 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "petimeter"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
@@ -1,10 +1,3 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "petimeter"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value: