Skip to main content

No project description provided

Project description

Usage

If submitting to Kueue in a Minikube Kubernetes cluster, you need to configure your environment variables, so that images are available inside the cluster:

$ eval $(minikube -p minikube docker-env)

Then, you can execute a workload as a regular Python script:

$ python example_1.py

You can choose between the available execution modes (locally, in Docker, as a Kueue Kubernetes Job) by passing the --mode flag. See the output of --help for allowed values.

FAQ

  • Q: Image build aborts with an exception docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')):
  • A: If using Colima, might have to set DOCKER_HOST env var to point to the Colima Docker socket (obtain path from docker context ls)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aai_jobq-0.1.0rc7.tar.gz (93.5 kB view hashes)

Uploaded Source

Built Distribution

aai_jobq-0.1.0rc7-py3-none-any.whl (65.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page