fix: update dapr configs with env name
This commit is contained in:
@@ -1,21 +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"
|
|
||||||
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
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
||||||
value: /healthz
|
value: /healthz
|
||||||
|
|||||||
@@ -1,3 +1,20 @@
|
|||||||
|
podAnnotations:
|
||||||
|
dapr.io/app-id: "prod-archmeister"
|
||||||
|
dapr.io/enabled: "true"
|
||||||
|
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"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
|||||||
@@ -1,3 +1,20 @@
|
|||||||
|
podAnnotations:
|
||||||
|
dapr.io/app-id: "staging-archmeister"
|
||||||
|
dapr.io/enabled: "true"
|
||||||
|
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"
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: f8c27a74-debug
|
tag: f8c27a74-debug
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
@@ -1,21 +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"
|
|
||||||
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
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
||||||
value: /healthz
|
value: /healthz
|
||||||
|
|||||||
@@ -18,3 +18,4 @@ patches:
|
|||||||
path: deployment_patch.yaml
|
path: deployment_patch.yaml
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
- subscriptions.yaml
|
||||||
|
|||||||
+6
-2
@@ -6,8 +6,10 @@ spec:
|
|||||||
topic: hipster
|
topic: hipster
|
||||||
route: /hipster-events
|
route: /hipster-events
|
||||||
pubsubname: pubsub
|
pubsubname: pubsub
|
||||||
|
metadata:
|
||||||
|
queueType: quorum
|
||||||
scopes:
|
scopes:
|
||||||
- atlantis
|
- prod-atlantis
|
||||||
---
|
---
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
kind: Subscription
|
kind: Subscription
|
||||||
@@ -17,5 +19,7 @@ spec:
|
|||||||
topic: inbox
|
topic: inbox
|
||||||
route: /inbox-events
|
route: /inbox-events
|
||||||
pubsubname: pubsub
|
pubsubname: pubsub
|
||||||
|
metadata:
|
||||||
|
queueType: quorum
|
||||||
scopes:
|
scopes:
|
||||||
- atlantis
|
- prod-atlantis
|
||||||
@@ -18,3 +18,4 @@ patches:
|
|||||||
path: deployment_patch.yaml
|
path: deployment_patch.yaml
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
- subscriptions.yaml
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Subscription
|
||||||
|
metadata:
|
||||||
|
name: hipster-events
|
||||||
|
spec:
|
||||||
|
topic: hipster
|
||||||
|
route: /hipster-events
|
||||||
|
pubsubname: pubsub
|
||||||
|
metadata:
|
||||||
|
queueType: quorum
|
||||||
|
scopes:
|
||||||
|
- staging-atlantis
|
||||||
|
---
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Subscription
|
||||||
|
metadata:
|
||||||
|
name: inbox-events
|
||||||
|
spec:
|
||||||
|
topic: inbox
|
||||||
|
route: /inbox-events
|
||||||
|
pubsubname: pubsub
|
||||||
|
metadata:
|
||||||
|
queueType: quorum
|
||||||
|
scopes:
|
||||||
|
- staging-atlantis
|
||||||
@@ -1,3 +1,20 @@
|
|||||||
|
podAnnotations:
|
||||||
|
dapr.io/app-id: "prod-atlantis"
|
||||||
|
dapr.io/enabled: "true"
|
||||||
|
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"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
|||||||
@@ -1,3 +1,20 @@
|
|||||||
|
podAnnotations:
|
||||||
|
dapr.io/app-id: "staging-atlantis"
|
||||||
|
dapr.io/enabled: "true"
|
||||||
|
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"
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: c0c8de05-debug
|
tag: c0c8de05-debug
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ spec:
|
|||||||
name: prod-rabbitmq
|
name: prod-rabbitmq
|
||||||
key: connString
|
key: connString
|
||||||
- name: queueName
|
- name: queueName
|
||||||
value: hipster-slurm-job-events
|
value: prod-hipster-slurm-job-events
|
||||||
- name: durable
|
- name: durable
|
||||||
value: true
|
value: true
|
||||||
- name: contentType
|
- name: contentType
|
||||||
value: "application/json"
|
value: "application/json"
|
||||||
scopes:
|
scopes:
|
||||||
- hipster
|
- prod-hipster
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ spec:
|
|||||||
name: staging-rabbitmq
|
name: staging-rabbitmq
|
||||||
key: connString
|
key: connString
|
||||||
- name: queueName
|
- name: queueName
|
||||||
value: hipster-slurm-job-events
|
value: staging-hipster-slurm-job-events
|
||||||
- name: durable
|
- name: durable
|
||||||
value: true
|
value: true
|
||||||
- name: contentType
|
- name: contentType
|
||||||
value: "application/json"
|
value: "application/json"
|
||||||
scopes:
|
scopes:
|
||||||
- hipster
|
- staging-hipster
|
||||||
|
|||||||
@@ -1,21 +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"
|
|
||||||
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
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
||||||
value: /healthz
|
value: /healthz
|
||||||
|
|||||||
@@ -1,3 +1,20 @@
|
|||||||
|
podAnnotations:
|
||||||
|
dapr.io/app-id: "prod-petimeter"
|
||||||
|
dapr.io/enabled: "true"
|
||||||
|
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"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
|||||||
@@ -1,3 +1,20 @@
|
|||||||
|
podAnnotations:
|
||||||
|
dapr.io/app-id: "staging-petimeter"
|
||||||
|
dapr.io/enabled: "true"
|
||||||
|
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"
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: 3d8fcb2a-debug
|
tag: 3d8fcb2a-debug
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
Reference in New Issue
Block a user