Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 876 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 876 Bytes

Job Scheduling from within a pod on Kubernetes

minikube start
eval $(minikube docker-env)
docker build -t k8s-app:v<version_number> .
vim k8s-app.yaml # edit version_number accordingly
kubectl apply -f k8s-app.yaml
kubectl expose deployment/k8s-app --type=LoadBalancer

Sources

Todo

  1. Actually schedule a job
  2. Make some ip's and ports configurable via env vars.
  3. Look into letting minikube pull from a registry deployed inside the cluster: