ci(global): go through and make sure all related files are working and good to go
This commit is contained in:
@@ -15,7 +15,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: optima-api
|
||||
image: ghcr.io/project-optima/ttscm-api:latest
|
||||
image: ghcr.io/horizonstacksoftware/optima-api:latest
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
@@ -24,5 +24,26 @@ spec:
|
||||
name: optima-keys-secret
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "1000m"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 3000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 3000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
failureThreshold: 2
|
||||
imagePullSecrets:
|
||||
- name: github-container-registry
|
||||
|
||||
@@ -33,7 +33,11 @@ metadata:
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 3000
|
||||
- name: http
|
||||
port: 3000
|
||||
protocol: TCP
|
||||
- name: worker-comms
|
||||
port: 8671
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: optima-api
|
||||
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: migrate
|
||||
image: ghcr.io/project-optima/ttscm-api-migrate:RELEASE_TAG
|
||||
image: ghcr.io/horizonstacksoftware/optima-api-migrate:RELEASE_TAG
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: api-env-secret
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: optima-worker
|
||||
namespace: optima
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: optima-worker
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: optima-worker
|
||||
spec:
|
||||
containers:
|
||||
- name: optima-worker
|
||||
image: ghcr.io/horizonstacksoftware/optima-worker:latest
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: MANAGER_SOCKET_URL
|
||||
value: "http://optima-api.optima.svc.cluster.local:8671"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: api-env-secret
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "1000m"
|
||||
imagePullSecrets:
|
||||
- name: github-container-registry
|
||||
Reference in New Issue
Block a user