Notes for K8s Services
- create a simple service
- expose stable address
- expose through Env var and DNS
- services should be created b4 client pods for th8 service
- service name is hostname for service apart from IP, which is maintained in DNS server pod in
- Expose/Impose the external machines to Cluster and make them available to pods in the cluster -> 1) create service without selector and create Endpoints resource with external IPs. now Pods can access out of cluster nodes throough that service.