apiVersion: apps/v1
kind: Deployment
metadata:
  name: scheduler-test-deployment
spec:
  replicas: 3
  selector:
    matchLabels:
      app: scheduler-test
  template:
    metadata:
      labels:
        app: scheduler-test
    spec:
      # schedulerName 对应于自身定义的调度器的名称
      schedulerName: scheduler-framework-demo
      containers:
      - image: nginx
        imagePullPolicy: IfNotPresent
        name: nginx
        ports:
        - containerPort: 80