Files
goma-gateway/examples/kubernetes.yaml

43 lines
1.0 KiB
YAML
Raw Normal View History

## Example of a simple deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: goma-gateway
spec:
selector:
matchLabels:
app: goma-gateway
template:
metadata:
labels:
app: goma-gateway
spec:
containers:
- name: goma-gateway
image: jkaninda/goma-gateway
2024-11-25 17:40:03 +01:00
command: ["/usr/local/bin/goma","server"]
resources:
limits:
memory: "128Mi"
cpu: "200m"
ports:
- containerPort: 8080
livenessProbe:
httpGet:
2024-11-25 17:40:03 +01:00
path: /healthz
port: 8080
initialDelaySeconds: 15
periodSeconds: 30
readinessProbe:
httpGet:
2024-11-25 17:40:03 +01:00
path: /readyz
port: 8080
2024-12-01 19:31:33 +01:00
initialDelaySeconds: 15
periodSeconds: 15
volumeMounts:
- name: config
mountPath: /etc/goma/
volumes:
- name: config
configMap:
name: goma-config