...
1apiVersion: apps/v1
2kind: Deployment
3metadata:
4 name: auth-proxy
5 labels:
6 app: auth-proxy
7 deployment-type: application
8 platform.edge.ncr.com/component: auth-proxy
9 release: auth-proxy
10spec:
11 replicas: 1
12 selector:
13 matchLabels:
14 app: auth-proxy
15 pod-type: application
16 release: auth-proxy
17 template:
18 metadata:
19 name: auth-proxy
20 labels:
21 app: auth-proxy
22 pod-type: application
23 release: auth-proxy
24 spec:
25 restartPolicy: Always
26 dnsPolicy: ClusterFirst
27 serviceAccountName: auth-proxy-sa
28 containers:
29 - name: auth-proxy
30 image: bzl://cmd/edge/auth-proxy:container_push
31 ports:
32 - name: http
33 protocol: TCP
34 containerPort: 8080
35 - name: server
36 containerPort: 9003
37 envFrom:
38 - configMapRef:
39 name: auth-proxy
40 - secretRef:
41 name: auth
42 - secretRef:
43 name: session
44 resources:
45 limits:
46 cpu: "1"
47 memory: 1Gi
48 requests:
49 cpu: 150m
50 memory: 250Mi
51 imagePullPolicy: IfNotPresent
52 strategy:
53 type: RollingUpdate
54 rollingUpdate:
55 maxSurge: 25%
56 maxUnavailable: 25%
View as plain text