Skip to content

Commit d3a3905

Browse files
authored
Merge pull request #2905 from replicatedhq/116048
Clarify supported install types for using local image registries
2 parents 909cbf1 + 12f3f9d commit d3a3905

File tree

6 files changed

+39
-24
lines changed

6 files changed

+39
-24
lines changed

docs/enterprise/image-registry-kurl.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ To keep the registry from running out of storage, images that are no longer used
1515

1616
For more information about the kURL Registry add-on, see [Registry Add-On](https://kurl.sh/docs/add-ons/registry) in the kURL documentation.
1717

18+
:::note
19+
Users can also configure their own private registry for kURL installations instead of using the kURL registry. For more information, see [Configuring Local Image Registries](/enterprise/image-registry-settings).
20+
:::
21+
1822
## Trigger Garbage Collection
1923

2024
Every time the application instance is upgraded, image garbage collection automatically deletes images that are no longer used.
@@ -62,6 +66,6 @@ The kURL registry image garbage collection feature has following limitations:
6266

6367
* **Shared Image Registries**: The image garbage collection process assumes that the registry is not shared with any other instances of Replicated KOTS, nor shared with any external applications. If the built-in kURL registry is used by another external application, disable garbage collection to prevent image loss.
6468

65-
* **Customer Supplied Registries**: Image garbage collection is supported only when used with the built-in kURL registry. If the KOTS instance is configured to use a different registry, disable garbage collection to prevent image loss.
69+
* **Customer-Supplied Registries**: Image garbage collection is supported only when used with the built-in kURL registry. If the KOTS instance is configured to use a different registry, disable garbage collection to prevent image loss. For more information about configuring an image registry in the Admin Console, see [Configuring Local Image Registries](/enterprise/image-registry-settings).
6670

6771
* **Application Rollbacks**: Image garbage collection has no effect when the `allowRollback` field in the KOTS Application custom resource is set to `true`. For more information, see [Application](/reference/custom-resource-application) in _KOTS Custom Resources_.

docs/enterprise/image-registry-settings.mdx

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,53 @@
11
import ImageRegistrySettings from "../partials/image-registry/_image-registry-settings.mdx"
2+
import DockerCompatibility from "../partials/image-registry/_docker-compatibility.mdx"
23

3-
# Using Private Registries
4+
# Configuring Local Image Registries
45

56
This topic describes how to configure private registry settings in the Replicated KOTS Admin Console.
67

7-
## About Private Registries
8+
The information in this topic applies to existing cluster installations with KOTS and installations with Replicated kURL. This topic does _not_ apply to Replciated Embedded Cluster installations.
89

9-
Using a private registry lets you create a custom image pipeline. Any proprietary configurations that you make to the application are shared only with the groups that you allow access, such as your team or organization. You also have control over the storage location, logging messages, load balancing requests, and other configuration options.
10+
## Overview
1011

11-
Private registries can be used with online or air gap clusters. For kURL clusters, if the Replicated kURL installer spec includes the kURL Registry add-on, then the built-in kURL registry is used to host the application images. For more information, see [Working with the kURL Image Registry](image-registry-kurl).
12+
Using a private registry lets you create a custom image pipeline. Any proprietary configurations that you make to the application are shared only with the groups that you allow access, such as your team or organization. You also have control over the storage location, logging messages, load balancing requests, and other configuration options. Private registries can be used with online or air gap clusters.
1213

13-
## Prerequisites
14+
## Requirement
1415

15-
Your domain must support a Docker V2 protocol. For more information, see [Compatible Image Registries](installing-general-requirements#registries) in _KOTS Installation Requirements_.
16+
The domain of the image registry must support a Docker V2 protocol. KOTS has been tested for compatibility with the following registries:
1617

17-
## Configure Private Registries in Online Clusters
18+
<DockerCompatibility/>
1819

19-
You configure the application to use a private registry in the Admin Console, unless you are using a kURL Registry add-on. You can also disable the connection or remove the registry settings if needed.
20+
## Configure Local Private Registries in Online Clusters
2021

21-
For information about changing registry settings in an air gap environment, see [Change Private Registries in Air Gap Clusters](#air-gap).
22+
In online (internet-connected) installations, you can optionally use a local private image registry. You can also disable the connection or remove the registry settings if needed.
2223

2324
To configure private registry settings in an online cluster:
2425

25-
1. On the Registry Settings tab in the Admin Console, edit the fields:
26+
1. In the Admin Console, on the **Registry settings** tab, edit the fields:
2627

2728
<img src="/images/registry-settings.png" alt="Registry Settings" width="400"></img>
2829

30+
[View a larger version of this image](/images/registry-settings.png)
31+
2932
The following table describes the fields:
3033

3134
<ImageRegistrySettings/>
3235

33-
1. Click **Test Connection** to test the connection between Replicated KOTS and the private registry host.
36+
1. Click **Test Connection** to test the connection between KOTS and the registry host.
3437

3538
1. Click **Save changes**.
3639

37-
1. (Optional) Click **Stop using registry** if you want to remove the registry settings from KOTS.
38-
3940
## Change Private Registries in Air Gap Clusters {#air-gap}
4041

41-
During air gap installations, you configure a private registry where KOTS pushes images. You can change the private registry settings at any time in the Admin Console.
42+
You can change the private registry settings at any time in the Admin Console.
4243

4344
To change private registry settings in an air gap cluster:
4445

45-
1. On the Registry Settings tab in the Admin Console, select the **Disable Pushing Images to Private Registry** checkbox, and click **Save changes**.
46+
1. In the Admin Console, on the **Registry settings** tab, select the **Disable Pushing Images to Private Registry** checkbox. Click **Save changes**.
4647

47-
This is a temporary action that allows you to edit the registry namespace and hostname. If you only want to change the username or password, you do not have to disable pushing the images.
48+
:::note
49+
This is a temporary action that allows you to edit the registry namespace and hostname. If you only want to change the username or password for the registry, you do not have to disable pushing the images.
50+
:::
4851

4952
1. Edit the fields as needed, and click **Save changes**.
5053

@@ -71,8 +74,16 @@ To change private registry settings in an air gap cluster:
7174
</tr>
7275
</table>
7376

74-
1. Deselect the **Disable Pushing Images to Private Registry** checkbox. This action re-enables KOTS to push images to your registry.
77+
1. Deselect the **Disable Pushing Images to Private Registry** checkbox. This action re-enables KOTS to push images to the registry.
7578

7679
1. Click **Test Connection** to test the connection between KOTS and the private registry host.
7780

78-
1. Click **Save changes**.
81+
1. Click **Save changes**.
82+
83+
## Stop Using a Registry and Remove Registry Settings
84+
85+
To stop using a registry and remove registry settings from the Admin Console:
86+
87+
1. Log in to the Admin Console and go to **Registry Settings**.
88+
89+
1. Click **Stop using registry** to remove the registry settings from the Admin Console.

docs/enterprise/installing-general-requirements.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ After manually creating these RBAC resources, the user must include both the `--
258258

259259
## Compatible Image Registries {#registries}
260260

261-
A private image registry is required for air gap installations with KOTS in existing clusters. You provide the credentials for a compatible private registry during installation. You can also optionally configure a local private image registry for use with KOTS installations in online (internet-connected) environments.
261+
A private image registry is required for air gap installations with KOTS in existing clusters. You provide the credentials for a compatible private registry during installation. You can also optionally configure a local private image registry for use with installations in online (internet-connected) environments.
262262

263-
Private registry settings can be changed at any time. For more information, see [Using Private Registries](image-registry-settings).
263+
Private registry settings can be changed at any time. For more information, see [Configuring Local Image Registries](image-registry-settings).
264264

265265
KOTS has been tested for compatibility with the following registries:
266266

docs/reference/custom-resource-helmchart-v2.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The `builder` key is required for the following use cases:
101101

102102
* To support online installations that use a local private registry, the `builder` field renders the Helm chart with all of the necessary images so that KOTS knows where to pull the images.
103103

104-
You cannot prevent customers from configuring a local private registry in KOTS. If you think any of your customers will use a local private registry, you should use the `builder` key. For more information, see [Using Private Registries](/enterprise/image-registry-settings).
104+
You cannot prevent customers from configuring a local private registry in the Admin Console. If you think any of your customers will use a local private registry, you should use the `builder` key. For more information, see [Configuring Local Image Registries](/enterprise/image-registry-settings).
105105

106106
<HelmBuilderRequirements/>
107107

docs/vendor/helm-native-v2-using.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ spec:
270270

271271
## Task 4: Support the Use of Local Image Registries {#local-registries}
272272

273-
Local image registries are required for KOTS installations in air-gapped environments with no outbound internet connection. Also, users in online environments can optionally use a local registry. For more information about how users configure a local image registry with KOTS, see [Using Private Registries](/enterprise/image-registry-settings).
273+
Local image registries are required for KOTS installations in air-gapped environments with no outbound internet connection. Also, users in online environments can optionally use a local registry. For more information about how users configure a local image registry with KOTS, see [Configuring Local Image Registries](/enterprise/image-registry-settings).
274274

275275
To support the use of local registries, configure the `builder` key. For more information about how to configure the `builder` key, see [`builder`](/reference/custom-resource-helmchart-v2#builder) in _HelmChart v2_.
276276

sidebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ const sidebars = {
401401
},
402402
{
403403
type: 'category',
404-
label: 'Configuring Local Image Registries for KOTS Installations',
404+
label: 'Configuring Local Image Registries',
405405
items: [
406406
'enterprise/image-registry-settings',
407407
'enterprise/image-registry-rate-limits',

0 commit comments

Comments
 (0)