parent
674303b896
commit
985c08378d
|
@ -97,7 +97,7 @@ which should produce output like this:
|
||||||
Selector: app=example
|
Selector: app=example
|
||||||
Type: LoadBalancer
|
Type: LoadBalancer
|
||||||
IP: 10.67.252.103
|
IP: 10.67.252.103
|
||||||
LoadBalancer Ingress: 123.45.67.89
|
LoadBalancer Ingress: 192.0.2.89
|
||||||
Port: <unnamed> 80/TCP
|
Port: <unnamed> 80/TCP
|
||||||
NodePort: <unnamed> 32445/TCP
|
NodePort: <unnamed> 32445/TCP
|
||||||
Endpoints: 10.64.0.4:80,10.64.1.5:80,10.64.2.4:80
|
Endpoints: 10.64.0.4:80,10.64.1.5:80,10.64.2.4:80
|
||||||
|
|
|
@ -177,7 +177,7 @@ you need is an existing `docker-compose.yml` file.
|
||||||
Selector: service=frontend
|
Selector: service=frontend
|
||||||
Type: LoadBalancer
|
Type: LoadBalancer
|
||||||
IP: 10.0.0.183
|
IP: 10.0.0.183
|
||||||
LoadBalancer Ingress: 123.45.67.89
|
LoadBalancer Ingress: 192.0.2.89
|
||||||
Port: 80 80/TCP
|
Port: 80 80/TCP
|
||||||
NodePort: 80 31144/TCP
|
NodePort: 80 31144/TCP
|
||||||
Endpoints: 172.17.0.4:80
|
Endpoints: 172.17.0.4:80
|
||||||
|
@ -189,7 +189,7 @@ you need is an existing `docker-compose.yml` file.
|
||||||
If you're using a cloud provider, your IP will be listed next to `LoadBalancer Ingress`.
|
If you're using a cloud provider, your IP will be listed next to `LoadBalancer Ingress`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ curl http://123.45.67.89
|
$ curl http://192.0.2.89
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% /capture %}}
|
{{% /capture %}}
|
||||||
|
|
|
@ -69,7 +69,7 @@ cat <<EOF | cfssl genkey - | cfssljson -bare server
|
||||||
"hosts": [
|
"hosts": [
|
||||||
"my-svc.my-namespace.svc.cluster.local",
|
"my-svc.my-namespace.svc.cluster.local",
|
||||||
"my-pod.my-namespace.pod.cluster.local",
|
"my-pod.my-namespace.pod.cluster.local",
|
||||||
"172.168.0.24",
|
"192.0.2.24",
|
||||||
"10.0.34.2"
|
"10.0.34.2"
|
||||||
],
|
],
|
||||||
"CN": "my-pod.my-namespace.pod.cluster.local",
|
"CN": "my-pod.my-namespace.pod.cluster.local",
|
||||||
|
@ -81,7 +81,7 @@ cat <<EOF | cfssl genkey - | cfssljson -bare server
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
Where `172.168.0.24` is the service's cluster IP,
|
Where `192.0.2.24` is the service's cluster IP,
|
||||||
`my-svc.my-namespace.svc.cluster.local` is the service's DNS name,
|
`my-svc.my-namespace.svc.cluster.local` is the service's DNS name,
|
||||||
`10.0.34.2` is the pod's IP and `my-pod.my-namespace.pod.cluster.local`
|
`10.0.34.2` is the pod's IP and `my-pod.my-namespace.pod.cluster.local`
|
||||||
is the pod's DNS name. You should see the following output:
|
is the pod's DNS name. You should see the following output:
|
||||||
|
@ -147,7 +147,7 @@ Subject:
|
||||||
Serial Number:
|
Serial Number:
|
||||||
Subject Alternative Names:
|
Subject Alternative Names:
|
||||||
DNS Names: my-svc.my-namespace.svc.cluster.local
|
DNS Names: my-svc.my-namespace.svc.cluster.local
|
||||||
IP Addresses: 172.168.0.24
|
IP Addresses: 192.0.2.24
|
||||||
10.0.34.2
|
10.0.34.2
|
||||||
Events: <none>
|
Events: <none>
|
||||||
```
|
```
|
||||||
|
|
|
@ -137,7 +137,7 @@ which should produce output like this:
|
||||||
Selector: app=example
|
Selector: app=example
|
||||||
Type: LoadBalancer
|
Type: LoadBalancer
|
||||||
IP: 10.67.252.103
|
IP: 10.67.252.103
|
||||||
LoadBalancer Ingress: 123.45.678.9
|
LoadBalancer Ingress: 192.0.2.89
|
||||||
Port: <unnamed> 80/TCP
|
Port: <unnamed> 80/TCP
|
||||||
NodePort: <unnamed> 32445/TCP
|
NodePort: <unnamed> 32445/TCP
|
||||||
Endpoints: 10.64.0.4:80,10.64.1.5:80,10.64.2.4:80
|
Endpoints: 10.64.0.4:80,10.64.1.5:80,10.64.2.4:80
|
||||||
|
|
Loading…
Reference in New Issue