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
Copy file name to clipboardExpand all lines: docs/reference/embedded-config.mdx
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,9 @@ spec:
34
34
- name: app
35
35
labels:
36
36
app: "true"
37
+
domains:
38
+
proxyRegistryDomain: images.mycompany.com
39
+
replicatedAppDomain: updates.mycompany.com
37
40
extensions:
38
41
helm:
39
42
repositories:
@@ -148,6 +151,27 @@ spec:
148
151
gpu: "true" # Label applied to "gpu" nodes
149
152
```
150
153
154
+
## domains
155
+
156
+
You can configure the `domains` key so that Replicated Embedded Cluster uses your custom domains for the Replicated proxy registry and Replicated app service.
157
+
158
+
When the `domains.proxyRegistryDomain` and `domains.appServiceDomain` fields are set, Embedded Cluster uses the custom domains specified for requests to the proxy service and app service. Embedded Cluster also passes the domains to KOTS to ensure that KOTS uses the same custom domains for requests these services.
159
+
160
+
If the `domains.proxyRegistryDomain` and `domains.appServiceDomain` fields are not set, Embedded Cluster uses the default Replicated domains.
161
+
162
+
For more information about adding custom domains to alias Replicated endpoints, see [About Custom Domains](/vendor/custom-domains).
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.
Copy file name to clipboardExpand all lines: docs/vendor/custom-domains-using.md
+40-9Lines changed: 40 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,14 @@
1
1
# Using Custom Domains
2
2
3
-
This topic describes how to use the Replicated Vendor Portal to add and manage custom domains to alias the Replicated registry, the Replicated proxy registry, the Replicated app service, and the download portal.
3
+
This topic describes how to use the Replicated Vendor Portal to add and manage custom domains to alias the Replicated registry, the Replicated proxy registry, the Replicated app service, and the Download Portal.
4
4
5
5
For information about adding and managing custom domains with the Vendor API v3, see the [customHostnames](https://replicated-vendor-api.readme.io/reference/createcustomhostname) section in the Vendor API v3 documentation.
6
6
7
-
For an overview about custom domains and limitations, see [About Custom Domains](custom-domains).
7
+
For more information about custom domains, see [About Custom Domains](custom-domains).
8
8
9
-
## Configure a Custom Domain
9
+
## Add a Custom Domain in the Vendor Portal {#add-domain}
10
10
11
-
Before you assign a custom domain for a registry or the download portal, you must first configure and verify the ownership and TLS certificate.
12
-
13
-
To add and configure a custom domain:
11
+
To add and verify a custom domain:
14
12
15
13
1. In the [Vendor Portal](https://vendor.replicated.com), go to **Custom Domains**.
16
14
@@ -30,6 +28,11 @@ To add and configure a custom domain:
30
28
31
29
Your changes can take up to 24 hours to propagate.
32
30
31
+
TXT records must be created to verify:
32
+
33
+
- Domain ownership: Domain ownership is verified when you initially add a record.
34
+
- TLS certificate creation: Each new domain must have a new TLS certificate to be verified.
35
+
33
36
1. For **TLS cert creation verification**, copy the text string and use it to create a TXT record in your DNS account if displayed. If a TXT record is not displayed, ownership will be validated automatically using an HTTP token. Click **Validate & continue**.
34
37
35
38
Your changes can take up to 24 hours to propagate.
@@ -59,11 +62,39 @@ To add and configure a custom domain:
59
62
Replicated recommends that you do _not_ set a domain as the default until you are ready for it to be used by customers.
60
63
:::
61
64
62
-
The Vendor Portal marks the domain as **Configured** after the verification checks for ownership and TLS certificate creation are complete.
65
+
After the verification checks for ownership and TLS certificate creation are complete, the Vendor Portal marks the domain as **Configured**.
66
+
67
+
1. (Optional) After a domain is marked as **Configured**, you can remove any TXT records that you created in your DNS account.
63
68
64
69
## Use Custom Domains
65
70
66
-
After you configure one or more custom domains in the Vendor Portal, you assign a custom domain by setting it as the default for all channels and customers or by assigning it to an individual release channel.
71
+
After you add one or more custom domains in the Vendor Portal, you can configure your application to use the domains.
72
+
73
+
### Configure Embedded Cluster to Use Custom Domains
74
+
75
+
You can configure Replicated Embedded Cluster to use your custom domains for the Replicated proxy registry and Replicated app service.
76
+
77
+
To configure Embedded Cluster to use your custom domains for the proxy registry and app service:
78
+
79
+
1. Add the custom domains that you want to use for the proxy registry and the app service. See [Add a Custom Domain in the Vendor Portal](#add-domain) above.
80
+
81
+
1. In the [Embedded Cluster Config](/reference/embedded-config) spec for your application, add `domains.proxyRegistryDomain` and `domains.appServiceDomain`. Set each field to your custom domain for the given service.
For more information, see [domains](/reference/embedded-config#domains) in _Embedded Cluster Config_.
96
+
97
+
1. Save your changes and add the Embedded Cluster Config to a new release. Promote the release to the channel that your team uses for testing and install with Embedded Cluster in a development environment to test your changes.
67
98
68
99
### Set a Default Domain
69
100
@@ -109,7 +140,7 @@ To reuse a custom domain for another application:
109
140
110
141
1. Click **Custom Domains**.
111
142
112
-
1. In the section for the target endpoint, click Add your first custom domain for your first domain, or click **Add new domain** for additional domains.
143
+
1. In the section for the target endpoint, click **Add your first custom domain** for your first domain, or click **Add new domain** for additional domains.
This topic provides an overview and the limitations of using custom domains to alias the Replicated private registry, Replicated proxy registry, Replicated app service, and the Download Portal.
3
+
This topic provides an overview and the limitations of using custom domains to alias the Replicated proxy registry, the Replicated app service, the Replicated Download Portal, and the Replicated private registry.
4
4
5
-
For information about configuring and managing custom domains, see [Using Custom Domains](custom-domains-using).
5
+
For information about adding and assigning custom domains, see [Using Custom Domains](custom-domains-using).
6
6
7
7
## Overview
8
8
9
9
You can use custom domains to alias Replicated endpoints by creating Canonical Name (CNAME) records for your domains.
10
10
11
11
Replicated domains are external to your domain and can require additional security reviews by your customer. Using custom domains as aliases can bring the domains inside an existing security review and reduce your exposure.
12
12
13
-
TXT records must be created to verify:
13
+
You can configure custom domains for the following services:
14
14
15
-
- Domain ownership: Domain ownership is verified when you initially add a record.
16
-
- TLS certificate creation: Each new domain must have a new TLS certificate to be verified.
15
+
-**Proxy registry:** Images can be proxied from external private registries using the Replicated proxy registry. By default, the proxy registry uses the domain `proxy.replicated.com`. Replicated recommends using a CNAME such as `proxy.{your app name}.com`.
17
16
18
-
The TXT records can be removed after the verification is complete.
17
+
-**Replicated app service:** Upstream application YAML and metadata, including a license ID, are pulled from the app service. By default, this service uses the domain `replicated.app`. Replicated recommends using a CNAME such as `updates.{your app name}.com`.
19
18
20
-
You can configure custom domains for the following services, so that customer-facing URLs reflect your company's brand:
19
+
-**Download Portal:** The Download Portal can be used to share customer license files, air gap bundles, and so on. By default, the Download Portal uses the domain `get.replicated.com`. Replicated recommends using a CNAME such as `portal.{your app name}.com` or `enterprise.{your app name}.com`.
21
20
22
-
-**Replicated registry:** Images and Helm charts can be pulled from the Replicated registry. By default, this registry uses the domain `registry.replicated.com`. We suggest using a CNAME such as `registry.{your app name}.com`.
23
-
24
-
-**Proxy registry:** Images can be proxied from external private registries using the Replicated proxy registry. By default, the proxy registry uses the domain `proxy.replicated.com`. We suggest using a CNAME such as `proxy.{your app name}.com`.
25
-
26
-
-**Replicated app service:** Upstream application YAML and metadata, including a license ID, are pulled from replicated.app. By default, this service uses the domain `replicated.app`. We suggest using a CNAME such as `updates.{your app name}.com`.
27
-
28
-
-**Download Portal:** The Download Portal can be used to share customer license files, air gap bundles, and so on. By default, the Download Portal uses the domain `get.replicated.com`. We suggest using a CNAME such as `portal.{your app name}.com` or `enterprise.{your app name}.com`.
21
+
-**Replicated registry:** Images and Helm charts can be pulled from the Replicated registry. By default, this registry uses the domain `registry.replicated.com`. Replicated recommends using a CNAME such as `registry.{your app name}.com`.
29
22
30
23
## Limitations
31
24
32
25
Using custom domains has the following limitations:
33
26
34
27
- A single custom domain cannot be used for multiple endpoints. For example, a single domain can map to `registry.replicated.com` for any number of applications, but cannot map to both `registry.replicated.com` and `proxy.replicated.com`, even if the applications are different.
35
28
36
-
- Custom domains cannot be used to alias api.replicated.com (legacy customer-facing APIs) or kURL.
29
+
- Custom domains cannot be used to alias `api.replicated.com` (legacy customer-facing APIs) or kURL.
37
30
38
31
- Multiple custom domains can be configured, but only one custom domain can be the default for each Replicated endpoint. All configured custom domains work whether or not they are the default.
39
32
40
-
-A particular custom domain can only be used by one team.
Copy file name to clipboardExpand all lines: docs/vendor/embedded-overview.mdx
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,8 +119,6 @@ Embedded Cluster has the following limitations:
119
119
120
120
***Kubernetes version template functions not supported**: The KOTS [KubernetesVersion](/reference/template-functions-static-context#kubernetesversion), [KubernetesMajorVersion](/reference/template-functions-static-context#kubernetesmajorversion), and [KubernetesMinorVersion](/reference/template-functions-static-context#kubernetesminorversion) template functions do not provide accurate Kubernetes version information for Embedded Cluster installations. This is because these template functions are rendered before the Kubernetes cluster has been updated to the intended version. However, `KubernetesVersion` is not necessary for Embedded Cluster because vendors specify the Embedded Cluster version, which includes a known Kubernetes version.
121
121
122
-
***Custom domains not supported**: Embedded Cluster does not support the use of custom domains, even if custom domains are configured. We intend to add support for custom domains. For more information about custom domains, see [About Custom Domains](/vendor/custom-domains).
123
-
124
122
***KOTS Auto-GitOps workflow not supported**: Embedded Cluster does not support the KOTS Auto-GitOps workflow. If an end-user is interested in GitOps, consider the Helm install method instead. For more information, see [Installing with Helm](/vendor/install-with-helm).
125
123
126
124
***Downgrading Kubernetes not supported**: Embedded Cluster does not support downgrading Kubernetes. The admin console will not prevent end-users from attempting to downgrade Kubernetes if a more recent version of your application specifies a previous Embedded Cluster version. You must ensure that you do not promote new versions with previous Embedded Cluster versions.
0 commit comments