commit
0d5917e6a4
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
This example shows how is possible to create a custom configuration for a particular upstream associated with an Ingress rule.
|
This example shows how is possible to create a custom configuration for a particular upstream associated with an Ingress rule.
|
||||||
|
|
||||||
|
```
|
||||||
echo "
|
echo "
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
@ -18,12 +18,12 @@ spec:
|
||||||
serviceName: echoheaders
|
serviceName: echoheaders
|
||||||
servicePort: 80
|
servicePort: 80
|
||||||
" | kubectl create -f -
|
" | kubectl create -f -
|
||||||
|
```
|
||||||
|
|
||||||
Check the annotation is present in the Ingress rule:
|
Check the annotation is present in the Ingress rule:
|
||||||
```
|
```
|
||||||
kubectl get ingress echoheaders -o yaml
|
kubectl get ingress echoheaders -o yaml
|
||||||
``
|
```
|
||||||
|
|
||||||
Check the NGINX configuration is updated using kubectl or the status page:
|
Check the NGINX configuration is updated using kubectl or the status page:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue