-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkubernetes.yaml.tpl
More file actions
32 lines (32 loc) · 888 Bytes
/
kubernetes.yaml.tpl
File metadata and controls
32 lines (32 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: api-gateway
app.kubernetes.io/name: pumba-api-gateway
app.kubernetes.io/part-of: pumba
app.kubernetes.io/managed-by: argocd
name: pumba-api-gateway
spec:
selector:
matchLabels:
app.kubernetes.io/name: pumba-api-gateway
template:
metadata:
labels:
app.kubernetes.io/name: pumba-api-gateway
spec:
containers:
- name: pumba-api-gateway
image: gcr.io/GOOGLE_CLOUD_PROJECT/pumba-api-gateway:COMMIT_SHA
ports:
- containerPort: 8080
command: [ "/usr/bin/krakend" ]
args: [ "run", "-d", "-c", "/etc/krakend/krakend.json", "-p", "8080" ]
resources:
requests:
memory: "50Mi"
cpu: "50m"
limits:
memory: "250Mi"
cpu: "250m"