kubernetes / website

Kubernetes website and documentation repo:

Home Page:https://kubernetes.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a note that after a cluster upgrade using kubeadm, backup files will need to be cleared manually.

davidwtf opened this issue · comments

After the upgrade, the backup directory /etc/kubernetes/tmp will remain.
The ETCD backup could use several hundred MB to several GB of disk storage.
If we don't clean up the backups, the storage may become full after several upgrades.
Users may need to clean it up manually.

You can find more information about this issue here: kubernetes/kubernetes#125357

/language en

/retitle Add a note that after a cluster upgrade using kubeadm, backup files will need to be cleared manually.

/triage accepted

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

Guidelines

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

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

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:

/help

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

The following pages mentioned, if do setting of [--cleanup-tmp-dir] flag, will cleanup the "/etc/kubernetes/tmp" directory.
Is it relevant to this issue?

https://kubernetes.io/docs/reference/setup-tools/kubeadm/generated/kubeadm_reset_phase_cleanup-node/#options
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/#options

i would like to work on it.
/assign

The following pages mentioned, if do setting of [--cleanup-tmp-dir] flag, will cleanup the "/etc/kubernetes/tmp" directory. Is it relevant to this issue?

https://kubernetes.io/docs/reference/setup-tools/kubeadm/generated/kubeadm_reset_phase_cleanup-node/#options https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-reset/#options

reset does clean it, but upgrade is another place to mention it.

page to be updated: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/#recovering-from-a-failure-state

just put a note here.

@tamilselvan1102 please include fixes #46766 in the PR description to close this issue.

Raised PR, Please review it.

/sig cluster-lifecycle