apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-scheduler
  namespace: test-scheduler
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test-scheduler
  template:
    metadata:
      labels:
        app: test-scheduler
    spec:
      schedulerName: sample-scheduler
      containers:
        - image: uhub.service.ucloud.cn/infra/nginx:1.17.9
          imagePullPolicy: IfNotPresent
          name: nginx
          ports:
            - containerPort: 80
