A repository that contains pre-canned Ambassador examples that can be used as either straight recipes for your own use cases, rapid prototyping, or building issue reproducers.
This is very rough stuff. I use this as my test harness for Ambassador issue's but it is no way a formal setup with tests or really any procedure to ensure it always works. I just sort of know how it is assembled and how to use it. I'd like to make it a more formal tool and project at some point but I have not yet found the time to do that.
-
Prerequisites You need a cluster with
cluster-admin
permissions. -
Apply the two namespaces that are used throughout all the examples.
kubectl apply -f namespaces.yaml
-
Deploy Ambassador:
cd ambassador forge --profile=sandbox0 deploy
-
Deploy one or more of the Examples
cd http-loadbalance forge --profile=sandbox0 deploy
-
You will likely need to read the Ambassador mapping data in the Kubernetes manifests to know what to communicate with.
./ambassador-lb.sh
./ambassador-shell.sh
./ambassador-ui.sh