Use networking.k8s.io/v1beta1 for ingress apiVersion (#15190)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0c4353e86c
commit
f8af591cb0
@@ -135,7 +135,7 @@ The following file is an Ingress resource that sends traffic to your Service via
|
||||
|
||||
1. Create `example-ingress.yaml` from the following file:
|
||||
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1beta1 # for versions before 1.14 use extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: example-ingress
|
||||
@@ -160,7 +160,7 @@ The following file is an Ingress resource that sends traffic to your Service via
|
||||
Output:
|
||||
|
||||
```shell
|
||||
ingress.extensions/example-ingress created
|
||||
ingress.networking.k8s.io/example-ingress created
|
||||
```
|
||||
|
||||
1. Verify the IP address is set:
|
||||
|
||||
Reference in New Issue
Block a user