diff --git a/README.md b/README.md
index c8c0853..6f9adce 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,7 @@ spec:
<<< ADD
[...]
```
-Verify nginx-ingress is listening on port 9000 with `kubectl get all --all-namespaces`:
+Verify nginx-ingress-controller is a Loadbalancer and listening on port 9000 with `kubectl get services -n ingress-nginx`:
```
[...]
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
@@ -127,7 +127,7 @@ ingress-nginx service/ingress-nginx-controller LoadBalancer 10.4
[...]
```
-### Deploy my-nginx-service
+### Deploy my-nginx deployment and service
my-nginx-deployment.yml:
```
apiVersion: apps/v1
@@ -168,17 +168,16 @@ Apply with `kubectl apply -f my-nginx-deployment.yml`:
deployment.apps/my-nginx created
service/my-nginx created
```
-Test: `kubectl get all`:
+Test: `kubectl get all | grep my-nginx`:
```
-[...]
-NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
-[...]
-service/my-nginx ClusterIP 10.43.118.13 80/TCP 99s
-[...]
+pod/my-nginx-65c68bbcdf-xkhqj 1/1 Running 4 2d7h
+service/my-nginx ClusterIP 10.43.118.13 80/TCP 2d7h
+deployment.apps/my-nginx 1/1 1 1 2d7h
+replicaset.apps/my-nginx-65c68bbcdf 1 1 1 2d7h
```
-## Stick the nginx-ingress controler and my-nginx app together
-Finally, the nginx-ingress controller needs a port-mapping pointing to the my-nginx app. This will be done with the config-map `tcp-services-config-map.yml`, referenced earlier in the nginx-ingress deployment definition:
+## Stick the nginx-ingress-controler and my-nginx app together
+Finally, the nginx-ingress controller needs a port-mapping pointing to the my-nginx app. This will be done with a config-map `nginx-ingress-tcp-services-config-map.yml`, referenced earlier in the nginx-ingress deployment definition:
```
---
apiVersion: v1
@@ -189,11 +188,11 @@ metadata:
data:
"9000": default/my-nginx:80
```
-Apply with `kubectl apply -f tcp-services-config-map.yml`:
+Apply with `kubectl apply -f nginx-ingress-tcp-services-config-map.yml`:
```
configmap/tcp-services created
```
-Subsequently the config-map can be edited with `kubectl edit configmap tcp-services -n ingress-nginx`
+Subsequently the config-map can be edited with `kubectl -n ingress-nginx edit configmap tcp-services`
**Changes to config-maps do not take effect on running pods! A re-scale to 0 and back can solve this problem: https://stackoverflow.com/questions/37317003/restart-pods-when-configmap-updates-in-kubernetes**
@@ -255,7 +254,11 @@ kubectl logs my-nginx-65c68bbcdf-xkhqj -f
# Running DaemonSets on `hostPort`
Docs: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
-In this case configuration of networking in context of services are not needed.
+In this case configuration of networking in context of services is not needed.
+
+This setup is suitable for legacy scenarios where static IP-address are required:
+* inbound mailserver
+* dns server
```
kind: DaemonSet
@@ -272,7 +275,7 @@ spec:
metadata:
labels:
app: netcat-daemonset
- spec:
+ spec:
containers:
- command:
- nc