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/enterprise/image-registry-kurl.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,10 @@ To keep the registry from running out of storage, images that are no longer used
15
15
16
16
For more information about the kURL Registry add-on, see [Registry Add-On](https://kurl.sh/docs/add-ons/registry) in the kURL documentation.
17
17
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
+
18
22
## Trigger Garbage Collection
19
23
20
24
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:
62
66
63
67
***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.
64
68
65
-
***CustomerSupplied 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).
66
70
67
71
***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_.
This topic describes how to configure private registry settings in the Replicated KOTS Admin Console.
6
7
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.
8
9
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
10
11
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.
12
13
13
-
## Prerequisites
14
+
## Requirement
14
15
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:
16
17
17
-
## Configure Private Registries in Online Clusters
18
+
<DockerCompatibility/>
18
19
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
20
21
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.
22
23
23
24
To configure private registry settings in an online cluster:
24
25
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:
[View a larger version of this image](/images/registry-settings.png)
31
+
29
32
The following table describes the fields:
30
33
31
34
<ImageRegistrySettings/>
32
35
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.
34
37
35
38
1. Click **Save changes**.
36
39
37
-
1. (Optional) Click **Stop using registry** if you want to remove the registry settings from KOTS.
38
-
39
40
## Change Private Registries in Air Gap Clusters {#air-gap}
40
41
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.
42
43
43
44
To change private registry settings in an air gap cluster:
44
45
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**.
46
47
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
+
:::
48
51
49
52
1. Edit the fields as needed, and click **Save changes**.
50
53
@@ -71,8 +74,16 @@ To change private registry settings in an air gap cluster:
71
74
</tr>
72
75
</table>
73
76
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.
75
78
76
79
1. Click **Test Connection** to test the connection between KOTS and the private registry host.
77
80
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.
Copy file name to clipboardExpand all lines: docs/enterprise/installing-general-requirements.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,9 +258,9 @@ After manually creating these RBAC resources, the user must include both the `--
258
258
259
259
## Compatible Image Registries {#registries}
260
260
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.
262
262
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).
264
264
265
265
KOTS has been tested for compatibility with the following registries:
Copy file name to clipboardExpand all lines: docs/reference/custom-resource-helmchart-v2.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ The `builder` key is required for the following use cases:
101
101
102
102
* 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.
103
103
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).
Copy file name to clipboardExpand all lines: docs/vendor/helm-native-v2-using.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,7 +270,7 @@ spec:
270
270
271
271
## Task 4: Support the Use of Local Image Registries {#local-registries}
272
272
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).
274
274
275
275
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_.
0 commit comments