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
Likely this is due to the glue between SCDF and deployer, for example:
In SCDF KubernetesTaskPlatformFactory.createLauncher there is:
KubernetesTaskLauncher kubernetesTaskLauncher = new KubernetesTaskLauncher(
kubernetesProperties, kubernetesClient, containerFactory);
Yet on the deployer side, in KubernetesTaskLauncher that constructor would be:
@Autowired
public KubernetesTaskLauncher(KubernetesDeployerProperties properties,
KubernetesClient client, ContainerFactory containerFactory) {
this(properties, new KubernetesTaskLauncherProperties(), client, containerFactory);
}
which creates a new KubernetesTaskLauncherProperties so calling taskLauncherProperties.getBackoffLimit(); in say for example KubernetesTaskLauncher.getBackoffLimit(..) is just going to return null...
The text was updated successfully, but these errors were encountered:
- Introduce Platform task launcher properties to include K8s task launcher properties
- Construct the task launcher using this explicit property
- Update test
Resolvesspring-cloud#4186
Yes, we need an explicit K8s task launcher properties extracted from the K8s platform account properties to be used in the K8s task launcher. Fixed via #4546
ilayaperumalg
added a commit
to ilayaperumalg/spring-cloud-dataflow
that referenced
this issue
May 27, 2021
- Introduce Platform task launcher properties to include K8s task launcher properties
- Construct the task launcher using this explicit property
- Update test
Resolvesspring-cloud#4186
While investigating spring-cloud/spring-cloud-deployer-kubernetes#398 (comment) it was found that properties set into the scdf configmap that should be populated into
TaskLauncherProperties
is not happening.For example:
Likely this is due to the glue between SCDF and deployer, for example:
In SCDF
KubernetesTaskPlatformFactory.createLauncher
there is:Yet on the deployer side, in
KubernetesTaskLauncher
that constructor would be:which creates a new
KubernetesTaskLauncherProperties
so callingtaskLauncherProperties.getBackoffLimit();
in say for exampleKubernetesTaskLauncher.getBackoffLimit(..)
is just going to return null...The text was updated successfully, but these errors were encountered: