added istio ingress proxy
This commit is contained in:
parent
7dd7d19df5
commit
0659c44499
18 changed files with 415 additions and 51 deletions
21
README.md
21
README.md
|
|
@ -1,25 +1,38 @@
|
|||
# nginx-ingress-proxy
|
||||
# ingress-proxy
|
||||
|
||||
This is an ingress proxy to direct traffic to the ingress controller in small cloud environments without the need for a load balancer.
|
||||
|
||||
This proxy runs in the host network of the kubernetes master on the ports `80` and `443`.
|
||||
|
||||
Traffic is then redirected to the nginx ingress controller using the proxy protocol.
|
||||
Traffic is then redirected to the ingress controller using the proxy protocol.
|
||||
|
||||
## Usage
|
||||
|
||||
**Note:** replace `MASTERNODE` with the hostname of your master node.
|
||||
**Note:** replace `my-master` with the hostname of your master node.
|
||||
|
||||
### Ingress-Nginx
|
||||
|
||||
```
|
||||
curl -s -O https://git.giftfish.de/ston1th/nginx-ingress-proxy/raw/branch/master/nginx-ingress-proxy.yaml
|
||||
curl -s -O https://git.giftfish.de/ston1th/ingress-proxy/raw/branch/master/nginx-ingress-proxy.yaml
|
||||
|
||||
sed -i 's/MASTERNODE/my-master/' nginx-ingress-proxy.yaml
|
||||
|
||||
kubectl apply -f nginx-ingress-proxy.yaml
|
||||
```
|
||||
|
||||
### Istio Ingress Gateway
|
||||
|
||||
```
|
||||
curl -s -O https://git.giftfish.de/ston1th/ingress-proxy/raw/branch/master/istio-ingress-proxy.yaml
|
||||
|
||||
sed -i 's/MASTERNODE/my-master/' istio-ingress-proxy.yaml
|
||||
|
||||
kubectl apply -f istio-ingress-proxy.yaml
|
||||
```
|
||||
|
||||
## Cleanup
|
||||
|
||||
```
|
||||
kubectl delete -f nginx-ingress-proxy.yaml
|
||||
kubectl delete -f istio-ingress-proxy.yaml
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue