Compare commits

...

2 Commits

Author SHA1 Message Date
Jimmy 822cd4a3ef Update READEME 2022-02-09 14:08:25 +13:00
Jimmy 5366d94508 Change domain 2022-02-09 14:08:09 +13:00
2 changed files with 22 additions and 2 deletions

View File

@ -1,5 +1,25 @@
# K8s setup with Nignx Ingress
```kubectl apply -f k8s/ingress```
Edit hosts file on host machine
Get ip of vm
```ip -o a | grep ens```
```sudo nano /etc/hosts```
```<ip> ingress.local```
http://ingress.local
http://ingress.local/v2
https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#server-side-https-enforcement-through-redirect
https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/
```kubectl apply -f k8s/ingress```

View File

@ -27,4 +27,4 @@ spec:
number: 8080
tls:
- hosts:
- hello-world.info
- ingress.local