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
res=append(res, "NOTE: the variable names are \"snake case\" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`")
Copy file name to clipboardExpand all lines: docs/modules/traits/pages/affinity.adoc
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,24 +30,24 @@ The following configuration options are available:
30
30
| bool
31
31
| Can be used to enable or disable a trait. All traits share this common property.
32
32
33
-
| affinity.pod-affinity
33
+
| affinity.podAffinity
34
34
| bool
35
35
| Always co-locates multiple replicas of the integration in the same node (default `false`).
36
36
37
-
| affinity.pod-anti-affinity
37
+
| affinity.podAntiAffinity
38
38
| bool
39
39
| Never co-locates multiple replicas of the integration in the same node (default `false`).
40
40
41
-
| affinity.node-affinity-labels
41
+
| affinity.nodeAffinityLabels
42
42
| []string
43
43
| Defines a set of nodes the integration pod(s) are eligible to be scheduled on, based on labels on the node.
44
44
45
-
| affinity.pod-affinity-labels
45
+
| affinity.podAffinityLabels
46
46
| []string
47
47
| Defines a set of pods (namely those matching the label selector, relative to the given namespace) that the
48
48
integration pod(s) should be co-located with.
49
49
50
-
| affinity.pod-anti-affinity-labels
50
+
| affinity.podAntiAffinityLabels
51
51
| []string
52
52
| Defines a set of pods (namely those matching the label selector, relative to the given namespace) that the
53
53
integration pod(s) should not be co-located with.
@@ -56,6 +56,9 @@ integration pod(s) should not be co-located with.
56
56
57
57
// End of autogenerated code - DO NOT EDIT! (configuration)
58
58
59
+
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
60
+
61
+
59
62
== Examples
60
63
61
64
* To schedule the integration pod(s) on a specific node using the https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#interlude-built-in-node-labels[built-in node label] `kubernetes.io/hostname`:
Copy file name to clipboardExpand all lines: docs/modules/traits/pages/builder.adoc
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,44 +44,44 @@ Deprecated: no longer in use
44
44
| string
45
45
| The strategy to use, either `pod` or `routine` (default `routine`)
46
46
47
-
| builder.base-image
47
+
| builder.baseImage
48
48
| string
49
49
| Specify a base image. In order to have the application working properly it must be a container image which has a Java JDK
50
50
installed and ready to use on path (ie `/usr/bin/java`).
51
51
52
-
| builder.incremental-image-build
52
+
| builder.incrementalImageBuild
53
53
| bool
54
54
| Use the incremental image build option, to reuse existing containers (default `true`)
55
55
56
-
| builder.order-strategy
56
+
| builder.orderStrategy
57
57
| string
58
58
| The build order strategy to use, either `dependencies`, `fifo` or `sequential` (default is the platform default)
59
59
60
-
| builder.request-cpu
60
+
| builder.requestCPU
61
61
| string
62
62
| When using `pod` strategy, the minimum amount of CPU required by the pod builder.
63
63
64
64
Deprecated: use TasksRequestCPU instead with task name `builder`.
65
65
66
-
| builder.request-memory
66
+
| builder.requestMemory
67
67
| string
68
68
| When using `pod` strategy, the minimum amount of memory required by the pod builder.
69
69
70
70
Deprecated: use TasksRequestCPU instead with task name `builder`.
71
71
72
-
| builder.limit-cpu
72
+
| builder.limitCPU
73
73
| string
74
74
| When using `pod` strategy, the maximum amount of CPU required by the pod builder.
75
75
76
76
Deprecated: use TasksRequestCPU instead with task name `builder`.
77
77
78
-
| builder.limit-memory
78
+
| builder.limitMemory
79
79
| string
80
80
| When using `pod` strategy, the maximum amount of memory required by the pod builder.
81
81
82
82
Deprecated: use TasksRequestCPU instead with task name `builder`.
83
83
84
-
| builder.maven-profiles
84
+
| builder.mavenProfiles
85
85
| []string
86
86
| A list of references pointing to configmaps/secrets that contains a maven profile.
87
87
This configmap/secret is a resource of the IntegrationKit created, therefore it needs to be present in the namespace where the operator is going to create the IntegrationKit.
@@ -92,29 +92,29 @@ Syntax: [configmap\|secret]:name[/key], where name represents the resource name,
92
92
| []string
93
93
| A list of tasks to be executed (available only when using `pod` strategy) with format `<name>;<container-image>;<container-command>`.
94
94
95
-
| builder.tasks-filter
95
+
| builder.tasksFilter
96
96
| string
97
97
| A list of tasks sorted by the order of execution in a csv format, ie, `<taskName1>,<taskName2>,...`.
98
98
Mind that you must include also the operator tasks (`builder`, `quarkus-native`, `package`, `jib`, `s2i`)
99
99
if you need to execute them. Useful only with `pod` strategy.
100
100
101
-
| builder.tasks-request-cpu
101
+
| builder.tasksRequestCPU
102
102
| []string
103
103
| A list of request cpu configuration for the specific task with format `<task-name>:<request-cpu-conf>`.
104
104
105
-
| builder.tasks-request-memory
105
+
| builder.tasksRequestMemory
106
106
| []string
107
107
| A list of request memory configuration for the specific task with format `<task-name>:<request-memory-conf>`.
108
108
109
-
| builder.tasks-limit-cpu
109
+
| builder.tasksLimitCPU
110
110
| []string
111
111
| A list of limit cpu configuration for the specific task with format `<task-name>:<limit-cpu-conf>`.
112
112
113
-
| builder.tasks-limit-memory
113
+
| builder.tasksLimitMemory
114
114
| []string
115
115
| A list of limit memory configuration for the specific task with format `<task-name>:<limit-memory-conf>`.
116
116
117
-
| builder.node-selector
117
+
| builder.nodeSelector
118
118
| map[string]string
119
119
| Defines a set of nodes the builder pod is eligible to be scheduled on, based on labels on the node.
120
120
@@ -130,6 +130,9 @@ if you need to execute them. Useful only with `pod` strategy.
130
130
131
131
// End of autogenerated code - DO NOT EDIT! (configuration)
132
132
133
+
NOTE: the variables names are "snake case" if you're using in `kamel` CLI, for example `trait.myParam` has to be translated as `-t trait.my-param`
134
+
135
+
133
136
== Node Selectors
134
137
135
138
With this trait you will also be able to define node selectors for the `builder` pod when using the `pod`` build strategy.
Copy file name to clipboardExpand all lines: docs/modules/traits/pages/container.adoc
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,19 @@ The following configuration options are available:
35
35
| bool
36
36
| To automatically enable the trait
37
37
38
-
| container.request-cpu
38
+
| container.requestCPU
39
39
| string
40
40
| The minimum amount of CPU required (default 125 millicores).
41
41
42
-
| container.request-memory
42
+
| container.requestMemory
43
43
| string
44
44
| The minimum amount of memory required (default 128 Mi).
45
45
46
-
| container.limit-cpu
46
+
| container.limitCPU
47
47
| string
48
48
| The maximum amount of CPU to be provided (default 500 millicores).
49
49
50
-
| container.limit-memory
50
+
| container.limitMemory
51
51
| string
52
52
| The maximum amount of memory to be provided (default 512 Mi).
53
53
@@ -66,16 +66,16 @@ Don't use in Knative based environments.
66
66
| int32
67
67
| To configure a different http port exposed by the container (default `8080`).
68
68
69
-
| container.port-name
69
+
| container.portName
70
70
| string
71
71
| To configure a different http port name for the port exposed by the container.
72
72
It defaults to `http` only when the `expose` parameter is true.
73
73
74
-
| container.service-port
74
+
| container.servicePort
75
75
| int32
76
76
| To configure under which service port the http container port is to be exposed (default `80`).
77
77
78
-
| container.service-port-name
78
+
| container.servicePortName
79
79
| string
80
80
| To configure under which service port name the http container port is to be exposed (default `http`).
81
81
@@ -89,34 +89,36 @@ It defaults to `http` only when the `expose` parameter is true.
89
89
won't be able to execute traits requiring CamelCatalog. If the container image you're using is coming from an IntegrationKit, use instead
90
90
Integration `.spec.integrationKit` parameter. If you're moving the Integration across environments, you will also need to create an "external" IntegrationKit.
91
91
92
-
| container.image-pull-policy
92
+
| container.imagePullPolicy
93
93
| PullPolicy
94
94
| The pull policy: Always\|Never\|IfNotPresent
95
95
96
-
| container.run-as-user
96
+
| container.runAsUser
97
97
| int64
98
98
| Security Context RunAsUser configuration (default none): this value is automatically retrieved in Openshift clusters when not explicitly set.
0 commit comments