-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdeployment.yaml
More file actions
56 lines (56 loc) · 1.2 KB
/
deployment.yaml
File metadata and controls
56 lines (56 loc) · 1.2 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: artifactory-proxy
name: artifactory-proxy
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: artifactory-proxy
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
app: artifactory-proxy
spec:
containers:
- env:
- name: CODEARTIFACT_DOMAIN
value: ""
- name: CODEARTIFACT_REPO
value: ""
- name: CODEARTIFACT_OWNER
value: ""
- name: CODEARTIFACT_TYPE
value: ""
- name: AWS_REGION
value: ""
image: image
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /metrics
port: 8080
initialDelaySeconds: 5
name: artifactory-proxy
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: /metrics
port: 8080
resources:
limits:
memory: 20Mi
requests:
cpu: 5m
memory: 10Mi
terminationGracePeriodSeconds: 30