Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2734

make configurable for pods in k8shim pkg/client/kubeclient.go

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Delivered
    • None
    • 1.6.0
    • None

    Description

      for remove //TODO comment
      in pkg/client/kubeclient.go
      https://github.com/rich7420/yunikorn-k8shim/blob/a5e875086fc8fd7e2bf4cdddf532d768d7a5f54c/pkg/client/kubeclient.go#L141

      Make the grace period for pod deletion configurable.
      Currently, the grace period for deleting pods is hardcoded to 3 seconds.
      This might not be suitable for all use cases, as some pods might require more time to gracefully shut down. In the future, this value should be made configurable, either through a function parameter, configuration file, or environment variable, to provide more flexibility and accommodate different scenarios.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rich7420 Huang Guan Hao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: