Kubernetes kustomization example for setting up Ambassador Gateway, basic auth and stress test.
All the Kubernetes resources are described in this repository and managed with a single Kustomization entry kustomization.yml
under folder k8s
.
The following commands are executed under the folder k8s
.
1. Apply kustomization
$ kubectl apply -k ./
2. Check out pods
Under all namespaces:
$ kubectl get pods --all-namespaces
or under ambassador-test
namespace:
$ kubectl get pods --namespace ambassador-test
3. Delete deployments
$ kubectl delete -k ./
When using minikube, use the following command to tunnel 80 and 443 ports in order to make gateway accessible from host:
$ minikube tunnel
Then visit http://127.0.0.1/quote/.
MIT