k3s/docs/user-guide
Chao Xu 183c6e2e84 Merge pull request #13652 from clasohm/example_download_links_raw
add raw flag for GitHub download links
2015-09-09 16:19:14 -07:00
..
downward-api adding downward api volume plugin 2015-09-01 22:23:03 +02:00
environment-guide Copy edits for typos (resubmitted) 2015-08-25 10:47:58 -04:00
kubectl Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
liveness Delete an useless line in liveness 2015-09-06 18:54:23 +08:00
logging-demo
node-selection s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
persistent-volumes Replace IRC with Slack in docs. 2015-09-08 15:17:39 -07:00
resourcequota
secrets Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
update-demo Change deprecated 'kubectl stop' to 'delete' 2015-08-31 18:04:04 -07:00
walkthrough add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
README.md
accessing-the-cluster.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
annotations.md
application-troubleshooting.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
cadvisor.png
compute-resources.md change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
config-best-practices.md rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
configuring-containers.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
connecting-applications.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
connecting-to-applications-port-forward.md Change port-forward example without -p 2015-08-25 16:55:49 +08:00
connecting-to-applications-proxy.md
container-environment.md rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
containers.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
debugging-services.md Replace IRC with Slack in docs. 2015-09-08 15:17:39 -07:00
deploying-applications.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
docker-cli-to-kubectl.md Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
downward-api.md add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
gcm.png
getting-into-containers.md fixed a markdown error in the title 2015-09-08 08:41:50 +00:00
identifiers.md
images.md Merge pull request #13472 from justinsb/docs_pull_policy_name 2015-09-02 10:17:40 +02:00
influx.png
introspection-and-debugging.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
jsonpath.md jsonpath user guide docs 2015-08-20 09:11:04 +08:00
k8s-ui-explore-filter.png
k8s-ui-explore-groupby.png
k8s-ui-explore-poddetail.png
k8s-ui-explore.png
k8s-ui-nodes.png
k8s-ui-overview.png
kibana.png
known-issues.md rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
kubeconfig-file.md Update the KubeConfig Doc 2015-09-08 17:27:44 +08:00
labels.md
logging.md add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
managing-deployments.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
monitoring-architecture.png
monitoring.md Replace IRC with Slack in docs. 2015-09-08 15:17:39 -07:00
multi-pod.yaml
namespaces.md Add 'svc.' before 'cluster.local' and fix some typos 2015-09-07 09:11:30 +00:00
overview.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
persistent-volumes.md Improved readability 2015-08-05 13:50:49 +01:00
pod-states.md Add PodPhase 'Unknown' 2015-09-08 21:14:30 +08:00
pod.yaml Use example syncer tags instead of hard-coded examples in doc 2015-07-27 14:48:41 -07:00
pods.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
prereqs.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
production-pods.md change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
quick-start.md Fix the service printer to be a single line per service 2015-08-10 10:57:45 -07:00
replication-controller.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
replication.yaml
secrets.md Copy edits for typos (resubmitted) 2015-08-25 10:47:58 -04:00
security-context.md
service-accounts.md Improve secrets docs. 2015-08-19 16:37:25 -07:00
services-detail.png
services-detail.svg
services-firewalls.md Fix typo in services-firewall user guide. 2015-08-20 23:44:41 -07:00
services-overview.png
services-overview.svg
services.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
sharing-clusters.md
simple-nginx.md
simple-yaml.md add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
ui.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
volumes.md adding downward api volume plugin 2015-09-01 22:23:03 +02:00
working-with-resources.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00

README.md

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest 1.0.x release of this document can be found [here](http://releases.k8s.io/release-1.0/docs/user-guide/README.md).

Documentation for other releases can be found at releases.k8s.io.

Kubernetes User Guide: Managing Applications

Table of Contents

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.

Quick walkthrough

  1. Kubernetes 101
  2. Kubernetes 201

Thorough walkthrough

If you don't have much familiarity with Kubernetes, we recommend you read the following sections in order:

  1. Quick start: launch and expose an application
  2. Configuring and launching containers: configuring common container parameters
  3. Deploying continuously running applications
  4. Connecting applications: exposing applications to clients and users
  5. Working with containers in production
  6. Managing deployments
  7. Application introspection and debugging
    1. Using the Kubernetes web user interface
    2. Logging
    3. Monitoring
    4. Getting into containers via exec
    5. Connecting to containers via proxies
    6. Connecting to containers via port forwarding

Concept guide

Overview
A brief overview of Kubernetes concepts.
Cluster
A cluster is a set of physical or virtual machines and other infrastructure resources used by Kubernetes to run your applications.
Node
A node is a physical or virtual machine running Kubernetes, onto which pods can be scheduled.
Pod
A pod is a co-located group of containers and volumes.
Label
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.
Selector
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.
Service
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.
Volume
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.
Secret
A secret stores sensitive data, such as authentication tokens, which can be made available to containers upon request.
Name
A user- or client-provided name for a resource.
Namespace
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.
Annotation
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.

Further reading

Analytics