Skip to content

Commit 9a316de

Browse files
authored
Merge pull request #2798 from replicatedhq/115177
Add missing install flags
2 parents bc2f984 + b5162ca commit 9a316de

File tree

1 file changed

+42
-2
lines changed

1 file changed

+42
-2
lines changed

docs/reference/embedded-cluster-install.mdx

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ sudo ./APP_SLUG install --license LICENSE_FILE [flags]
2121
<th width="35%">Flag</th>
2222
<th width="65%">Description</th>
2323
</tr>
24+
<tr>
25+
<td>`--admin-console-password`</td>
26+
<td>
27+
<p>Set the password for the Admin Console. The password must be at least six characters in length. If not set, the user is prompted to provide an Admin Console password.</p>
28+
</td>
29+
</tr>
2430
<tr>
2531
<td>`--admin-console-port`</td>
2632
<td>
@@ -72,6 +78,12 @@ sudo ./APP_SLUG install --license LICENSE_FILE [flags]
7278
<p>Port on which to run the Local Artifact Mirror (LAM). **Default**: By default, the LAM runs on port 50000.</p>
7379
</td>
7480
</tr>
81+
<tr>
82+
<td>`--network-interface`</td>
83+
<td>
84+
<p>The name of the network interface to bind to for the Kubernetes API. A common use case of `--network-interface` is for multi-node clusters where node communication should happen on a particular network. **Default**: If a network interface is not provided, the first valid, non-local network interface is used.</p>
85+
</td>
86+
</tr>
7587
<tr>
7688
<td>`--no-proxy`</td>
7789
<td>
@@ -87,6 +99,13 @@ sudo ./APP_SLUG install --license LICENSE_FILE [flags]
8799
<ProxyLimitations/>
88100
</td>
89101
</tr>
102+
<tr>
103+
<td>`--private-ca`</td>
104+
<td>
105+
<p>The path to trusted certificate authority (CA) certificates. Using the `--private-ca` flag ensures that the CA is trusted by the installation. KOTS writes the CA certificates provided with the `--private-ca` flag to a ConfigMap in the cluster.</p>
106+
<p>The KOTS [PrivateCACert](/reference/template-functions-static-context#privatecacert) template function returns the ConfigMap containing the private CA certificates supplied with the `--private-ca` flag. You can use this template function to mount the ConfigMap so your containers trust the CA too.</p>
107+
</td>
108+
</tr>
90109
</table>
91110

92111
## Examples
@@ -100,7 +119,7 @@ sudo ./myapp install --license license.yaml --airgap-bundle myapp.airgap
100119
### Change the Admin Console and LAM Ports
101120

102121
```bash
103-
sudo ./myapp install --admin-console-port=20000 --local-artifact-mirror-port=40000
122+
sudo ./myapp install --license license.yaml --admin-console-port=20000 --local-artifact-mirror-port=40000
104123
```
105124

106125
### Change the Data Directory
@@ -112,7 +131,7 @@ sudo ./my-app install --license license.yaml --data-dir /data/embedded-cluster
112131
### Install Behind a Proxy
113132

114133
```bash
115-
sudo ./APP_SLUG install --license LICENSE_FILE \
134+
sudo ./APP_SLUG install --license license.yaml \
116135
--http-proxy=HOST:PORT \
117136
--https-proxy=HOST:PORT \
118137
--no-proxy=LIST_OF_HOSTS
@@ -122,8 +141,29 @@ Where:
122141
* `HOST:PORT` is the host and port of the proxy server
123142
* `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.
124143

144+
### Install Behind an MITM Proxy
145+
146+
```bash
147+
sudo ./APP_SLUG install --license license.yaml --private-ca /path/to/private-ca-bundle \
148+
--http-proxy=http://10.128.0.0:3300 \
149+
--https-proxy=http://10.128.0.0:3300 \
150+
--no-proxy=123.89.46.4,10.96.0.0/16,*.example.com
151+
```
152+
153+
### Set Admin Console Password
154+
155+
```bash
156+
sudo ./my-app install --license license.yaml --admin-console-password password
157+
```
158+
125159
### Set IP Address Range for Pods and Services
126160

127161
```bash
128162
sudo ./my-app install --license license.yaml --cidr 172.16.136.0/16
129163
```
164+
165+
### Use a Specific Network Interface
166+
167+
```bash
168+
sudo ./my-app install --license license.yaml --network-interface eno167777
169+
```

0 commit comments

Comments
 (0)