mirror of https://github.com/k3s-io/k3s
39 lines
897 B
Plaintext
39 lines
897 B
Plaintext
{
|
|
"apiVersion": "v1beta3",
|
|
"kind": "Pod",
|
|
"metadata": {"name":"kube-scheduler"},
|
|
"spec":{
|
|
"hostNetwork": true,
|
|
"containers":[
|
|
{
|
|
"name": "kube-scheduler",
|
|
"image": "gcr.io/google_containers/kube-scheduler:34d0b8f8b31e27937327961528739bc9",
|
|
"command": [
|
|
"/bin/sh",
|
|
"-c",
|
|
"/usr/local/bin/kube-scheduler --master=127.0.0.1:8080 --v=2 1>>/var/log/kube-scheduler.log 2>&1"
|
|
],
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/healthz",
|
|
"port": 10251
|
|
},
|
|
"initialDelaySeconds": 15,
|
|
"timeoutSeconds": 1
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "logfile",
|
|
"mountPath": "/var/log/kube-scheduler.log",
|
|
"readOnly": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes":[
|
|
{ "name": "logfile",
|
|
"hostPath": {
|
|
"path": "/var/log/kube-scheduler.log"}
|
|
}
|
|
]
|
|
}} |