Skip to content

Commit

Permalink
Add documentation to enable ingress controller
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Mar 25, 2024
1 parent ec6d473 commit 136f1be
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ Getting started
minikube start
```

4. Execute
4. Enable ingress controller

```
minikube addons enable ingress
```

5. Execute

```bash
sh .k8s/apply.sh
```

5. Serve app:
6. Serve app:

```bash
minikube service languages-app-api-service --url
Expand Down Expand Up @@ -129,3 +135,13 @@ echo -n "my-secret" | base64
```
kubectl get secret languages-secret -n default -o jsonpath="{.data.GOOGLE_CLIENT_ID}" | base64 --decode
```

- **Get ingress**:
```
kubectl get ingress
```

- **Get pods ingress**:
```
kubectl get pods -n ingress-nginx
```

0 comments on commit 136f1be

Please sign in to comment.