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/src/main/asciidoc/deploying-to-openshift-S2I-howto.adoc
+11-12
Original file line number
Diff line number
Diff line change
@@ -20,22 +20,22 @@ With S2I, you must provide the source code to the build container through a Git
20
20
[IMPORTANT]
21
21
====
22
22
S2I is not supported for native deployments.
23
+
For deploying {project-name} applications compiled to native executables, use the Docker build strategy.
23
24
====
24
-
//For deploying {project-name} applications compiled to native executables, use the xref:proc_deploying-quarkus-applications-compiled-to-native-executables_quarkus-openshift[Docker build strategy].
25
25
26
26
The procedure for deploying your Quarkus applications to {openshift} by using S2I differs depending on the Java version you are using.
27
27
28
28
[[using-the-S2I-Java-17]]
29
-
== Using S2I to deploy Quarkus applications to {openshift} with Java 17
29
+
== Using S2I to deploy Quarkus applications to {openshift} with Java {JDK-version-other}
30
30
31
31
You can deploy your {project-name} applications running on Java 17 to {openshift} by using the Source-to-Image (S2I) method.
32
32
33
33
34
34
=== Prerequisites
35
-
* You have a Quarkus application built with Java 17.
35
+
36
+
* You have a Quarkus application built with Java {JDK-ver-other}.
36
37
* Optional: You have a Quarkus Maven project that includes the `quarkus-openshift` extension.
37
-
* You are working in the correct {openshift} project namespace, as outlined in
38
-
//link:{URL_OPENSHIFT_QUARKUS}#proc_verifying-the-openshift-project-namespace_quarkus-openshift[Switching to the required {RHOSSHORT} project].
38
+
* You are working in the correct OpenShift project namespace
39
39
* Your Quarkus Maven project is hosted in a Git repository.
40
40
41
41
@@ -49,7 +49,7 @@ You can deploy your {project-name} applications running on Java 17 to {openshift
49
49
<maven.compiler.target>17</maven.compiler.target>
50
50
----
51
51
+
52
-
. To package your Java 17 application, enter the following command:
52
+
. To package your Java {JDK-ver-other} application, enter the following command:
53
53
+
54
54
[source]
55
55
----
@@ -176,7 +176,7 @@ AB_JOLOKIA_OFF=true
176
176
JAVA_APP_JAR=/deployments/quarkus-run.jar
177
177
----
178
178
. Commit and push your changes to the remote Git repository.
179
-
. To import the supported {RHOSSHORT} image, enter the following command:
179
+
. To import the supported {openshift} image, enter the following command:
* If you are using the OpenShift image registry and pulling from image streams in the same project, your pod service account should already have the correct permissions.
190
190
191
191
192
-
* If you are pulling images across other OpenShift Container Platform projects or from secured registries, additional configuration steps might be required.
193
-
For more information, see link:https://docs.openshift.com/container-platform/{RHOSVersion}/openshift_images/managing_images/using-image-pull-secrets.html[Using image pull secrets] in {CompanyName} OpenShift Container Platform documentation.
194
-
192
+
* If you are pulling images across other {openshift} projects or from secured registries, additional configuration steps might be required.
193
+
For more information, refer to link:https://docs.openshift.com/container-platform.html[OpenShift Container Platform] documentation.
195
194
196
195
* If you are deploying on IBM Z infrastructure, enter `oc import-image {name-image-ubi8-open-jdk-21-short} --from=registry.redhat.io/{name-image-ubi8-open-jdk-21-short} --confirm` instead.
197
196
For information about this image, see link:https://catalog.redhat.com/software/containers/ubi8/openjdk-21/653fb7e21b2ec10f7dfc10d0[{runtimes-openjdk-long} 21].
0 commit comments