Skip to content

kevingrismore/volcano-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Volcano Worker

To use the volcano worker type defined in this repository, complete the following steps:

  1. Install the Volcano in your cluster using its Helm chart
helm repo add volcano-sh https://volcano-sh.github.io/helm-charts

helm repo update

helm install volcano volcano-sh/volcano -n volcano-system --create-namespace
  1. Build and push an image to your registry using the the included Dockerfile.
docker build . -t <your-registry/your-image:your-tag>
docker push <your-registry/your-image:your-tag>
  1. Use the prefect-worker Helm chart to create the necessary resources in your Kubernetes cluster. Override defaults in the chart using a values.yaml.
namespaceOverride: <your-namespace> # must not be volcano-system

worker:
  cloudApiConfig:
    accountId: <your-account-id>
    workspaceId: <your-workspace-id>
  config:
    workPool: volcano-pool # or any valid work pool name not currently in use
    type: volcano
  image:
    repository: <your-registry/your-image>
    prefectTag: <your-image-tag>

role:
  extraPermissions:
    - apiGroups:
        - batch.volcano.sh
      resources:
        - jobs
      verbs:
        - get
        - list
        - watch
        - create
        - update
        - patch
        - delete

Once your VolcanoWorker is running, a new Volcano type work pool should appear in your workspace, ready to run deployments!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published