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
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,10 @@ This is the <a href="https://code.visualstudio.com/">Visual Studio Code</a> exte
60
60
- Supports adding extra parameters provided by the `Run with JBang *` commands. (For both running and debugging the application)
61
61
- Configuration snippets for Camel debugger launch configuration
62
62
- Configuration snippets to launch Camel application ready to accept a Camel debugger connection using JBang, Maven with Camel maven plugin or Quarkus Devs
By default, the deployment aims OpenShift cluster. In case you need to deploy into Kubernetes, there is a small modification needed:
4
+
5
+
1) open Settings UI in VS Code
6
+
2) navigate to `Extensions > Debug Adapter for Apache Camel`
7
+
3) modify setting `Camel > Debug Adapter: Kubernetes Run Parameters` as you can see on picture below
8
+
9
+

10
+
11
+
The picture describes how to deploy to local Kubernetes cluster using Minikube. You can use eg. also `Kind`. In that case, just change to `--cluster-type=kind`.
12
+
13
+
For more information see [Camel Kubernetes plugin official documentation](https://camel.apache.org/manual/camel-jbang-kubernetes.html).
14
+
15
+
## Follow logs
16
+
17
+
You can use Camel CLI to obtain logs of current running integration. In terminal window execute:
Copy file name to clipboardExpand all lines: package.json
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,19 @@
111
111
"default": [
112
112
"--local-kamelet-dir=."
113
113
]
114
+
},
115
+
"camel.debugAdapter.KubernetesRunParameters": {
116
+
"type": "array",
117
+
"uniqueItems": true,
118
+
"items": {
119
+
"type": "string"
120
+
},
121
+
"additionalProperties": false,
122
+
"markdownDescription": "User defined parameters to be applied at every deploy (See [Camel JBang Kubernetes](https://camel.apache.org/manual/camel-jbang-kubernetes.html)). In case of spaces, the values needs to be enclosed with quotes. Default value is `[\"--cluster-type=openshift\", \"--dev\"]`\n\n**Note**: Excluding `--camel-version` which is already being set in `#camel.debugAdapter.CamelVersion#`.\n\nFor more possible values see: `camel kubernetes run --help` or `jbang camel@apache/camel kubernetes run --help`",
123
+
"default": [
124
+
"--cluster-type=openshift",
125
+
"--dev"
126
+
]
114
127
}
115
128
}
116
129
},
@@ -247,6 +260,11 @@
247
260
"title": "Run with JBang All Camel Integrations from containing folder",
0 commit comments