Update 6 files
- /krakend/Chart.yaml - /krakend/templates/service.yaml - /krakend/templates/ingress.yaml - /krakend/templates/secrets.yaml - /krakend/templates/deployments.yaml - /argocd/templates/krakend.yaml
This commit is contained in:
39
krakend/templates/deployments.yaml
Normal file
39
krakend/templates/deployments.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: krakend
|
||||
name: krakend
|
||||
labels:
|
||||
app: krakend
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: krakend
|
||||
replicas: 3
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: krakend
|
||||
spec:
|
||||
volumes:
|
||||
- name: krakend-secret
|
||||
secret:
|
||||
secretName: config.json
|
||||
containers:
|
||||
- name: krakend
|
||||
image: registry.durp.info/devopsfaith/krakend:2.4.3-watch
|
||||
imagePullPolicy: Always
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /__health
|
||||
port: 8080
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /__health
|
||||
port: 8080
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: krakend-secret
|
||||
mountPath: /etc/krakend/
|
||||
Reference in New Issue
Block a user