gang-scheduler

module
v0.0.0-...-5e6c52a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2020 License: Apache-2.0

README

gang-scheduler

Gang schedulre with k8s scheduler framework

Depends on job management repo

It implements a Permit plugin and depends on CRD XJob like this:

apiVersion: batch.xscheduler.vincent-pli.com/v1alpha1
kind: XJob
metadata:
  name: xjob-sample
spec:
  minAvailable: 1
  priorityClassName: mid-priority
  tasks:
    - name: task-1
      replicas: 1
      template:
        spec:
          containers:
            - name: sleep
              image: docker
              args: ["sleep", "600"]

If number of Reserved pod reach the minAvailable, all pod will be Bind otherwise will be Pending.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL