Add depot, attendant, jetfire, optimus, ota services with kustomize overlays

This commit is contained in:
Chris Rai
2026-01-31 15:35:07 -05:00
parent a0ec642ca1
commit 9a5cb2f547
404 changed files with 38817 additions and 16 deletions

View File

@@ -0,0 +1,67 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ota
namespace: cloud-services
labels:
app: ota
annotations:
reloader.stakater.com/auto: "true"
spec:
replicas: 1
selector:
matchLabels:
app: ota
template:
metadata:
labels:
app: ota
spec:
containers:
- name: ota
image: localhost:32000/ota_update_go:v1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8077
name: http
- containerPort: 11011
name: health
env:
- name: SERVICE_BASE_URL
value: /ota_update
envFrom:
- configMapRef:
name: cloud-common-config
- secretRef:
name: cloud-db-credentials
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 512Mi
livenessProbe:
httpGet:
path: /liveness
port: 11011
initialDelaySeconds: 10
periodSeconds: 30
readinessProbe:
httpGet:
path: /readiness
port: 11011
initialDelaySeconds: 5
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: ota
namespace: cloud-services
spec:
selector:
app: ota
ports:
- port: 8077
targetPort: 8077
name: http