Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 538 Bytes

scheduling-4.md

File metadata and controls

19 lines (17 loc) · 538 Bytes

Understand how to run multiple schedulers and how to configure Pods to use them

主要是通过spec下的schedulerName来指定到底使用哪个scheduler去调度容器,参考yaml:

apiVersion: v1
kind: Pod
metadata:
  name: annotation-second-scheduler
  labels:
    name: multischeduler-example
spec:
  schedulerName: my-scheduler
  containers:
  - name: pod-with-second-annotation-container
    image: k8s.gcr.io/pause:2.0

参考