Skip to content

Python script that can run batch jobs using the Kubernetes API

License

Notifications You must be signed in to change notification settings

thomasvvugt/python-kubernetes-jobs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jobs in Kubernetes using Python

This repository contains a simple Python script that can run batch jobs using the Kubernetes API.

Prerequirements

  • Have a Kubernetes cluster

Steps to run

  1. Build the container image using docker build -t my-python-image .

This image will be used to deploy the app.py script in your cluster, using manifests.yml

  1. Deploy this container and the related RBAC config on your cluster using kubectl apply -f manifests.yml

About

Python script that can run batch jobs using the Kubernetes API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published