-
Notifications
You must be signed in to change notification settings - Fork 1
/
eureka-mannage-deployment.yaml
64 lines (63 loc) · 1.94 KB
/
eureka-mannage-deployment.yaml
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
62
63
64
# ------------------- Dashboard Deployment ------------------- #
kind: Deployment
apiVersion: apps/v1
metadata:
labels:
k8s-app: eureka-manage
name: eureka-manage
namespace: default
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
k8s-app: eureka-manage
template:
metadata:
labels:
k8s-app: eureka-manage
spec:
containers:
- env:
- name: SPRING_PROFILE
value: dev
- name: SPRING_LABEL
value: k8s
- name: lzx_CONFIG_URL
value: http://service-config:30005
image: '172.26.206.220/library/eureka-manage-ui:1.0.0_201907011_001'
imagePullPolicy: Always
name: eureka-manage
ports:
- containerPort: 3001
protocol: TCP
# args:
# - --auto-generate-certificates
# Uncomment the following line to manually specify Kubernetes API server Host
# If not specified, Dashboard will attempt to auto discover the API server and connect
# to it. Uncomment only if the default does not work.
# - --apiserver-host=http://my-address:port
# volumeMounts:
# - name: kubernetes-dashboard-certs
# mountPath: /certs
# # Create on-disk volume to store exec logs
# - mountPath: /tmp
# name: tmp-volume
# livenessProbe:
# httpGet:
# scheme: HTTPS
# path: /
# port: 8443
# initialDelaySeconds: 30
# timeoutSeconds: 30
# volumes:
# - name: kubernetes-dashboard-certs
# secret:
# secretName: kubernetes-dashboard-certs
# - name: tmp-volume
# emptyDir: {}
# serviceAccountName: kubernetes-dashboard
# # Comment the following tolerations if Dashboard must not be deployed on master
# tolerations:
# - key: node-role.kubernetes.io/master
# effect: NoSchedule