Debug School

Subham Chowdhury
Subham Chowdhury

Posted on

DaemonSet, Job, CronJob,Services , Ingress, Ingress Controller by Subham

Daemon Set :

1.  A Daemon Set is a type of workload in Kubernetes that ensures that one and only Pod runs on all nodes within a cluster, It is basically used for proxy kind of services.
2.  Daemon Sets ensure that exactly one instance of a specified Pod is scheduled and running on each node that matches the Pod's node selector.
Enter fullscreen mode Exit fullscreen mode

Jobs:

1. A job is something that runs the specified task using the container image provided in the template.
2. Once the task is completed successfully, the Job is considered finished.
Enter fullscreen mode Exit fullscreen mode

Crone Jobs:

1. Cron Job is a resource that allows you to run Jobs at scheduled intervals.
2. The job is created as a one-time Job when the schedule is met and then terminated.
3. The Schedule field is used to specify when the job should run i.e.(schedule: "*/5 * * * *"). In this case, it runs every 5 minutes.
Enter fullscreen mode Exit fullscreen mode

Config Map:

1. In Kubernetes, a Config Map is a resource that allows you to store configuration data separately from your application code.
Enter fullscreen mode Exit fullscreen mode

Services :

1. Service is also known as network load balancer.
2. Service only send traffic to healthy pods.
3. Services can be accessible from outside the cluster.
4. It uses TCP by default and load balancing is Random load balancing by default.
5. Service can be configured for session affinity.
6. The labels of pods should be same as the selector labels of service to balance the load.
7. Expose command automatically take the labels from deployment and create a service and balance the load.
Enter fullscreen mode Exit fullscreen mode

Node Port:

1. Node port create a service with cluster IP and type is node port which can be accessible from outside.
2. Node port is something which is used to communicate from outside to the pod.
3. To access the pod inside the cluster we need to give the Service IP : port and to access from outside we need to give Node IP.
Enter fullscreen mode Exit fullscreen mode

Ingress Controller:

1. An Ingress Controller in Kubernetes is a component that manages and configures access to services within the cluster from external network traffic. 
2. It acts as a reverse proxy, handling incoming HTTP and HTTPS traffic, and then forwarding requests to the appropriate services and Pods based on the rules defined in the Ingress resource.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)