Skip to content

Commit

Permalink
add instructions to deploy without oc/kubectl login
Browse files Browse the repository at this point in the history
  • Loading branch information
kdubois committed Oct 17, 2023
1 parent 991a31e commit 0b67a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/modules/ROOT/pages/kubernetes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ NOTE: If you're having trouble with jib, you can also just use Docker/Podman to



== Deploy your application to your Kubernetes cluster
== Deploy the application to your Kubernetes cluster

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:

Expand Down Expand Up @@ -161,7 +161,7 @@ deployment.apps/tutorial-app created
----


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:
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.
[.console-input]
[source,bash,subs="+macros,+attributes"]
----
Expand Down

0 comments on commit 0b67a40

Please sign in to comment.