Skip to content

Commit 2be8201

Browse files
authored
Merge branch 'main' into automation/vendor-portal-release-notes-v2025.03.13-5
2 parents e5c2e70 + 6dd1166 commit 2be8201

File tree

73 files changed

+618
-268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+618
-268
lines changed

docs/enterprise/embedded-manage-nodes.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ Multi-node clusters with Embedded Cluster have the following limitations:
1010

1111
* Support for multi-node clusters with Embedded Cluster is Beta. Only single-node embedded clusters are Generally Available (GA).
1212

13-
* High availability for Embedded Cluster in an Alpha feature. This feature is subject to change, including breaking changes. To get access to this feature, reach out to Alex Parker at [[email protected]](mailto:[email protected]).
13+
* High availability for Embedded Cluster in an Alpha feature. This feature is subject to change, including breaking changes. For more information about this feature, reach out to Alex Parker at [[email protected]](mailto:[email protected]).
1414

1515
* The same Embedded Cluster data directory used at installation is used for all nodes joined to the cluster. This is either the default `/var/lib/embedded-cluster` directory or the directory set with the [`--data-dir`](/reference/embedded-cluster-install#flags) flag. You cannot choose a different data directory for Embedded Cluster when joining nodes.
1616

17+
* More than one controller node should not be joined at the same time. When joining a controller node, a warning is printed that explains that the user should not attempt to join another node until the controller node joins successfully.
18+
1719
## Add Nodes to a Cluster (Beta) {#add-nodes}
1820

1921
You can add nodes to create a multi-node cluster in online (internet-connected) and air-gapped (limited or no outbound internet access) environments. The Admin Console provides the join command that you use to join nodes to the cluster.
@@ -86,7 +88,7 @@ To add nodes to a cluster:
8688
Multi-node clusters are not highly available by default. The first node of the cluster is special and holds important data for Kubernetes and KOTS, such that the loss of this node would be catastrophic for the cluster. Enabling high availability (HA) requires that at least three controller nodes are present in the cluster. Users can enable HA when joining the third node.
8789

8890
:::important
89-
High availability for Embedded Cluster in an Alpha feature. This feature is subject to change, including breaking changes. To get access to this feature, reach out to Alex Parker at [[email protected]](mailto:[email protected]).
91+
High availability for Embedded Cluster in an Alpha feature. This feature is subject to change, including breaking changes. For more information about this feature, reach out to Alex Parker at [[email protected]](mailto:[email protected]).
9092
:::
9193

9294
### HA Architecture
@@ -107,7 +109,7 @@ Enabling high availability has the following requirements:
107109

108110
Enabling high availability has the following limitations:
109111

110-
* High availability for Embedded Cluster in an Alpha feature. This feature is subject to change, including breaking changes. To get access to this feature, reach out to Alex Parker at [[email protected]](mailto:[email protected]).
112+
* High availability for Embedded Cluster in an Alpha feature. This feature is subject to change, including breaking changes. For more information about this feature, reach out to Alex Parker at [[email protected]](mailto:[email protected]).
111113

112114
* The `--enable-ha` flag serves as a feature flag during the Alpha phase. In the future, the prompt about migrating to high availability will display automatically if the cluster is not yet HA and you are adding the third or more controller node.
113115

@@ -142,4 +144,4 @@ To create a multi-node HA cluster:
142144
![high availability command line prompt](/images/embedded-cluster-ha-prompt.png)
143145
[View a larger version of this image](/images/embedded-cluster-ha-prompt.png)
144146

145-
1. Wait for the migration to complete.
147+
1. Wait for the migration to complete.

docs/partials/embedded-cluster/_port-reqs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This section lists the ports used by Embedded Cluster. These ports must be open
55
The following ports must be open and available for use by local processes running on the same node. It is not necessary to create firewall openings for these ports.
66

77
* 2379/TCP
8+
* 7443/TCP
89
* 9099/TCP
910
* 10248/TCP
1011
* 10257/TCP
@@ -21,7 +22,6 @@ For single-node installations, ensure that there are no other processes using th
2122
* 2380/TCP
2223
* 4789/UDP
2324
* 6443/TCP
24-
* 7443/TCP
2525
* 9091/TCP
2626
* 9443/TCP
2727
* 10249/TCP
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
To access the cluster and use other included binaries:
2+
3+
1. SSH onto a controller node.
4+
5+
:::note
6+
You cannot run the `shell` command on worker nodes.
7+
:::
8+
9+
1. Use the Embedded Cluster shell command to start a shell with access to the cluster:
10+
11+
```
12+
sudo ./APP_SLUG shell
13+
```
14+
Where `APP_SLUG` is the unique slug for the application.
15+
16+
The output looks similar to the following:
17+
```
18+
__4___
19+
_ \ \ \ \ Welcome to APP_SLUG debug shell.
20+
<'\ /_/_/_/ This terminal is now configured to access your cluster.
21+
((____!___/) Type 'exit' (or CTRL+d) to exit.
22+
\0\0\0\0\/ Happy hacking.
23+
~~~~~~~~~~~
24+
root@alex-ec-1:/home/alex# export KUBECONFIG="/var/lib/embedded-cluster/k0s/pki/admin.conf"
25+
root@alex-ec-1:/home/alex# export PATH="$PATH:/var/lib/embedded-cluster/bin"
26+
root@alex-ec-1:/home/alex# source <(k0s completion bash)
27+
root@alex-ec-1:/home/alex# source <(cat /var/lib/embedded-cluster/bin/kubectl_completion_bash.sh)
28+
root@alex-ec-1:/home/alex# source /etc/bash_completion
29+
```
30+
31+
The appropriate kubeconfig is exported, and the location of useful binaries like kubectl and Replicated’s preflight and support-bundle plugins is added to PATH.
32+
33+
1. Use the available binaries as needed.
34+
35+
**Example**:
36+
37+
```bash
38+
kubectl version
39+
```
40+
```
41+
Client Version: v1.29.1
42+
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
43+
Server Version: v1.29.1+k0s
44+
```
45+
46+
1. Type `exit` or **Ctrl + D** to exit the shell.

docs/partials/kots/_download-portal-about.mdx

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Embedded Cluster includes a default support bundle spec that collects both host- and cluster-level information.
1+
Embedded Cluster includes a default support bundle spec that collects both host- and cluster-level information:
22

3-
The host-level information is useful for troubleshooting failures related to host configuration like DNS, networking, or storage problems. Cluster-level information includes details about the components provided by Replicated, such as the Admin Console and Embedded Cluster operator that manage install and upgrade operations. If the cluster has not installed successfully and cluster-level information is not available, then it is excluded from the bundle.
3+
* The host-level information is useful for troubleshooting failures related to host configuration like DNS, networking, or storage problems.
4+
* Cluster-level information includes details about the components provided by Replicated, such as the Admin Console and Embedded Cluster Operator that manage install and upgrade operations. If the cluster has not installed successfully and cluster-level information is not available, then it is excluded from the bundle.
45

56
In addition to the host- and cluster-level details provided by the default Embedded Cluster spec, support bundles generated for Embedded Cluster installations also include app-level details provided by any custom support bundle specs that you included in the application release.

docs/partials/support-bundles/_generate-bundle-ec.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
There are different steps to generate a support bundle depending on the version of Embedded Cluster installed.
2-
3-
### For Versions 1.17.0 and Later
1+
### Generate a Bundle For Versions 1.17.0 and Later
42

53
For Embedded Cluster 1.17.0 and later, you can run the Embedded Cluster `support-bundle` command to generate a support bundle.
64

@@ -22,7 +20,7 @@ To generate a support bundle:
2220

2321
Where `APP_SLUG` is the unique slug for the application.
2422

25-
### For Versions Earlier Than 1.17.0
23+
### Generate a Bundle For Versions Earlier Than 1.17.0
2624

2725
For Embedded Cluster versions earlier than 1.17.0, you can generate a support bundle from the shell using the kubectl support-bundle plugin.
2826

@@ -42,7 +40,7 @@ To generate a bundle:
4240
The output looks similar to the following:
4341

4442
```bash
45-
__4___
43+
__4___
4644
_ \ \ \ \ Welcome to APP_SLUG debug shell.
4745
<'\ /_/_/_/ This terminal is now configured to access your cluster.
4846
((____!___/) Type 'exit' (or CTRL+d) to exit.

docs/reference/embedded-cluster-install.mdx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,19 @@ sudo ./APP_SLUG install --license LICENSE_FILE [flags]
8282
<ProxyLimitations/>
8383
</td>
8484
</tr>
85+
<tr>
86+
<td>`--ignore-host-preflights`</td>
87+
<td>
88+
<p>When `--ignore-host-preflights` is passed, the host preflight checks are still run, but the user is prompted and can choose to continue with the installation if preflight failures occur. If there are no failed preflights, no user prompt is displayed. Additionally, the Admin Console still runs any application-specific preflight checks before the application is deployed. For more information about the Embedded Cluster host preflight checks, see [About Host Preflight Checks](/vendor/embedded-using#about-host-preflight-checks) in _Using Embedded Cluster_</p>
89+
<p>Ignoring host preflight checks is _not_ recommended for production installations.</p>
90+
</td>
91+
</tr>
92+
<tr>
93+
<td>`-l, --license`</td>
94+
<td>
95+
<p>Path to the license file</p>
96+
</td>
97+
</tr>
8598
<tr>
8699
<td>`--local-artifact-mirror-port`</td>
87100
<td>
@@ -116,6 +129,13 @@ sudo ./APP_SLUG install --license LICENSE_FILE [flags]
116129
<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>
117130
</td>
118131
</tr>
132+
<tr>
133+
<td>`-y, --yes`</td>
134+
<td>
135+
<p>In Embedded Cluster 1.21.0 and later, pass the `--yes` flag to provide an affirmative response to any user prompts for the command. For example, you can pass `--yes` with the `--ignore-host-preflights` flag to ignore host preflight checks during automated installations.</p>
136+
<p>**Requirement:** Embedded Cluster 1.21.0 and later</p>
137+
</td>
138+
</tr>
119139
</table>
120140

121141
## Examples
@@ -184,4 +204,4 @@ sudo ./my-app install --license license.yaml --cidr 172.16.136.0/16
184204

185205
```bash
186206
sudo ./my-app install --license license.yaml --network-interface eno167777
187-
```
207+
```

docs/reference/embedded-config.mdx

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,15 @@
22

33
This topic is a reference for the Replicated Embedded Cluster Config custom resource. For more information about Embedded Cluster, see [Using Embedded Cluster](/vendor/embedded-overview).
44

5-
:::note
6-
Embedded Cluster is in beta. If you are instead looking for information about creating Kubernetes Installers with Replicated kURL, see the [Replicated kURL](/vendor/packaging-embedded-kubernetes) section.
7-
:::
8-
95
## Overview
106

11-
To install your application with Embedded Cluster, an Embedded Cluster Config must be created in a release. Embedded Cluster installation artifacts are available only for releases that include an Embedded Cluster Config.
7+
To install your application with Embedded Cluster, an Embedded Cluster Config must be included in the release. Embedded Cluster installation artifacts are available only for releases that include an Embedded Cluster Config.
128

139
The Embedded Cluster Config lets you define several aspects of the Kubernetes cluster that will be created.
1410

15-
### Limitations
11+
### Limitation
1612

17-
* The Embedded Cluster Config does not support the use of Go template functions, including [KOTS template functions](/reference/template-functions-about).
13+
The Embedded Cluster Config does not support the use of Go template functions, including [KOTS template functions](/reference/template-functions-about).
1814

1915
For additional property-specific limitations, see the sections below.
2016

@@ -34,6 +30,9 @@ spec:
3430
- name: app
3531
labels:
3632
app: "true"
33+
domains:
34+
proxyRegistryDomain: proxy.yourcompany.com
35+
replicatedAppDomain: updates.yourcompany.com
3736
extensions:
3837
helm:
3938
repositories:
@@ -148,6 +147,29 @@ spec:
148147
gpu: "true" # Label applied to "gpu" nodes
149148
```
150149

150+
## domains
151+
152+
Configure the `domains` key so that Embedded Cluster uses your custom domains for the Replicated proxy registry and Replicated app service.
153+
154+
When `domains.proxyRegistryDomain` and `domains.replicatedAppDomain` are set, Embedded Cluster uses the custom domains specified when making requests to the given service. Embedded Cluster also passes the values to KOTS to ensure that KOTS uses the same domains for these services.
155+
156+
The custom domains that you specify in the `domains.proxyRegistryDomain` and `domains.replicatedAppDomain` fields must be added to the Vendor Portal before they can be used by Embedded Cluster. For more information, see [Add a Custom Domain in the Vendor Portal](/vendor/custom-domains-using#add-domain) in _Using Custom Domains_.
157+
158+
If `domains.proxyRegistryDomain` and `domains.replicatedAppDomain` are not set, Embedded Cluster uses the default Replicated domains. For more information about aliasing Replicated endpoints with custom domains, see [About Custom Domains](/vendor/custom-domains).
159+
160+
#### Example
161+
162+
```yaml
163+
apiVersion: embeddedcluster.replicated.com/v1beta1
164+
kind: Config
165+
spec:
166+
domains:
167+
# Your proxy registry custom domain
168+
proxyRegistryDomain: proxy.yourcompany.com
169+
# Your app service custom domain
170+
replicatedAppDomain: updates.yourcompany.com
171+
```
172+
151173
## extensions
152174

153175
If you need to install Helm charts before your application and as part of the Embedded Cluster itself, you can do this with Helm extensions. One situation where this is useful is if you want to ship an ingress controller, because Embedded Cluster does not yet include one.

docs/reference/replicated-cli-app-create.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ replicated app create "Custom App" --output table
3333

3434
```
3535
-h, --help help for create
36-
--output string The output format to use. One of: json|table (default: table) (default "table")
36+
-o, --output string The output format to use. One of: json|table (default "table")
3737
```
3838

3939
### Options inherited from parent commands

docs/reference/replicated-cli-app-ls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ replicated app ls "App Name" --output table
4444

4545
```
4646
-h, --help help for ls
47-
--output string The output format to use. One of: json|table (default: table) (default "table")
47+
-o, --output string The output format to use. One of: json|table (default "table")
4848
```
4949

5050
### Options inherited from parent commands

0 commit comments

Comments
 (0)