-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeployment.yml
61 lines (61 loc) · 1.48 KB
/
deployment.yml
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
57
58
59
60
61
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: null
generation: 1
labels:
run: gateway
name: gateway
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/gateway
spec:
replicas: 1
selector:
matchLabels:
run: gateway
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: gateway
spec:
containers:
- env:
- name: EXTERNAL_IPS
value: 35.193.46.59,35.224.65.55,35.194.59.102
- name: SK_USERID
value: testid
- name: SK_API
value: 35.188.15.7:8080
- name: K8S_CLUSTERID
value: newcluster
- name: K8S_USERNAME
value: admin
- name: K8S_PASSWORD
value: admin2
image: superkomputer/gateway
imagePullPolicy: Always
name: gateway
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- name: k8s-config
mountPath: /root/.kube/config
volumes:
- name: k8s-config
hostPath:
path: /root/.kube/config
type: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status: {}