Add apiVersion to ingress.yaml, and Delete the duplicated line in dnstools

This commit is contained in:
Sheng Lao 2019-01-12 00:06:43 +08:00
parent a948fe659f
commit 6927af4067

View File

@ -197,6 +197,7 @@ minikube addons enable ingress
## Testing ingress example
```
$ cat ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: nginx
@ -229,7 +230,6 @@ nginx nginx.example.org 10.0.2.15 80 2m
$ kubectl run -it --rm --restart=Never --image=infoblox/dnstools:latest dnstools
If you don't see a command prompt, try pressing enter.
dnstools# dig @10.100.4.143 nginx.example.org +short
dnstools# dig @10.100.4.143 nginx.example.org +short
10.0.2.15
dnstools#
```