Continuous integration deployment-k8s-service discovery-Ingress path matching and virtual host matching
1. Install Ingress-Nginx
To use Ingress-Nginx, the first step is to install it. For installation steps, please refer to:Continuous Integration Deployment-k8s-Service Discovery-Ingress
2. Create the Service to be proxied
Here I use the Service created before:Continuous Integration Deployment-k8s-Service Discovery-Service
The name of the Service I created here is: nginx-svc
This will be used later.
[root@docker-54 ingress]# kubectl get svc