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
<1> In this example, the cluster role "my-cluster-role" will be generated with the specified policy rules.
961
961
<2> The name of the ClusterRole resource to use. Role resources are namespace-based and hence not allowed in ClusterRoleBinding resources.
962
962
963
-
=== Deploying to Minikube
963
+
=== Deploying to local Kubernetes
964
+
965
+
When deploying to local Kubernetes environments, users often perform minor changes to their manifests that simplify the development process.
966
+
The most common changes are:
967
+
968
+
- Setting `imagePullPolicy` to `IfNotPresent`
969
+
- Using `NodePort` as `Service` type
970
+
971
+
Quarkus provides extensions that among others set these options by default.
972
+
Such extensions are:
973
+
974
+
- quarkus-minikube
975
+
- quarkus-kind
976
+
977
+
If the list of extensions does not match the tool you are using (e.g. Docker Desktop, microk8s etc) then it is suggested to use the `quarkus-minikube` extension.
978
+
as its defaults should be reasonable for most environments.
979
+
980
+
981
+
==== Deploying to Minikube
964
982
965
983
https://github.com/kubernetes/minikube[Minikube] is quite popular when a Kubernetes cluster is needed for development purposes. To make the deployment to Minikube
966
984
experience as frictionless as possible, Quarkus provides the `quarkus-minikube` extension. This extension can be added to a project like so:
@@ -1008,7 +1026,7 @@ only. When deploying to production, consider using the vanilla Kubernetes manife
1008
1026
NOTE: If the assumptions the Minikube extension makes don't fit your workflow, nothing prevents you from using the regular Kubernetes extension to generate Kubernetes manifests
1009
1027
and apply those to your Minikube cluster.
1010
1028
1011
-
=== Deploying to Kind
1029
+
==== Deploying to Kind
1012
1030
https://kind.sigs.k8s.io/[Kind] is another popular tool used as a Kubernetes cluster for development purposes. To make the deployment to Kind
1013
1031
experience as frictionless as possible, Quarkus provides the `quarkus-kind` extension. This extension can be added to a project like so:
0 commit comments