Skip to content

Commit 9436615

Browse files
authored
private registries (#482)
* adding private registries doc info * adding link * adding image examples * splitting page * improving doc * adding private container registries to mkdocs * changing size * changing private container registries section
1 parent 5049157 commit 9436615

File tree

5 files changed

+58
-6
lines changed

5 files changed

+58
-6
lines changed

docs/deploy/deploy-external-image.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ Example external image reference:
3131
dockerhub.io/myorg/my-service:1.2.3
3232
```
3333

34-
!!! tip
35-
36-
Ensure your external image is accessible from the platform. For private repositories, ensure the correct credentials or access policies are in place.
37-
3834
## Deployment Settings for External Images
3935

4036
The deployment settings for external images are similar to application deployments, with slight differences. Below is a description of the main features:
@@ -50,9 +46,28 @@ The deployment settings for external images are similar to application deploymen
5046

5147
## Working on the Command Line
5248

53-
To deploy an external image from the command line, modify your [`quix.yaml`](../quix-cli/yaml-reference/pipeline-descriptor.md) file to include the image, then use the following commands:
49+
To deploy an external image from the command line, modify your [`quix.yaml`](../quix-cli/yaml-reference/pipeline-descriptor.md) file to include the image.
50+
51+
Example:
52+
53+
```yaml
54+
- name: custom-service
55+
image: my-registry.com/my-service:1.2.3
56+
deploymentType: Service
57+
resources:
58+
cpu: 300
59+
memory: 600
60+
replicas: 2
61+
desiredStatus: Running
62+
```
63+
64+
Then use the following commands:
5465
5566
- **Sync local changes**: Use the `quix local pipeline sync --update` command. This updates your pipeline in Quix Cloud based on your `quix.yaml` file.
5667
- **Sync remote environment**: Use the `quix envs sync` command to synchronize an environment with its project repository.
5768

5869
For more details on CLI usage, see the [CLI documentation](../quix-cli/overview.md).
70+
71+
## Private Container Registries
72+
73+
If the external image you wish to deploy is hosted in a private container registry, check out [this](./private-container-registries.md) page to learn how to configure it.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Private Container Registries
2+
3+
The platform supports images hosted in private container registries for both scenarios:
4+
5+
- **Using as a base image** in your Dockerfile for the build process.
6+
- **Deploying directly** as described [here](./deploy-external-image.md).
7+
8+
In either case, you must configure the registry credentials on the platform to securely access the images during deployments.
9+
10+
To configure these credentials, navigate to your organization's Settings page and locate the Container Registries section. Here, you can create, edit, and delete container registry configurations as needed.
11+
12+
![Settings](../images/container-registies/container-registries-settings.png)
13+
14+
## Required Information:
15+
16+
![Create](../images/container-registies/container-registries-create.png){width=60%}
17+
18+
Provide the following details when configuring credentials:
19+
20+
| Field | Description | Example |
21+
|-----------------|-------------------------------------------------------------------------------------------------------|------------------------------|
22+
| **Display Name**| A friendly name to easily identify your registry. | `My Org Private Registry` |
23+
| **Address** | The address of your registry. | `my-registry.com` |
24+
| **Auth Type** | Authentication type. Supported values: `BasicAuth` or `Token`. | `BasicAuth` or `Token` |
25+
| **Credentials** | Depending on the authentication method selected: | |
26+
| | - **BasicAuth**: Provide a Username & Password | Username/password |
27+
| | - **Token**: Provide a long-lived token | Token string |
28+
29+
!!! warning
30+
31+
Ensure the credentials provided are long-lived, as the platform does not support automatic credential refresh.
32+
33+
!!! note
34+
35+
If the image was deployed prior to configuring the credentials, you may need to restart the deployment for changes to take effect.
36+
37+
More details about private registry authentication can be found [here](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/).
Loading
Loading

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ nav:
292292
- 'State management': 'deploy/state-management.md'
293293
- 'Deploy public services': 'deploy/deploy-public-page.md'
294294
- 'Deploy an external image': 'deploy/deploy-external-image.md'
295+
- 'Private container registries': 'deploy/private-container-registries.md'
295296
- '4. Manage your pipelines':
296297
- 'Overview': 'manage/overview.md'
297298
- 'Troubleshooting': 'manage/troubleshooting.md'
@@ -319,7 +320,6 @@ nav:
319320
- 'Pipeline YAML (quix.yaml)': './quix-cli/yaml-reference/pipeline-descriptor.md'
320321
- 'Application YAML (app.yaml)': './quix-cli/yaml-reference/app-descriptor.md'
321322
- 'Docker Configuration (dockerfile)': './quix-cli/yaml-reference/dockerfile.md'
322-
323323
- 'Security': 'quix-cloud/security.md'
324324
- 'Integrations':
325325
- 'Overview': 'integrations/overview.md'

0 commit comments

Comments
 (0)