2016-02-24 21:47:57 +00:00
|
|
|
---
|
|
|
|
---
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
The cluster admin guide is for anyone creating or administering a Kubernetes cluster.
|
2016-02-29 23:17:22 +00:00
|
|
|
It assumes some familiarity with concepts in the [User Guide](/docs/user-guide/).
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
* TOC
|
|
|
|
{:toc}
|
|
|
|
|
|
|
|
## Planning a cluster
|
|
|
|
|
|
|
|
There are many different examples of how to setup a kubernetes cluster. Many of them are listed in this
|
2016-02-29 23:17:22 +00:00
|
|
|
[matrix](/docs/getting-started-guides/). We call each of the combinations in this matrix a *distro*.
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
Before choosing a particular guide, here are some things to consider:
|
|
|
|
|
|
|
|
- Are you just looking to try out Kubernetes on your laptop, or build a high-availability many-node cluster? Both
|
|
|
|
models are supported, but some distros are better for one case or the other.
|
|
|
|
- Will you be using a hosted Kubernetes cluster, such as [GKE](https://cloud.google.com/container-engine), or setting
|
|
|
|
one up yourself?
|
|
|
|
- Will your cluster be on-premises, or in the cloud (IaaS)? Kubernetes does not directly support hybrid clusters. We
|
|
|
|
recommend setting up multiple clusters rather than spanning distant locations.
|
|
|
|
- Will you be running Kubernetes on "bare metal" or virtual machines? Kubernetes supports both, via different distros.
|
|
|
|
- Do you just want to run a cluster, or do you expect to do active development of kubernetes project code? If the
|
|
|
|
latter, it is better to pick a distro actively used by other developers. Some distros only use binary releases, but
|
|
|
|
offer is a greater variety of choices.
|
|
|
|
- Not all distros are maintained as actively. Prefer ones which are listed as tested on a more recent version of
|
|
|
|
Kubernetes.
|
|
|
|
- If you are configuring kubernetes on-premises, you will need to consider what [networking
|
2016-02-29 23:17:22 +00:00
|
|
|
model](/docs/admin/networking) fits best.
|
|
|
|
- If you are designing for very high-availability, you may want [clusters in multiple zones](/docs/admin/multi-cluster).
|
2016-02-26 11:54:48 +00:00
|
|
|
- You may want to familiarize yourself with the various
|
2016-02-29 23:17:22 +00:00
|
|
|
[components](/docs/admin/cluster-components) needed to run a cluster.
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
## Setting up a cluster
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
Pick one of the Getting Started Guides from the [matrix](/docs/getting-started-guides/) and follow it.
|
2016-02-26 11:54:48 +00:00
|
|
|
If none of the Getting Started Guides fits, you may want to pull ideas from several of the guides.
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
One option for custom networking is *OpenVSwitch GRE/VxLAN networking* ([ovs-networking.md](/docs/admin/ovs-networking)), which
|
2016-02-26 11:54:48 +00:00
|
|
|
uses OpenVSwitch to set up networking between pods across
|
|
|
|
Kubernetes nodes.
|
|
|
|
|
|
|
|
If you are modifying an existing guide which uses Salt, this document explains [how Salt is used in the Kubernetes
|
2016-02-29 23:17:22 +00:00
|
|
|
project](/docs/admin/salt).
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
## Managing a cluster, including upgrades
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
[Managing a cluster](/docs/admin/cluster-management).
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
## Managing nodes
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
[Managing nodes](/docs/admin/node).
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
## Optional Cluster Services
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
* **DNS Integration with SkyDNS** ([dns.md](/docs/admin/dns)):
|
2016-02-26 11:54:48 +00:00
|
|
|
Resolving a DNS name directly to a Kubernetes service.
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
* **Logging** with [Kibana](/docs/user-guide/logging)
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
## Multi-tenant support
|
|
|
|
|
2016-03-29 21:58:48 +00:00
|
|
|
* **Resource Quota** ([resourcequota/](/docs/admin/resourcequota/))
|
2016-02-26 11:54:48 +00:00
|
|
|
|
|
|
|
## Security
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
* **Kubernetes Container Environment** ([docs/user-guide/container-environment.md](/docs/user-guide/container-environment)):
|
2016-02-26 11:54:48 +00:00
|
|
|
Describes the environment for Kubelet managed containers on a Kubernetes
|
|
|
|
node.
|
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
* **Securing access to the API Server** [accessing the api](/docs/admin/accessing-the-api)
|
2016-02-26 11:54:48 +00:00
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
* **Authentication** [authentication](/docs/admin/authentication)
|
2016-02-26 11:54:48 +00:00
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
* **Authorization** [authorization](/docs/admin/authorization)
|
2016-02-26 11:54:48 +00:00
|
|
|
|
2016-02-29 23:17:22 +00:00
|
|
|
* **Admission Controllers** [admission_controllers](/docs/admin/admission-controllers)
|