Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (27 loc) · 976 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 976 Bytes

poc-kubernetes-batch

PoC to create a new k8s Job using the Golang API, making use of Init Containers.

Setup

# Kubernetes
brew cask install minikube
brew install docker-machine-driver-xhyve
brew install kubectl
minikube start --vm-driver=xhyve
eval $(minikube docker-env)
kubectl create -f ./namespace.yaml

# Dependency Management
brew install glide
glide up -v // AKA: glide update --strip-vendor

Usage

eval $(minikube docker-env)

go run main.go

Improvements

References, etc