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
@@ -14,7 +19,7 @@ When deploying a cluster that uses Local Zones, consider the following points:
14
19
15
20
[IMPORTANT]
16
21
====
17
-
Generally, the Maximum Transmission Unit (MTU) between an Amazon EC2 instance in a Local Zone and an Amazon EC2 instance in the Region is 1300. For more information, see link:https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html[How Local Zones work] in the AWS documentation.
22
+
Generally, the maximum transmission unit (MTU) between an Amazon EC2 instance in a Local Zone and an Amazon EC2 instance in the Region is 1300. For more information, see link:https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html[How Local Zones work] in the AWS documentation.
18
23
The cluster network MTU must be always less than the EC2 MTU to account for the overhead. The specific overhead is determined by the network plugin, for example:
19
24
20
25
- OVN-Kubernetes: `100 bytes`
@@ -39,6 +44,7 @@ By default, the system creates the edge compute pool manifests only if users add
39
44
40
45
By default, the machine sets for the edge compute pool defines the taint of `NoSchedule` to prevent regular workloads from spreading on Local Zone instances. Users can only run user workloads if they define tolerations in the pod specification.
41
46
47
+
ifndef::edge[]
42
48
The following examples show `install-config.yaml` files that use the edge machine pool.
43
49
44
50
.Configuration that uses an edge pool with a custom instance type
@@ -106,3 +112,8 @@ pullSecret: '{"auths": ...}'
106
112
sshKey: ssh-ed25519 AAAA...
107
113
----
108
114
<1> Specify the name of the security group as it appears in the Amazon EC2 console, including the `sg` prefix.
@@ -12,6 +13,23 @@ If you plan to create the subnets in AWS Local Zones, you must opt in to each zo
12
13
13
14
* You have installed the AWS CLI.
14
15
* You have determined an AWS Region for where you want to deploy your {product-title} cluster.
16
+
* You have attached a permissive IAM policy to a user or role account that opts in to the zone group. Consider the following configuration as an example IAM policy:
17
+
+
18
+
[source,yaml]
19
+
----
20
+
{
21
+
"Version": "2012-10-17",
22
+
"Statement": [
23
+
{
24
+
"Action": [
25
+
"ec2:ModifyAvailabilityZoneGroup"
26
+
],
27
+
"Effect": "Allow",
28
+
"Resource": "*"
29
+
}
30
+
]
31
+
}
32
+
----
15
33
16
34
.Procedure
17
35
@@ -36,6 +54,7 @@ Depending on the AWS Region, the list of available zones can be long. The comman
36
54
[source,terminal]
37
55
----
38
56
$ aws ec2 modify-availability-zone-group \
39
-
--group-name "<value_of_GroupName>" \
57
+
--group-name "<value_of_GroupName>" \// <1>
40
58
--opt-in-status opted-in
41
59
----
60
+
<1> For `<value_of_GroupName>`, specify the name of the group of the Local Zone where you want to create subnets. For example, specify `us-east-1-nyc-1` to use the zone `us-east-1-nyc-1a` (US East New York).
When the new compute machine set is available, the `DESIRED` and `CURRENT` values match. If the compute machine set is not available, wait a few minutes and run the command again.
224
234
235
+
ifdef::localzone[]
236
+
* Optional: To check nodes that were created by the edge machine, run the following command:
0 commit comments