Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

Add pod-level 'terminationGracePeriodSeconds' #386

@Kim-menu

Description

@Kim-menu

Problem description:

Thank you for developing awesome tool SCDF :)
I want to execute 'preStop' hook with all task execution.
Because SCDF supports lifecycle hook deployer properties(postStart, preStop), I can reach my purpose.
However, I cannot find any properties for setting 'terminationGracePeriodSeconds'.
Is there any deployer properties with it? or other method that I can use for applying deployment properties which are not supported in 'spring cloud deployer k8s'?

Solution description:
support 'terminationGracePeriodSeconds' property(?) 😅

See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/

Description of alternatives:

Additional context:

Tasks

  • implement in k8s deployer
  • update docs in SCDF

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions