Skip to content

dhensen/k8s-api-inside-pod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published