Ways to deploy the POD
POD
Replication Controller
Replica Set
Deployment
DaemonSet
StatefulSet
DaemonSet:
Make sure only 1 pod will be running on each node in the cluster
Job & CronJob:
Job: Create the pod, do the job and complete the activity
Cron job: Create the pod, do the job and complete the activity and repeats the same periodically based on the cron rules
ConfigMap:
Helps to store the data in the cluster.
Service:
Help for loadbalancing
Types:
Network Load balancer
Application Load balancer
Pods where the labels are matching with the labels of the selector of the service will be loadbalanced.They load balance only to the healthy pods.
They can be configured for session affinity.
Random Load Balancing is the algorithm used in the service
They use TCP by default
Types of service:
Cluster IP
Externalname
Loadbalancer
NodePort
Kubernetes Ingress:
They are the application load balancer. Ingress help to access the application in kubernetes.
They do
Enabling traffic
Traffic routing
Ensure traffic is reliable
Components of ingress:
Rule -> Ingress object definition
Controller -> Ingress controller deployment
Top comments (0)