-->

Service

Services are used to expose some functionality to users or other services. They usually encompass a group of pods, usually identified by – you guessed it – a label. You can have services that provide access to external resources, or to pods you control directly at the virtual IP level. Native Kubernetes services are exposed through convenient endpoints. Note that services operate at layer 3 (TCP/UDP). Kubernetes 1.2 added the Ingress object, which provides access to HTTP objects. More on that later. Services are published or discovered via one of two mechanisms: DNS, or environment variables. Services can be load-balanced by Kubernetes. But developers can choose to manage load balancing themselves in case of services that use external resources or require special treatment. There are many gory details associated with IP addresses, virtual IP addresses, and port spaces. We will discuss them in depth in a future chapter.

Random Pic Of The Day!
Random Pic Of The Day!
Question Of The Day!

Kubernetes cluster without kubernetes Master

I have kubernetes cluster working fine. I have one master node and 5 worker nodes, and all these are running pods. When all the nodes are on and if the kubernetes master goes down/ powered off, will the worker nodes keep working as normally.?

If master node is down and one of the worker node also goes down and then come back online after sometime. Then will the pod automatically be started on that worker as the master node is still down.?

BEST ANSWER:

When all the nodes are on and if the kubernetes master goes down/ powered off, will the worker nodes keep working as normally.?

Yes, they will work in their last state.

If master node is down and one of the worker node also goes down and then come back online after sometime. Then will the pod automatically be started on that worker as the master node is still down.?

No.

As you can read in Kubernetes Components section:

Master components provide the cluster’s control plane. Master components make global decisions about the cluster (for example, scheduling), and detecting and responding to cluster events (starting up a new pod when a replication controller’s ‘replicas’ field is unsatisfied).

Quote Of The Day!

The boundary between what can be and your life, is your ideas
Pat Waldron

Service Miranda Puig 5 of 5
Services are used to expose some functionality to users or other services. They usually encompass a group of pods, usually identified by – ...

Posts relacionados: No está disponible si la entrada carece de etiquetas

0 Comentarios