Remove line numbers in ingress resource snippet
* To be consistent with the rest of the guide. * To simplify copy/paste of the example.
This commit is contained in:
+12
-12
@@ -53,18 +53,18 @@ Make sure you review the [beta limitations](https://github.com/kubernetes/contri
|
|||||||
A minimal Ingress might look like:
|
A minimal Ingress might look like:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
01. apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
02. kind: Ingress
|
kind: Ingress
|
||||||
03. metadata:
|
metadata:
|
||||||
04. name: test-ingress
|
name: test-ingress
|
||||||
05. spec:
|
spec:
|
||||||
06. rules:
|
rules:
|
||||||
07. - http:
|
- http:
|
||||||
08. paths:
|
paths:
|
||||||
09. - path: /testpath
|
- path: /testpath
|
||||||
10. backend:
|
backend:
|
||||||
11. serviceName: test
|
serviceName: test
|
||||||
12. servicePort: 80
|
servicePort: 80
|
||||||
```
|
```
|
||||||
|
|
||||||
*POSTing this to the API server will have no effect if you have not configured an [Ingress controller](#ingress-controllers).*
|
*POSTing this to the API server will have no effect if you have not configured an [Ingress controller](#ingress-controllers).*
|
||||||
|
|||||||
Reference in New Issue
Block a user