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
Solution description:
We request an enhancement of the documentation. Please introduce and explain the various options available for initContainers in the document. Specifically, clarify the following options:
containerName (not name)
imageName (not image)
environmentVariables (not env)
Additionally, it would be helpful to provide an example of how to use these options in a YAML file, such as:
data:
application.yaml: |- spring: cloud: dataflow: task: platform: kubernetes: accounts: default: initContainers: - containerName: test imageName: busybox:latest commands: - sh - -c - echo hello - containerName: test2 imageName: busybox:latest commands: - sh - -c - echo world
Furthermore, please include information about other possible options, such as:
imagePullPolicy
volumeMounts
and others
The text was updated successfully, but these errors were encountered:
Looking at the initContainers configuration, it doesn't look like a discrepancy with the document as the K8s deployer properties are set for the initContainers with containerName and imageName etc., from K8s deployer configuration - not as name and image.
In introspect, this was an unfortunate choice of property name as it would have been simpler to choose the actual K8s initContainer property names. In the upcoming release, we will try to see if we can find a way to consolidate with the actual K8s property keys for better property management.
corneil
transferred this issue from spring-cloud/spring-cloud-dataflow
Sep 20, 2024
Problem description:
The options for initContainers described in the document https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/#_init_containers differ from the options used in regular Kubernetes pods.
This discrepancy causes confusion for users who are familiar with standard pod syntax.
Solution description:
We request an enhancement of the documentation. Please introduce and explain the various options available for initContainers in the document. Specifically, clarify the following options:
Additionally, it would be helpful to provide an example of how to use these options in a YAML file, such as:
Furthermore, please include information about other possible options, such as:
The text was updated successfully, but these errors were encountered: