-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9984 from olemarkus/docs-prod-recommendations
Production recommendations document
- Loading branch information
Showing
6 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Recommendations for production setups | ||
|
||
The getting started-documentation is a fast way of spinning up a Kubernetes cluster, but there are some aspects of _kops_ that require extra consideration. This document will highlight the most important things you should know about before deploying your production workload. | ||
|
||
## High availability | ||
|
||
Running only a single master can be error prone and disruptive. | ||
|
||
Read through the [high availability documentation](../operations/high_availability.md) to learn how to set up a cluster with redundant control plane. | ||
|
||
## Networking | ||
|
||
The default networking of _kops_, kubenet, is **not** recommended for production. Most importantly, it does not support network policies, nor does it support internal networking. | ||
|
||
Read through the [networking page](../networking.md) and choose a stable CNI. | ||
|
||
## Private topology | ||
|
||
By default kops will create clusters using public topology, where all nodes and the Kubernetes API are exposed on public Internet. | ||
|
||
Read through the [topology page](../topology.md) to understand the options you have running nodes in internal IP addresses and using a [bastion](../bastion.md) for SSH access. | ||
|
||
## Cluster spec | ||
|
||
The `kops` command allows you to configure some aspects of your cluster, but for almost any production cluster, you want to change settings that is not accecible through CLI. The cluster spec can be exported as a yaml file and checked into version control. | ||
|
||
Read through the [cluster spec page](../cluster_spec.md) and familiarize yourself with the key options that kops offers. | ||
|
||
## Templating | ||
|
||
If your cluster contains multiple Instance Groups, or if you manage multiple clusters, you want to use generate the cluster spec using templates. | ||
|
||
Read through the [templating documentation](../operations/cluster_template.md) to learn how to make use of templates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters