Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dizys/ambassador-kustomization-example
- Owner: dizys
- License: mit
- Created: 2021-06-18T08:29:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-30T09:17:26.000Z (over 3 years ago)
- Last Synced: 2024-06-20T12:22:30.976Z (6 months ago)
- Topics: ambassador-gateway, k8s
- Language: Go
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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