Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support stopsignal in kube files #25389

Open
saolof opened this issue Feb 23, 2025 · 1 comment
Open

Support stopsignal in kube files #25389

saolof opened this issue Feb 23, 2025 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. kube

Comments

@saolof
Copy link

saolof commented Feb 23, 2025

Feature request description

The kubernetes API is getting a field for stop signals added for version 1.33 set to be released in April. This means that the --stop-signal flag can be supported in Kube pod definitions, currently it can only be specified in the CLI or in quadlets.

kubernetes/enhancements#4960

Suggest potential solution

Being able to pass a stop signal for containers in the same way as in the Kubernetes API, by adding the field in the Lifecycle field of Container.

apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: nginx:1.14.2
    lifecycle:
      stopSignal: SIGUSR1

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@saolof saolof added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 23, 2025
@Luap99 Luap99 added the kube label Feb 24, 2025
@baude
Copy link
Member

baude commented Feb 24, 2025

care to submit a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. kube
Projects
None yet
Development

No branches or pull requests

3 participants