Move to Tasks: Multiple chedulers. (#3694)
parent
8481c02496
commit
c0eb5e17ad
|
@ -115,6 +115,7 @@ toc:
|
||||||
- docs/tasks/administer-cluster/share-configuration.md
|
- docs/tasks/administer-cluster/share-configuration.md
|
||||||
- docs/tasks/administer-cluster/running-cloud-controller.md
|
- docs/tasks/administer-cluster/running-cloud-controller.md
|
||||||
- docs/tasks/administer-cluster/highly-available-master.md
|
- docs/tasks/administer-cluster/highly-available-master.md
|
||||||
|
- docs/tasks/administer-cluster/configure-multiple-schedulers.md
|
||||||
- title: Changing Cluster Size
|
- title: Changing Cluster Size
|
||||||
path: https://github.com/kubernetes/kubernetes/wiki/User-FAQ#how-do-i-change-the-size-of-my-cluster/
|
path: https://github.com/kubernetes/kubernetes/wiki/User-FAQ#how-do-i-change-the-size-of-my-cluster/
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,6 @@ toc:
|
||||||
- title: Clusters
|
- title: Clusters
|
||||||
section:
|
section:
|
||||||
- docs/tutorials/clusters/apparmor.md
|
- docs/tutorials/clusters/apparmor.md
|
||||||
- docs/tutorials/clusters/multiple-schedulers.md
|
|
||||||
- title: Services
|
- title: Services
|
||||||
section:
|
section:
|
||||||
- docs/tutorials/services/source-ip.md
|
- docs/tutorials/services/source-ip.md
|
||||||
|
|
|
@ -6,6 +6,8 @@ title: Configuring Multiple Schedulers
|
||||||
redirect_from:
|
redirect_from:
|
||||||
- "/docs/admin/multiple-schedulers/"
|
- "/docs/admin/multiple-schedulers/"
|
||||||
- "/docs/admin/multiple-schedulers.html"
|
- "/docs/admin/multiple-schedulers.html"
|
||||||
|
- "/docs/tutorials/clusters/multiple-schedulers/"
|
||||||
|
- "/docs/tutorials/clusters/multiple-schedulers.html"
|
||||||
---
|
---
|
||||||
|
|
||||||
Kubernetes ships with a default scheduler that is described [here](/docs/admin/kube-scheduler/).
|
Kubernetes ships with a default scheduler that is described [here](/docs/admin/kube-scheduler/).
|
|
@ -0,0 +1,43 @@
|
||||||
|
apiVersion: apps/v1beta1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
component: scheduler
|
||||||
|
tier: control-plane
|
||||||
|
name: my-scheduler
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
component: scheduler
|
||||||
|
tier: control-plane
|
||||||
|
version: second
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- command:
|
||||||
|
- /usr/local/bin/kube-scheduler
|
||||||
|
- --address=0.0.0.0
|
||||||
|
- --leader-elect=false
|
||||||
|
- --scheduler-name=my-scheduler
|
||||||
|
image: gcr.io/my-gcp-project/my-kube-scheduler:1.0
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 10251
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
name: kube-second-scheduler
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 10251
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: '0.1'
|
||||||
|
securityContext:
|
||||||
|
privileged: false
|
||||||
|
volumeMounts: []
|
||||||
|
hostNetwork: false
|
||||||
|
hostPID: false
|
||||||
|
volumes: []
|
Loading…
Reference in New Issue