-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkubernetes.yaml.tpl
More file actions
37 lines (37 loc) · 892 Bytes
/
kubernetes.yaml.tpl
File metadata and controls
37 lines (37 loc) · 892 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
33
34
35
36
37
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: uploader
app.kubernetes.io/name: pumba-uploader
app.kubernetes.io/part-of: pumba
app.kubernetes.io/managed-by: argocd
name: pumba-uploader
namespace: pumba
spec:
selector:
matchLabels:
app.kubernetes.io/name: pumba-uploader
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app.kubernetes.io/name: pumba-uploader
spec:
containers:
- image: gcr.io/GOOGLE_CLOUD_PROJECT/pumba-uploader:COMMIT_SHA
name: pumba-uploader
ports:
- containerPort: 5000
protocol: TCP
resources:
requests:
memory: "50Mi"
cpu: "50m"
limits:
memory: "250Mi"
cpu: "250m"