-
Notifications
You must be signed in to change notification settings - Fork 0
/
myscheduler.yaml
43 lines (40 loc) · 989 Bytes
/
myscheduler.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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
component: scheduler
tier: control-plane
name: myscheduler
namespace: kube-system
spec:
replicas: 1
template:
metadata:
labels:
component: scheduler
tier: control-plane
version: second
spec:
containers:
- name: kubesecondcontainer
command: [/usr/local/bin/kube-scheduler, --address=0.0.0.0,
--scheduler-name=myscheduler, --leader-elect=false]
image: linuxacademycontent/content-kube-scheduler
livenessProbe:
httpGet:
path: /healthz
port: 10251
initialDelaySeconds: 15
readinessProbe:
httpGet:
path: /healthz
port: 10251
resources:
requests:
cpu: '0.1'
securityContext:
privileged: false
volumeMounts: []
hostNetwork: false
hostPID: false
volumes: []