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
- https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod
- https://github.com/lachie83/k8s-kubectl
- https://github.com/kubernetes/kubernetes/blob/master/examples/kubectl-container/pod.json
- Actually schedule a job
- Make some ip's and ports configurable via env vars.
- Look into letting minikube pull from a registry deployed inside the cluster: