-
Minikube - https://github.com/kubernetes/minikube#installation
-
Install
get_token
from Apigee.curl https://login.apigee.com/resources/scripts/sso-cli/ssocli-bundle.zip -o "ssocli-bundle.zip"
andsudo ./install -b /usr/local/bin
-
Start minikube
minikube start
-
Make sure kubectl is using minikube context.
kubectl config use-context minikube
-
Setup docker env.
eval $(minikube docker-env)
-
Setup shipyard k8s deployment.
make setup
. This pulls the image tags for each project and tags them as latest in minikube. Then it deploysdeploy/shipyard-all.yaml
-
make test
This runs the Integration test suite intests/...
For now only create deployment is setup.
make teardown
to remove apigee/shipyard namespaces from k8s.
Get minikube ip minikube ip
and add to /etc/hosts
.
192.168.99.100 api.shipyard.dev
Calls to http://api.shipyard.dev:30555/environments
will hit enrober.