Skip to content

Commit d392ad4

Browse files
committed
Doc new --cidr flag
1 parent 20a7505 commit d392ad4

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

docs/reference/embedded-cluster-install.mdx

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,17 @@ sudo ./APP_SLUG install --license LICENSE_FILE [flags]
7474
<p>The following are never proxied:</p>
7575
<ul>
7676
<li>Internal cluster communication (`localhost`, `127.0.0.1`, `.cluster.local`, `.svc`)</li>
77-
<li>The CIDRs used for assigning IPs to Kubernetes Pods and Services. By default, the Pod CIDR is `10.244.0.0/16` and the Service CIDR `10.96.0.0/12`. For information about how to change these defaults, see [Set IP Address Ranges for Pods and Services](#set-ip-address-ranges-for-pods-and-services).</li>
77+
<li>The CIDR used for assigning IPs to Kubernetes Pods and Services. By default, the CIDR is `10.244.0.0/16`. For information about how to change this default, see [Set IP Address Ranges for Pods and Services](#set-ip-address-ranges-for-pods-and-services).</li>
7878
</ul>
7979
<p>To ensure your application's internal cluster communication is not proxied, use fully qualified domain names like `my-service.my-namespace.svc` or `my-service.my-namespace.svc.cluster.local`.</p>
8080
<ProxyRequirements/>
8181
<ProxyLimitations/>
8282
</td>
8383
</tr>
8484
<tr>
85-
<td>`--pod-cidr`</td>
85+
<td>`--cidr`</td>
8686
<td>
87-
<p>The range of IP addresses that can be assigned to Pods, in CIDR notation. **Default:** By default, the Pod CIDR is `10.244.0.0/16`.</p>
88-
<p>**Limitation:** The `--pod-cidr` flag is not supported on Red Hat Enterprise Linux (RHEL) 9 operating systems.</p>
89-
</td>
90-
</tr>
91-
<tr>
92-
<td>`--service-cidr`</td>
93-
<td>
94-
<p>The range of IP addresses that can be assigned to Services, in CIDR notation. **Default:** By default, the Service CIDR is `10.96.0.0/12`.</p>
95-
<p>**Limitation:** The `--service-cidr` flags is not supported on Red Hat Enterprise Linux (RHEL) 9 operating systems.</p>
87+
<p>The range of IP addresses that can be assigned to Pods and Services, in CIDR notation. **Default:** By default, the CIDR is `10.244.0.0/16`.</p>
9688
</td>
9789
</tr>
9890
</table>
@@ -130,8 +122,8 @@ Where:
130122
* `HOST:PORT` is the host and port of the proxy server
131123
* `LIST_OF_HOSTS` is the list of hosts to not proxy. For example, the IP address of the node where you are installing. Or, for multi-node clusters, the list of IP addresses for all nodes in the cluster, typically in CIDR notation.
132124

133-
### Set IP Address Range for Pods
125+
### Set IP Address Range for Pods and Services
134126

135127
```bash
136-
sudo ./my-app install --license license.yaml --pod-cidr 172.16.136.0/16
128+
sudo ./my-app install --license license.yaml --cidr 172.16.136.0/16
137129
```

docs/vendor/embedded-disaster-recovery.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ To restore from a backup:
142142

143143
* If the installation is behind a proxy, the same proxy settings provided during install must be provided to the restore command using `--http-proxy`, `--https-proxy`, and `--no-proxy`. For more information, see [Install Behind a Proxy](/enterprise/installing-embedded#proxy).
144144

145-
* If the `--pod-cidr` and `--service-cidr` flags were used during install to the set IP address ranges for Pods and Services, these flags must be provided with the same CIDRs during the restore. If these flags are not provided or are provided with different CIDRs, the restore will fail with an error message telling you to rerun with the appropriate flags and values. However, it will take some time before that error occurs. For more information, see [Set IP Address Ranges for Pods and Services](/enterprise/installing-embedded#set-ip-address-ranges-for-pods-and-services).
145+
* If the `--cidr` flag was used during install to the set IP address ranges for Pods and Services, this flag must be provided with the same CIDR during the restore. If this flag is not provided or is provided with a different CIDR, the restore will fail with an error message telling you to rerun with the appropriate value. However, it will take some time before that error occurs. For more information, see [Set IP Address Ranges for Pods and Services](/enterprise/installing-embedded#set-ip-address-ranges-for-pods-and-services).
146146

147147
* If the `--local-artifact-mirror-port` flag was used during install to change the port for the Local Artifact Mirror (LAM), you can optionally use the `--local-artifact-mirror-port` flag to choose a different LAM port during restore. For example, `restore --local-artifact-mirror-port=50000`. If no LAM port is provided during restore, the LAM port that was supplied during installation will be used. For more information, see [Change Admin Console and LAM Ports](/enterprise/installing-embedded#adm-lam-ports).
148148

0 commit comments

Comments
 (0)