Edit This Page
The user guide is intended for anyone who wants to run programs and services on an existing Kubernetes cluster. Setup and administration of a Kubernetes cluster is described in the Cluster Admin Guide. The Developer Guide is for anyone wanting to either write code which directly accesses the Kubernetes API, or to contribute directly to the Kubernetes project.
Please ensure you have completed the prerequisites for running examples from the user guide.
- Kubernetes 101
- Kubernetes 201
If you don’t have any familiarity with Kubernetes, we recommend you read the following sections in order:
- Quick start: launch and expose an application
- Configuring and launching containers: configuring common container parameters
- Deploying continuously running applications
- Connecting applications: exposing applications to clients and users
- Working with containers in production
- Managing deployments
- Application introspection and debugging
- Using the Kubernetes web user interface
- Getting into containers via
- Connecting to containers via proxies
- Connecting to containers via port forwarding
- A cluster is a set of physical or virtual machines and other infrastructure resources used by Kubernetes to run your applications.
- A node is a physical or virtual machine running Kubernetes, onto which pods can be scheduled.
- A pod is a co-located group of containers and volumes.
- A label is a key/value pair that is attached to a resource, such as a pod, to convey a user-defined identifying attribute. Labels can be used to organize and to select subsets of resources.
- A selector is an expression that matches labels in order to identify related resources, such as which pods are targeted by a load-balanced service.
- Replication Controller
- A replication controller ensures that a specified number of pod replicas are running at any one time. It both allows for easy scaling of replicated systems and handles re-creation of a pod when the machine it is on reboots or otherwise fails.
- A service defines a set of pods and a means by which to access them, such as single stable IP address and corresponding DNS name.
- A volume is a directory, possibly with some data in it, which is accessible to a Container as part of its filesystem. Kubernetes volumes build upon Docker Volumes, adding provisioning of the volume directory and/or device.
- A secret stores sensitive data, such as authentication tokens, which can be made available to containers upon request.
- A user- or client-provided name for a resource.
- A namespace is like a prefix to the name of a resource. Namespaces help different projects, teams, or customers to share a cluster, such as by preventing name collisions between unrelated teams.
- A key/value pair that can hold larger (compared to a label), and possibly not human-readable, data, intended to store non-identifying auxiliary data, especially data manipulated by tools and system extensions. Efficient filtering by annotation values is not supported.
Pods and containers