Skip to content

Instantly share code, notes, and snippets.

@VisualBean
Created April 10, 2023 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VisualBean/1ee6444afb54d7538e4f099e7e2f4530 to your computer and use it in GitHub Desktop.
Save VisualBean/1ee6444afb54d7538e4f099e7e2f4530 to your computer and use it in GitHub Desktop.
Node Pod Service
Definition A worker machine in a Kubernetes cluster, typically a virtual or physical machine. The smallest deployable unit in Kubernetes, representing a single instance of a running process in a cluster. An abstraction that defines a logical set of Pods and a policy by which to access them.
Responsibilities Runs containers and provides the necessary runtime environment for them. Groups one or more containers into a single unit of deployment and provides shared storage and network resources for them. Provides a stable network identity for a set of Pods and enables load balancing, service discovery, and other networking features.
Scalability Can be added or removed from a cluster to adjust the overall capacity or resource usage. Can be replicated or scaled horizontally to handle more traffic or workload. Can span multiple Pods and be load balanced across them, allowing for high availability and fault tolerance.
Communication Communicates with the Kubernetes API server to receive instructions and report status. Communicates with other Pods or Services using the Kubernetes networking model, which provides a flat IP address space and DNS resolution. Provides a virtual IP address and DNS name that clients can use to access the set of Pods it represents, regardless of their individual IP addresses or locations.
Persistence Can store data on local disks, network-attached storage, or cloud storage services. Can use shared volumes or network-attached storage to persist data across container restarts or failures. Does not store data directly, but can leverage other Kubernetes resources like ConfigMaps or Secrets to store configuration or sensitive information.
Example A virtual machine running on a cloud provider, such as Amazon EC2 or Google Compute Engine. A set of containers that work together to serve a common purpose, such as a web server and a database. A load-balanced front-end for a set of web servers that provide a web application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment