Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dizys/ambassador-kustomization-example

Kubernetes kustomization example for setting up Ambassador Gateway, basic auth and stress test.
https://github.com/dizys/ambassador-kustomization-example

ambassador-gateway k8s

Last synced: about 2 months ago
JSON representation

Kubernetes kustomization example for setting up Ambassador Gateway, basic auth and stress test.

Awesome Lists containing this project

README

        

# ambassador-kustomization-example

Kubernetes kustomization example for setting up Ambassador Gateway, basic auth and stress test.

## Getting started

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**

```bash
$ kubectl apply -k ./
```

**2. Check out pods**

Under all namespaces:

```bash
$ kubectl get pods --all-namespaces
```

or under `ambassador-test` namespace:

```bash
$ kubectl get pods --namespace ambassador-test
```

**3. Delete deployments**

```bash
$ kubectl delete -k ./
```

### Tunnel when using minikube

When using [minikube](https://minikube.sigs.k8s.io/docs/start/), use the following command to tunnel 80 and 443 ports in order to make gateway accessible from host:

```bash
$ minikube tunnel
```

Then visit http://127.0.0.1/quote/.

## License

MIT