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
You can also configure a custom image compatible with standard images (kind, k3s & api-server) using the `quarkus.kubernetes-client.devservices.image-name` property. However, it must be consistent with the flavor and api-version properties:
59
+
60
+
[source, properties]
61
+
----
62
+
quarkus.kubernetes-client.devservices.flavor=api-only # k3s or kind
`api-only` only starts a Kubernetes API Server (plus the required etcd). If you need a fully-featured Kubernetes cluster that can spin up Pods, you can use `k3s` or `kind`. `k3s` requires to start the container with `privileged mode`. The `kind` test container now also supports using podman's rootless mode.
59
68
60
69
If `api-version` is not set, the latest version for the given flavor will be used. Otherwise, the version must match a https://github.com/dajudge/kindcontainer/blob/master/k8s-versions.json[version supported by the given flavor].
Copy file name to clipboardExpand all lines: extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/DevServicesKubernetesProcessor.java
Copy file name to clipboardExpand all lines: extensions/kubernetes-client/runtime-internal/src/main/java/io/quarkus/kubernetes/client/runtime/internal/KubernetesDevServicesBuildTimeConfig.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,15 @@ public interface KubernetesDevServicesBuildTimeConfig {
26
26
*/
27
27
Optional<String> apiVersion();
28
28
29
+
/**
30
+
* The kubernetes image to use.
31
+
* <p>
32
+
* If not set, Dev Services for Kubernetes will use default image for the specified {@link #apiVersion()} for the given
Copy file name to clipboardExpand all lines: integration-tests/kubernetes-client-devservices/src/test/java/io/quarkus/kubernetes/client/devservices/it/profiles/DevServiceKubernetes.java
0 commit comments