-
Notifications
You must be signed in to change notification settings - Fork 4
/
kube-discovery-deployment.yaml
58 lines (58 loc) · 1.46 KB
/
kube-discovery-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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
component: kube-discovery
k8s-app: kube-discovery
kubernetes.io/cluster-service: "true"
name: kube-discovery
tier: node
name: kube-discovery
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
component: kube-discovery
k8s-app: kube-discovery
kubernetes.io/cluster-service: "true"
name: kube-discovery
tier: node
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
annotations:
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated","value":"master","effect":"NoSchedule"}]'
creationTimestamp: null
labels:
component: kube-discovery
k8s-app: kube-discovery
kubernetes.io/cluster-service: "true"
name: kube-discovery
tier: node
spec:
hostNetwork: true
containers:
- name: kube-discovery
image: gcr.io/google_containers/kube-discovery-amd64:1.0
imagePullPolicy: IfNotPresent
command:
- /usr/local/bin/kube-discovery
ports:
- containerPort: 9898
hostPort: 9898
name: http
protocol: TCP
volumeMounts:
- mountPath: /tmp/secret
name: clusterinfo
readOnly: true
volumes:
- name: clusterinfo
secret:
defaultMode: 420
secretName: clusterinfo