Skip to content

Instantly share code, notes, and snippets.

@amitkgupta
Created September 10, 2019 22:06
Show Gist options
  • Save amitkgupta/5845890d9bc22a36497f1f2824c45608 to your computer and use it in GitHub Desktop.
Save amitkgupta/5845890d9bc22a36497f1f2824c45608 to your computer and use it in GitHub Desktop.
BOSH v3 demo script for github.com/amitkgupta/boshv3
## Demo for BOSH v3
## https://github.com/amitkgupta/boshv3
# Versions
bosh env
bosh —version
minikube status
minikube version
kubectl version
# Install BOSH v3 CRDs and reconciliation controllers
kubectl apply --kustomize=https://github.com/amitkgupta/boshv3/hack/test/kustomize
# Create BOSH resources via Kubernetes CRDs
$GOPATH/src/github.com/amitkgupta/boshv3/hack/test/create_bosh_resources.sh
kubectl get bosh --all-namespaces
kubectl get baseimage --namespace=test --watch
# See things really working in BOSH
cd ~/env/vbox
source .envrc
bosh tasks
bosh task <N>
bosh run-errand status --deployment=deployment-test-zookeeper
bosh releases
bosh stemcells
bosh configs
bosh deployments
# Delete BOSH resources via Kubernetes CRDs
$GOPATH/src/github.com/amitkgupta/boshv3/hack/test/delete_bosh_resources.sh
bosh releases
bosh stemcells
bosh configs
bosh deployments
# Uninstall BOSH v3 CRDs and reconciliation controllers
kubectl delete --kustomize=https://github.com/amitkgupta/boshv3/hack/test/kustomize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment