116 lines
3.1 KiB
YAML
116 lines
3.1 KiB
YAML
# TEMPORAL_NAMESPACE : {env}-atlantis
|
|
# ARCHIVE_PVC : the queue's archive PVC (prod+beta -> prod-queue, staging -> dev-queue)
|
|
# Status/inbox/quota now flow via Temporal activities to the Atlantis notify worker; no RabbitMQ.
|
|
# ---
|
|
# apiVersion: temporal.io/v1alpha1
|
|
# kind: WorkerDeployment
|
|
# metadata:
|
|
# name: proteus-prod
|
|
# namespace: proteus
|
|
# spec:
|
|
# replicas: 1
|
|
# workerOptions:
|
|
# temporalNamespace: prod-atlantis
|
|
# connectionRef:
|
|
# name: temporal
|
|
# rollout:
|
|
# strategy: AllAtOnce
|
|
# sunset: {}
|
|
# template:
|
|
# spec:
|
|
# securityContext:
|
|
# runAsUser: 0
|
|
# runAsGroup: 0
|
|
# containers:
|
|
# - name: proteus
|
|
# image: git.oceanbox.io/oceanbox/poseidon/proteus:CHANGEME
|
|
# resources:
|
|
# requests:
|
|
# memory: 256Mi
|
|
# limits:
|
|
# memory: 1Gi
|
|
# env:
|
|
# - name: TEMPORAL_TASK_QUEUES
|
|
# value: plume,xtract
|
|
# - name: TEMPORAL_NAMESPACE
|
|
# value: prod-atlantis
|
|
# - name: APP_ENV
|
|
# value: prod
|
|
# - name: ARCHIVE_PVC
|
|
# value: prod-queue-ceph-archives
|
|
# ---
|
|
# apiVersion: temporal.io/v1alpha1
|
|
# kind: WorkerDeployment
|
|
# metadata:
|
|
# name: proteus-beta
|
|
# namespace: proteus
|
|
# spec:
|
|
# replicas: 1
|
|
# workerOptions:
|
|
# temporalNamespace: beta-atlantis
|
|
# connectionRef:
|
|
# name: temporal
|
|
# rollout:
|
|
# strategy: AllAtOnce
|
|
# sunset: {}
|
|
# template:
|
|
# spec:
|
|
# securityContext:
|
|
# runAsUser: 0
|
|
# runAsGroup: 0
|
|
# containers:
|
|
# - name: proteus
|
|
# image: git.oceanbox.io/oceanbox/poseidon/proteus:CHANGEME
|
|
# resources:
|
|
# requests:
|
|
# memory: 256Mi
|
|
# limits:
|
|
# memory: 1Gi
|
|
# env:
|
|
# - name: TEMPORAL_TASK_QUEUES
|
|
# value: plume,xtract
|
|
# - name: TEMPORAL_NAMESPACE
|
|
# value: beta-atlantis
|
|
# - name: APP_ENV
|
|
# value: beta
|
|
# # beta schedules into prod-queue (same as prod), so the same archive PVC.
|
|
# - name: ARCHIVE_PVC
|
|
# value: prod-queue-ceph-archives
|
|
# ---
|
|
apiVersion: temporal.io/v1alpha1
|
|
kind: WorkerDeployment
|
|
metadata:
|
|
name: proteus-staging
|
|
namespace: proteus
|
|
spec:
|
|
replicas: 1
|
|
workerOptions:
|
|
temporalNamespace: staging-atlantis
|
|
connectionRef:
|
|
name: temporal
|
|
rollout:
|
|
strategy: AllAtOnce
|
|
sunset: {}
|
|
template:
|
|
spec:
|
|
securityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
containers:
|
|
- name: proteus
|
|
image: git.oceanbox.io/oceanbox/poseidon/proteus:v2.17.0
|
|
resources:
|
|
requests:
|
|
memory: 256Mi
|
|
limits:
|
|
memory: 1Gi
|
|
env:
|
|
- name: TEMPORAL_TASK_QUEUES
|
|
value: plume,xtract
|
|
- name: TEMPORAL_NAMESPACE
|
|
value: staging-atlantis
|
|
- name: APP_ENV
|
|
value: staging
|
|
- name: ARCHIVE_PVC
|
|
value: dev-queue-ceph-archives
|