n25/pages/ingress-test.md

833 B

level
2

Ingress test

... with Vagrant


```bash {1|2|3|4|5}
vagrant ssh workstation
cd /vagrant/certs/
bash secret.sh
bash copy_secret_to_default.sh  
cd $HOME
```


```bash {1|2|3|4}
cd k8s/nginx-test
kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
kubectl apply -f ingress.yaml
```

Lets see an install of metallb and traefic ingress in a Demo

The creation of a valid certificate is handled by mkcert

And our workstation already has dnsmasq installed acting as a forwarding DNS and serving the address of our test domain headshed.it from earlier