Skip to content

Commit 0b67a40

Browse files
committed
add instructions to deploy without oc/kubectl login
1 parent 991a31e commit 0b67a40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

documentation/modules/ROOT/pages/kubernetes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ NOTE: If you're having trouble with jib, you can also just use Docker/Podman to
125125

126126

127127

128-
== Deploy your application to your Kubernetes cluster
128+
== Deploy the application to your Kubernetes cluster
129129

130130
When a Kubernetes extension is present in the classpath, Quarkus will scaffold a Kubernetes deployment file in your target folder during the package phase. We can apply it to deploy the application to our Kubernetes cluster:
131131

@@ -161,7 +161,7 @@ deployment.apps/tutorial-app created
161161
----
162162

163163

164-
With the Quarkus CLI tool deploying is even easier. Instead of the above `kubectl apply` command, you can simply run `quarkus deploy` to deploy the application to your cluster:
164+
With the Quarkus CLI tool deploying is even easier. Instead of the above `kubectl apply` command, you can simply run `quarkus deploy` to deploy the application to your cluster. If you don't have the kubectl or oc cli installed or are not sure how to log in to your cluster, just add `-Dquarkus.kubernetes-client.api-server-url={yourServerUrl} -Dquarkus.kubernetes-client.token={myToken}` to the below command.
165165
[.console-input]
166166
[source,bash,subs="+macros,+attributes"]
167167
----

0 commit comments

Comments
 (0)