ceph-csi/vendor/k8s.io/kubernetes/cluster/gce/manifests/kube-scheduler.manifest

66 lines
1.5 KiB
Plaintext
Raw Normal View History

2018-01-09 18:57:14 +00:00
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name":"kube-scheduler",
"namespace": "kube-system",
"annotations": {
2018-07-18 14:47:22 +00:00
"scheduler.alpha.kubernetes.io/critical-pod": "",
"seccomp.security.alpha.kubernetes.io/pod": "docker/default"
2018-01-09 18:57:14 +00:00
},
"labels": {
"tier": "control-plane",
"component": "kube-scheduler"
}
},
"spec":{
"hostNetwork": true,
"containers":[
{
"name": "kube-scheduler",
"image": "{{pillar['kube_docker_registry']}}/kube-scheduler:{{pillar['kube-scheduler_docker_tag']}}",
"resources": {
"requests": {
2018-11-26 18:23:56 +00:00
"cpu": "{{cpurequest}}"
2018-01-09 18:57:14 +00:00
}
},
"command": [
"/bin/sh",
"-c",
2018-03-06 22:33:18 +00:00
"exec /usr/local/bin/kube-scheduler {{params}} 1>>/var/log/kube-scheduler.log 2>&1"
2018-01-09 18:57:14 +00:00
],
"livenessProbe": {
"httpGet": {
"host": "127.0.0.1",
"port": 10251,
"path": "/healthz"
},
"initialDelaySeconds": 15,
"timeoutSeconds": 15
},
"volumeMounts": [
{
"name": "logfile",
"mountPath": "/var/log/kube-scheduler.log",
"readOnly": false
},
{
"name": "srvkube",
2018-11-26 18:23:56 +00:00
"mountPath": "/etc/srv/kubernetes",
2018-01-09 18:57:14 +00:00
"readOnly": true
}
]
}
],
"volumes":[
{
"name": "srvkube",
2018-11-26 18:23:56 +00:00
"hostPath": {"path": "/etc/srv/kubernetes"}
2018-01-09 18:57:14 +00:00
},
{
"name": "logfile",
"hostPath": {"path": "/var/log/kube-scheduler.log", "type": "FileOrCreate"}
}
]
}}