44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
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
|
|
command: ["goma","server"]
|
|
resources:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "200m"
|
|
ports:
|
|
- containerPort: 80
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health/live
|
|
port: 80
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 30
|
|
timeoutSeconds: 10
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health/live
|
|
port: 80
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 40
|
|
timeoutSeconds: 10
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config/
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: goma-config |