Ingress
Prometheus and Grafana
Stateful Set
Load Balancer App
NFS Persistent Volume
Some Deployment YAML
DNS Pod is responsible for the Service Discovery in the Kubernetes Cluster.
Provides Load distribution, version upgrades. Use ClusterIP to expose your application. It is L4 load balcncing. It is Internal to the cluster. Configured via K8S service. Service Discovery using the name of the service. No network interfaces associated to the ClusterIP.
As part of Cluster IP, service discovery is available.
- Within same namespace, services are discoverable using their names.
- Default Domain -> cluster.local
- service-name, service-name.namespace-name, service-name.namespace-name.svc.cluster.local
Create a deployment of your application, create a Service of type ClusterIP using selector labels for the app. Use targetPort in ClusterIP and containerPort in Deployment; for binding the two objects. Port on ClusterIP is actual port that is exposed outside.
For simulating the client app.
Read More...