cillium gateway config switch to linode node as gateway

This commit is contained in:
Sirius DevOps 2026-09-14 23:46:40 -04:00
commit c03c23bc4c
No known key found for this signature in database
16 changed files with 620 additions and 1 deletions

View file

@ -0,0 +1,52 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: siriusdevops-contact
namespace: siriusdevops
spec:
replicas: 1
selector:
matchLabels:
app: siriusdevops-contact
template:
metadata:
labels:
app: siriusdevops-contact
spec:
tolerations:
- key: dedicated
operator: Exists
effect: PreferNoSchedule
nodeSelector:
kubernetes.io/hostname: linode
containers:
- name: contact-api
image: siriusdevops-contact:dev
imagePullPolicy: Never
command: ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8090"]
ports:
- containerPort: 8090
name: http
env:
- name: TG_TOKEN
valueFrom:
secretKeyRef:
name: siriusdevops-contact
key: TG_TOKEN
- name: TG_CHAT
valueFrom:
secretKeyRef:
name: siriusdevops-contact
key: TG_CHAT
readinessProbe:
httpGet:
path: /health
port: 8090
initialDelaySeconds: 5
periodSeconds: 10
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
memory: 256Mi