Open Source Cloud and DevOps

Kubernetes

Ingress
Prometheus and Grafana
Stateful Set
Load Balancer App
NFS Persistent Volume
Some Deployment YAML

In Kubernetes

DNS Pod is responsible for the Service Discovery in the Kubernetes Cluster.

Cluster IP

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.

Service Discovery

As part of Cluster IP, service discovery is available.

Create Cluster IP with appication

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.

DaemonSet

For simulating the client app.

Architecture

Cluster Architecture

Read Moreā€¦

https://kubernetes.io/docs/concepts/