Move to Tasks: Multiple chedulers. (#3694)

pull/3695/head
Steve Perry 2017-05-09 10:08:26 -07:00 committed by GitHub
parent 8481c02496
commit c0eb5e17ad
7 changed files with 46 additions and 1 deletions

View File

@ -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/

View File

@ -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

View File

@ -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/).

View File

@ -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: []