kubernetes-sigs / kubernetes-sigs/cli-utils

Feature Request: Make kapply handle sigint and sigterm gracefully

Open
#442 5 comments 1 reaction 0 assignees View on GitHub
lifecycle/frozen
Dominant language
Go
Stars
178
Forks
85
PR merge metrics
No merged PRs in 30d

Description

In cmd/main.go we should use https://pkg.go.dev/os/signal#NotifyContext to handle SIGTERM and SIGINT properly vs just exiting abruptly.

Contributor guide

Open the contributing guide

Research direction

Start by reading cmd/main.go and the os/signal NotifyContext documentation to understand how kapply currently exits. Done means SIGTERM and SIGINT are handled gracefully instead of causing an abrupt exit.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.