You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/aws-china.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Getting Started
4
4
5
-
kOps used to only support Google Cloud DNS and Amazon Route53 to provision a kubernetes cluster. But since 1.6.2 `gossip` has been added which make it possible to provision a cluster without one of those DNS providers. Thanks to `gossip`, it's officially supported to provision a fully-functional kubernetes cluster in AWS China Region [which doesn't have Route53 so far][1] since [1.7][2]. Should support both `cn-north-1` and `cn-northwest-1`, but only `cn-north-1` is tested.
5
+
kOps supports provisioning a cluster without a hosted DNS provider by using `--dns=none`, which makes it possible to provision a fully-functional kubernetes cluster in AWS China Region [which doesn't have Route53 so far][1]. Should support both `cn-north-1` and `cn-northwest-1`, but only `cn-north-1` is tested.
6
6
7
7
Most of the following procedures to provision a cluster are the same with [the guide to use kOps in AWS](getting_started/aws.md). The differences will be highlighted and the similar parts will be omitted.
8
8
@@ -33,11 +33,11 @@ export AWS_REGION=$(aws configure get region)
As the note kindly pointing out, a gossip-based cluster can be easily created by having the cluster name end with `.k8s.local`. We will adopt this trick below. Rest of this section can be skipped safely.
36
+
As the note kindly pointing out, a cluster without hosted DNS can be easily created by using `--dns=none` and having the cluster name end with `.k8s.local`. We will adopt this trick below. Rest of this section can be skipped safely.
37
37
38
38
## [Testing your DNS setup](getting_started/aws.md#testing-your-dns-setup)
39
39
40
-
Thanks to `gossip`, this section can be skipped safely as well.
40
+
Thanks to `--dns=none`, this section can be skipped safely as well.
41
41
42
42
## [Cluster State storage](getting_started/aws.md#cluster-state-storage)
- "NAME" will be an environment variable that we'll use from now in order to refer to our cluster name. For this practical exercise, our cluster name is "coreosbasedkopscluster.k8s.local".
50
-
- Because we'll use gossip DNS instead of a valid DNS domain on AWS ROUTE53 service, our cluster name needs to include the string **".k8s.local"** at the end (this is covered on our AWS tutorials). You can see more about this on our [Getting Started Doc.](../getting_started/aws.md)
50
+
- Because we'll use `--dns=none` instead of a valid DNS domain on AWS ROUTE53 service, our cluster name needs to include the string **".k8s.local"** at the end (this is covered on our AWS tutorials). You can see more about this on our [Getting Started Doc.](../getting_started/aws.md)
- "NAME" will be an environment variable that we'll use from now in order to refer to our cluster name. For this practical exercise, our cluster name is "privatekopscluster.k8s.local".
51
-
- Because we'll use gossip DNS instead of a valid DNS domain on AWS ROUTE53 service, our cluster name need to include the string **".k8s.local"** at the end (this is covered on our AWS tutorials). You can see more about this on our [Getting Started Doc.](../getting_started/aws.md)
51
+
- Because we'll use `--dns=none` instead of a valid DNS domain on AWS ROUTE53 service, our cluster name need to include the string **".k8s.local"** at the end (this is covered on our AWS tutorials). You can see more about this on our [Getting Started Doc.](../getting_started/aws.md)
In the below example, `dev5.k8s.local` should be replaced with any cluster name that ends with `.k8s.local` such that a gossip based cluster is created.
66
+
In the below example, `dev5.k8s.local` should be replaced with any cluster name that ends with `.k8s.local` such that a cluster without hosted DNS is created.
67
67
Ensure the master-count is odd-numbered. A load balancer is created dynamically front-facing the master instances.
These basic commands create a cluster with default parameters:
84
82
- Container Network Interface = `cilium`. To change it, set the flag `--networking=calico`. To see the list of supported CNIs, check the [networking page](../networking.md)
@@ -129,7 +127,7 @@ NB: keep in mind that every new call to kOps with the flags `--target=terraform
129
127
130
128
## For clusters with load-balancers
131
129
132
-
This concerns clusters using no DNS and gossip DNS. For these types of cluster, a small trick is needed because kOps doesn't know the IPs of the load-balancer at the time of writing the instances' cloud-init configuration, so we will have to run an update, then a rolling-update.
130
+
This concerns clusters using no DNS. For these types of cluster, a small trick is needed because kOps doesn't know the IPs of the load-balancer at the time of writing the instances' cloud-init configuration, so we will have to run an update, then a rolling-update.
0 commit comments