Skip to content
This repository was archived by the owner on Feb 12, 2021. It is now read-only.

Commit d403f23

Browse files
authored
Merge pull request #1276 from bgilbert/aws
os/ec2: try to fix HTML in "test cluster" section
2 parents ac83efa + e441391 commit d403f23

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

os/booting-on-ec2.md

+48-48
Original file line numberDiff line numberDiff line change
@@ -265,22 +265,22 @@ First we need to create a security group to allow Container Linux instances to c
265265
</li>
266266
<li>
267267
Use <a href="provisioning.md">ct</a> to convert the following configuration into an Ignition config, and back in the EC2 dashboard, paste it into the "User Data" field.
268-
```yaml container-linux-config:ec2
269-
etcd:
270-
# All options get passed as command line flags to etcd.
271-
# Any information inside curly braces comes from the machine at boot time.
272-
273-
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
274-
advertise_client_urls: "http://{PRIVATE_IPV4}:2379"
275-
initial_advertise_peer_urls: "http://{PRIVATE_IPV4}:2380"
276-
# listen on both the official ports and the legacy ports
277-
# legacy ports can be omitted if your application doesn't depend on them
278-
listen_client_urls: "http://0.0.0.0:2379"
279-
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
280-
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
281-
# specify the initial size of your cluster with ?size=X
282-
discovery: "https://discovery.etcd.io/<token>"
283-
```
268+
```yaml container-linux-config:ec2
269+
etcd:
270+
# All options get passed as command line flags to etcd.
271+
# Any information inside curly braces comes from the machine at boot time.
272+
273+
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
274+
advertise_client_urls: "http://{PRIVATE_IPV4}:2379"
275+
initial_advertise_peer_urls: "http://{PRIVATE_IPV4}:2380"
276+
# listen on both the official ports and the legacy ports
277+
# legacy ports can be omitted if your application doesn't depend on them
278+
listen_client_urls: "http://0.0.0.0:2379"
279+
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
280+
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
281+
# specify the initial size of your cluster with ?size=X
282+
discovery: "https://discovery.etcd.io/<token>"
283+
```
284284
<ul>
285285
<li>Paste configuration into "User Data"</li>
286286
<li>"Continue"</li>
@@ -339,22 +339,22 @@ First we need to create a security group to allow Container Linux instances to c
339339
</li>
340340
<li>
341341
Use <a href="provisioning.md">ct</a> to convert the following configuration into an Ignition config, and back in the EC2 dashboard, paste it into the "User Data" field.
342-
```yaml container-linux-config:ec2
343-
etcd:
344-
# All options get passed as command line flags to etcd.
345-
# Any information inside curly braces comes from the machine at boot time.
346-
347-
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
348-
advertise_client_urls: "http://{PRIVATE_IPV4}:2379"
349-
initial_advertise_peer_urls: "http://{PRIVATE_IPV4}:2380"
350-
# listen on both the official ports and the legacy ports
351-
# legacy ports can be omitted if your application doesn't depend on them
352-
listen_client_urls: "http://0.0.0.0:2379"
353-
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
354-
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
355-
# specify the initial size of your cluster with ?size=X
356-
discovery: "https://discovery.etcd.io/<token>"
357-
```
342+
```yaml container-linux-config:ec2
343+
etcd:
344+
# All options get passed as command line flags to etcd.
345+
# Any information inside curly braces comes from the machine at boot time.
346+
347+
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
348+
advertise_client_urls: "http://{PRIVATE_IPV4}:2379"
349+
initial_advertise_peer_urls: "http://{PRIVATE_IPV4}:2380"
350+
# listen on both the official ports and the legacy ports
351+
# legacy ports can be omitted if your application doesn't depend on them
352+
listen_client_urls: "http://0.0.0.0:2379"
353+
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
354+
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
355+
# specify the initial size of your cluster with ?size=X
356+
discovery: "https://discovery.etcd.io/<token>"
357+
```
358358
<ul>
359359
<li>Paste configuration into "User Data"</li>
360360
<li>"Continue"</li>
@@ -413,22 +413,22 @@ First we need to create a security group to allow Container Linux instances to c
413413
</li>
414414
<li>
415415
Use <a href="provisioning.md">ct</a> to convert the following configuration into an Ignition config, and back in the EC2 dashboard, paste it into the "User Data" field.
416-
```yaml container-linux-config:ec2
417-
etcd:
418-
# All options get passed as command line flags to etcd.
419-
# Any information inside curly braces comes from the machine at boot time.
420-
421-
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
422-
advertise_client_urls: "http://{PRIVATE_IPV4}:2379"
423-
initial_advertise_peer_urls: "http://{PRIVATE_IPV4}:2380"
424-
# listen on both the official ports and the legacy ports
425-
# legacy ports can be omitted if your application doesn't depend on them
426-
listen_client_urls: "http://0.0.0.0:2379"
427-
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
428-
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
429-
# specify the initial size of your cluster with ?size=X
430-
discovery: "https://discovery.etcd.io/<token>"
431-
```
416+
```yaml container-linux-config:ec2
417+
etcd:
418+
# All options get passed as command line flags to etcd.
419+
# Any information inside curly braces comes from the machine at boot time.
420+
421+
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
422+
advertise_client_urls: "http://{PRIVATE_IPV4}:2379"
423+
initial_advertise_peer_urls: "http://{PRIVATE_IPV4}:2380"
424+
# listen on both the official ports and the legacy ports
425+
# legacy ports can be omitted if your application doesn't depend on them
426+
listen_client_urls: "http://0.0.0.0:2379"
427+
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
428+
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
429+
# specify the initial size of your cluster with ?size=X
430+
discovery: "https://discovery.etcd.io/<token>"
431+
```
432432
<ul>
433433
<li>Paste configuration into "User Data"</li>
434434
<li>"Continue"</li>

0 commit comments

Comments
 (0)