Skip to content

Commit 4a10749

Browse files
author
Corneil du Plessis
authored
Update k8s deployer properties. (spring-attic#5748)
References: spring-attic#5406
1 parent 965852e commit 4a10749

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

spring-cloud-dataflow-docs/src/main/asciidoc/configuration-kubernetes.adoc

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,18 @@ These properties are also used when configuring the <<configuration-kubernetes-t
124124
|The CPU limit, maximum needed value to allocate a pod
125125
|<none>
126126

127+
|limits.ephemeral-storage
128+
|The ephemeral-storage limit, maximum needed value to allocate a pod.
129+
|<none>
130+
131+
|limits.hugepages-2Mi
132+
|The hugepages-2Mi limit, maximum needed value to allocate a pod.
133+
|<none>
134+
135+
|limits.hugepages-1Gi
136+
|The hugepages-1Gi limit, maximum needed value to allocate a pod.
137+
|<none>
138+
127139
|requests.memory
128140
|The memory request, guaranteed needed value to allocate a pod.
129141
|<none>
@@ -132,6 +144,18 @@ These properties are also used when configuring the <<configuration-kubernetes-t
132144
|The CPU request, guaranteed needed value to allocate a pod.
133145
|<none>
134146

147+
|requests.ephemeral-storage
148+
|The ephemeral-storage request, guaranteed needed value to allocate a pod.
149+
|<none>
150+
151+
|requests.hugepages-2Mi
152+
|The hugepages-2Mi request, guaranteed needed value to allocate a pod.
153+
|<none>
154+
155+
|requests.hugepages-1Gi
156+
|The hugepages-1Gi request, guaranteed needed value to allocate a pod.
157+
|<none>
158+
135159
|affinity.nodeAffinity
136160
|The node affinity expressed in YAML format. e.g. ```{ requiredDuringSchedulingIgnoredDuringExecution: { nodeSelectorTerms: [ { matchExpressions: [ { key: 'kubernetes.io/e2e-az-name', operator: 'In', values: [ 'e2e-az1', 'e2e-az2']}]}]}, preferredDuringSchedulingIgnoredDuringExecution: [ { weight: 1, preference: { matchExpressions: [ { key: 'another-node-label-key', operator: 'In', values: [ 'another-node-label-value' ]}]}}]}```
137161
|<none>
@@ -830,7 +854,7 @@ Using the `boot` Entry Point Style corresponds to using the `exec` style `ENTRYP
830854

831855
When scheduling an application, You can clean up finished Jobs (either Complete or Failed) automatically by specifying `ttlSecondsAfterFinished` value.
832856

833-
The following example shows how you can individually configure application jobs:
857+
The following example shows how you can configure for scheduled application jobs:
834858

835859
====
836860
[source,options=nowrap]
@@ -839,6 +863,15 @@ deployer.<application>.kubernetes.cron.ttlSecondsAfterFinished=86400
839863
----
840864
====
841865

866+
The following example shows how you can individually configure application jobs:
867+
868+
====
869+
[source,options=nowrap]
870+
----
871+
deployer.<application>.kubernetes.ttlSecondsAfterFinished=86400
872+
----
873+
====
874+
842875
Replace `<application>` with the name of your application and the `ttlSecondsAfterFinished` attribute with the appropriate value for clean up finished Jobs.
843876

844877
You can configure the `ttlSecondsAfterFinished` at the global server level as well.

0 commit comments

Comments
 (0)