kubernetes / website

Kubernetes website and documentation repo:
https://kubernetes.io
Creative Commons Attribution 4.0 International
4.59k stars 14.48k forks source link

Mention graceful_node_shutdown_state in kubelet local files page #48610

Open SergeyKanzhelev opened 4 weeks ago

SergeyKanzhelev commented 4 weeks ago

This is a Bug Report

Problem:

The file is not mentioned on the page https://kubernetes.io/docs/reference/node/kubelet-files/

Proposed Solution: Add a mention of the file graceful_node_shutdown_state

Page to Update: https://kubernetes.io/docs/reference/node/kubelet-files/

a-mccarthy commented 3 weeks ago

/priority backlog /language en /triage accepted /help

thanks for filing @SergeyKanzhelev, can you share a little more about this file or where someone can look into learning more about it for the docs. thanks!

k8s-ci-robot commented 3 weeks ago

@a-mccarthy: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/kubernetes/website/issues/48610): >/priority backlog >/language en >/triage accepted >/help > >thanks for filing @SergeyKanzhelev, can you share a little more about this file or where someone can look into learning more about it for the docs. thanks! Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
pegasas commented 3 weeks ago

/assign @pegasas

network-charles commented 2 weeks ago

Hi @a-mccarthy, it can be found here.

git clone https://github.com/kubernetes/kubernetes.git
cd kubernetes
grep -rnw . -e "graceful_node_shutdown_state"

./pkg/kubelet/nodeshutdown/storage_test.go:27:  var localStorageStateFileName = "graceful_node_shutdown_state"
./pkg/kubelet/nodeshutdown/nodeshutdown_manager.go:88:  localStorageStateFile          = "graceful_node_shutdown_state"
./test/e2e_node/node_shutdown_linux_test.go:561:                        stateFile := "/var/lib/kubelet/graceful_node_shutdown_state"