camel kubernetes run
Run Camel application on Kubernetes
This command is provided by the kubernetes plugin. Install it with camel plugin add kubernetes. |
Options
| Option | Description | Default | Type |
|---|---|---|---|
| Add an annotation to the integration. Use name values pairs like --annotation my.company=hello. | String | |
| The base image that is used to build the container image from (default is mirror.gcr.io/library/eclipse-temurin:<java-version>). | String | |
| Maven properties, ex. --build-property=prop1=foo | List | |
| Camel version to use with Spring Boot | String | |
| To export using a different Camel version than the default version. | String | |
| Automatically removes deployment when process is stopped. Only in combination with --dev, --reload option. | true | boolean |
| The target cluster type . Special configurations may be applied to different cluster types such as Kind or Minikube. | String | |
| Add a runtime configuration from a ConfigMap or a Secret (syntax: [configmap|secret]:name[/key], where name represents the configmap/secret name and key optionally represents the configmap/secret key to be filtered). | String | |
| A Service that the integration should bind to, specified as [[apigroup/]version:]kind:[namespace/]name. | String | |
| Add additional dependencies | List | |
| Disable automatic cluster type detection and automatic settings for cluster. | boolean | |
| Whether to allow automatic downloading JAR dependencies (over the internet) | true | boolean |
| Set an environment variable in the integration container, for instance -e MY_VAR=my-value. | String | |
| Exclude files by name or pattern | List | |
| Make sure we use fresh (i.e. non-cached) resources | false | boolean |
| The Maven group:artifact:version | String | |
| The image name to be built. | String | |
| Whether to build container image as part of the run. | true | boolean |
| The image builder used to build the container image (e.g. docker, jib, s2i). | jib | String |
| The image registry group used to push images to. | String | |
| List of target platforms. Each platform is defined using os and architecture (e.g. linux/amd64). | String | |
| Whether to push image to given image registry as part of the run. | true | boolean |
| The image registry to hold the app container image. | String | |
| Java version | 21 | String |
| Apache Camel Kamelets version | String | |
| Path to the kube config file to initialize Kubernetes client | String | |
| Add a label to the integration. Use name values pairs like --label my.company=hello. | String | |
| Local directory for loading Kamelets (takes precedence) | String | |
| Print logs after Camel application has been started. | boolean | |
| Whether downloading JARs from ASF Maven Snapshot repository is enabled | boolean | |
| Whether downloading JARs from Maven Central repository is enabled | boolean | |
| Optional location of Maven settings.xml file to configure servers, repositories, mirrors and proxies. If set to false, not even the default ~/.m2/settings.xml will be used. | String | |
| Optional location of Maven settings-security.xml file to decrypt settings.xml | String | |
| The integration name. Use this when the name should not get derived otherwise. | String | |
| Namespace to use for all operations | String | |
| Add an OpenAPI spec (syntax: [configmap|file]:name). | String | |
| Just output the generated integration custom resource (supports: yaml or json). | String | |
| For Java source files should they have the given package name. By default the package name is computed from the Maven GAV. Use false to turn off and not include package name in the Java source files. | String | |
| Whether to automatic package scan JARs for custom Spring or Quarkus beans making them available for Camel CLI | false | boolean |
| Profile to export (dev, test, or prod). | String | |
| Add a runtime property or properties from a file (syntax: [my-key=my-value|file:/path/to/my-conf.properties|/path/to/my-conf.properties]. | String | |
| Deprecated. This value is not used anymore. It is kept only for backwards compatibility and will be removed in Camel 5.x. Camel commands may use either 'quarkus-bom' or 'quarkus-camel-bom' artifactIds depending on the context. | quarkus-bom | String |
| The base URI of Quarkus Extension Registry. The default is {@value RuntimeType#QUARKUS_EXTENSION_REGISTRY_BASE_URL} unless camel.jbang.quarkus.platform.url system property is set (the /client/platforms suffix is removed if present). | String | |
| groupId of Quarkus Platform BOM; honored only if --quarkus-version is set | io.quarkus.platform | String |
| version of Quarkus Platform BOM; the default value is looked up in Quarkus Extension Registry | String | |
| Quiet output - only show errors for build/deploy. | boolean | |
| Optional Docker registry mirror where to pull images from when building the container image. | String | |
| Enables dev mode (live reload when source files are updated and saved) | boolean | |
| Additional maven repositories for download on-demand (Use commas to separate multiple repositories) | String | |
| Add a runtime resource from a Configmap or a Secret (syntax: [configmap|secret]:name[/key][@path], where name represents the configmap/secret name, key optionally represents the configmap/secret key to be filtered and path represents the destination path). | String | |
| Additional resource directories to include in src/main/resources (recursive, preserving structure) | List | |
| Runtime | quarkus | RuntimeType |
| The service account used to run the application. | String | |
| Skip plugins during export | false | boolean |
| Spring Boot version | RuntimeType.SPRING_BOOT_VERSION | String |
| Add a trait configuration to the integration. Use name values pairs like --trait trait.name.config=hello. | String | |
| Verbose output of build/deploy progress | boolean | |
| Mount a volume into the integration container, for instance -v pvcname:/container/path. | String | |
| Wait for the deployment to become ready. | boolean | |
| Display the help and sub-commands | boolean |