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: modules/concepts/pages/product-image-selection.adoc
+33-12Lines changed: 33 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,11 @@ At the bottom of this page, in the <<_common_scenarios, common scenarios>> secti
65
65
66
66
If your Kubernetes cluster has internet access, the easiest way is to use the publicly available images from the https://oci.stackable.tech/[Stackable Image Registry{external-link-icon}^].
67
67
68
-
TIP: All our images are also mirrored to our https://quay.io/organization/stackable[Stackable Quay.io organization{external-link-icon}^].
68
+
[TIP]
69
+
====
70
+
All our images are also published to our https://quay.io/organization/stackable[Stackable Quay.io organization{external-link-icon}^].
71
+
The layout of our artifacts is detailed on our xref:artifact-registries/index.adoc[artifact registries] page.
72
+
====
69
73
70
74
[source,yaml]
71
75
----
@@ -79,39 +83,56 @@ Consult the product operator documentation to find out about supported product v
79
83
<.> The version of the Stackable Data Platform.
80
84
Simply omit this to use the operator version.
81
85
82
-
NOTE: If the Kubernetes cluster does not have internet access, you can use a xref:_custom_docker_registry[] or xref:_custom_images[].
86
+
NOTE: If the Kubernetes cluster does not have internet access, you can use a xref:_custom_registry[] or xref:_custom_images[].
83
87
84
88
You only need to specify the product version, but you _can_ also specify an explicit Stackable version.
85
89
The product version can be found on the xref:operators:supported_versions.adoc[list of supported product versions] or on the product operator documentation page.
90
+
If you don't specify the Stackable version, the operator will use its own version, e.g. `25.7.0`.
91
+
When using a nightly operator or a `-pr` version, it will use the nightly `0.0.0-dev` image.
86
92
87
93
As images should be updated from time to time (e.g., new base image, security updates), a Stackable version can be provided.
88
94
An image with the Stackable version `25.7.0` is fixed and will never change.
89
95
Security updates within a release line will result in patch version bumps in the Stackable version, for example, to `25.7.1`.
90
96
91
-
If you don't specify the Stackable version, the operator will use its own version, e.g., `25.7.0`.
92
-
When using a nightly operator or a `pr` version, it will use the nightly `0.0.0-dev` image.
97
+
By default, updating to the newest patch version is an explicit change of the `stackableVersion` field.
98
+
Since 26.11.0 however, it is possible to opt into automatic patch level updates.
<.> This instructs the operator to choose the latest patch level version of the product image.
108
+
109
+
[NOTE]
110
+
====
111
+
A potential newer image is only pulled when Pods are rotated or their containers are restarted.
112
+
Pods are **not** rotated and containers are **not** restarted automatically when a new image is available.
113
+
This behaviour makes this a passive update mechanism, rather than an active one.
114
+
====
93
115
94
116
All the available images (with their product and Stackable versions) can be found in our https://oci.stackable.tech/api/v2.0/projects/sdp[Stackable OCI registry{external-link-icon}^].
95
-
Information on how to browse the registry can be found in the xref:contributor:project-overview.adoc#docker-images[Docker images section of the project overview].
117
+
Information on how to browse the registry can be found in the xref:contributor:project-overview.adoc#docker-images[container images section of the project overview].
96
118
97
-
== Custom docker registry
119
+
== Custom registry
98
120
99
-
Custom Docker registries can be used to fetch the image from a local image registry rather than from the internet.
121
+
Custom registries can be used to fetch the image from a local image registry rather than from the internet.
100
122
The prerequisite is that you mirror all the required images in the same way (with the same name and tag) as the images provided by Stackable.
101
123
102
-
Afterward, you can use the following snippet to configure your custom Docker repo:
124
+
Afterwards, you can use the following snippet to configure your custom repo:
103
125
104
126
[source,yaml]
105
127
----
106
128
spec:
107
129
image:
108
130
productVersion: 3.3.1
109
131
stackableVersion: 25.7.0 # Optional
110
-
repo: my.corp/myteam/stackable <.>
132
+
repo: my.corp/myteam/stackable
111
133
----
112
-
<.> We recommend not including a slash at the end while we plan on https://github.com/stackabletech/operator-rs/issues/1020[improving the situation{external-link-icon}^].
113
134
114
-
This will change the image from the default Stackable repository `oci.stackable.tech/sdp/kafka:3.3.1-stackable23.7.0` to `my.corp/myteam/stackable/kafka:3.3.1-stackable23.7.0`.
135
+
This will change the image from the default Stackable repository `oci.stackable.tech/sdp/kafka:3.3.1-stackable25.7.0` to `my.corp/myteam/stackable/kafka:3.3.1-stackable25.7.0`.
115
136
116
137
== [[customimages]] Custom images
117
138
@@ -135,7 +156,7 @@ Using custom images has a few limitations that users should be aware of:
135
156
136
157
* The images must have the same structures that Stackable operators expect.
137
158
This should usually be ensured by specifying a Stackable image in the `FROM` clause of the Dockerfile (all the available images can be found in our https://oci.stackable.tech/api/v2.0/projects/sdp[Stackable OCI registry{external-link-icon}^] - the schema is typically: `oci.stackable.tech/sdp/<product>:<product-version>-stackable<stackable-version>`.
138
-
Information on how to browse the registry can be found in the xref:contributor:project-overview.adoc#docker-images[Docker images section of the project overview]).
159
+
Information on how to browse the registry can be found in the xref:contributor:project-overview.adoc#docker-images[container images section of the project overview]).
139
160
140
161
* Images will need to be upgraded for every new Stackable release to follow structural changes that Stackable may have made to their images.
141
162
When deriving images from official Stackable images, this will mean updating the version of the image in the `FROM` clause to the correct Stackable release.
All the operators are written in https://www.rust-lang.org/[Rust{external-link-icon}^] and the source code is found in the `rust` directory.
22
22
`tests` contains the integration tests which use https://kuttl.dev/[kuttl{external-link-icon}^] and our own test template https://github.com/stackabletech/beku.py[beku.py{external-link-icon}^].
23
23
Documentation is written in https://antora.org/[Antora{external-link-icon}^] and found in the `docs` directory, see also <<documentation>> further down the page.
24
-
`deploy` and `docker` contain files used to package the operator into a Docker image and Helm chart.
24
+
`deploy` and `docker` contain files used to package the operator into a container image and Helm chart.
25
25
Some files in these repositories are actually _templated_:
26
26
27
27
The https://github.com/stackabletech/operator-templating[operator-templating{external-link-icon}^] repository contains a template for all operator repositories, where shared files are distributed from.
@@ -80,7 +80,7 @@ There is no code in this repository.
80
80
[[artifact-storage]]
81
81
== Artifact storage
82
82
83
-
Where are binaries, Helm Charts and Docker images stored?
83
+
Where are binaries, Helm Charts and container images stored?
84
84
85
85
[[product-artifacts]]
86
86
=== Product artifacts
@@ -100,7 +100,7 @@ stackable
100
100
stackable-charts
101
101
----
102
102
103
-
`sdp` contains the product and operator Docker images. The Helm Charts for the operators are found under `sdp-charts`. Some artifacts like the
103
+
`sdp` contains the product and operator container images. The Helm Charts for the operators are found under `sdp-charts`. Some artifacts like the
104
104
product binaries are stored in the https://repo.stackable.tech/#browse/browse[Nexus repo{external-link-icon}^] under `packages`.
// NOTE (@Techassi): The header was updated, but the anchor was kept the same to ensure links to this don't break.
130
131
[[docker-images]]
131
-
=== Docker images
132
+
=== Container images
132
133
133
-
Docker images are stored in https://oci.stackable.tech[https://oci.stackable.tech{external-link-icon}^] as mentioned above. To list all the available repositories in a project, for example in
134
-
the `sdp` project, run this command:
134
+
Container images are stored in https://oci.stackable.tech[https://oci.stackable.tech{external-link-icon}^] as mentioned above.
135
+
They are additionally published to our https://quay.io/organization/stackable[Stackable Quay.io organization{external-link-icon}^].
136
+
To list all the available repositories in a project, for example in the `sdp` project, run this command:
0 commit comments