Skip to content

Add kubelet instance configuration to configure CRI socket for each node #3042

Open
@HirazawaUi

Description

@HirazawaUi

Is this a BUG REPORT or FEATURE REQUEST?

FEATURE REQUEST

Anything else we need to know?

This issue wants to remove container runtime interface (CRI) socket annotations from Node objects in Kubernetes and no longer added --container-runtime-endpoint args in kubeadm-flags.env ( --container-runtime-endpoint args deprecated in kubelet), this annotation and args are used to specify the CRI socket endpoint on each node that the kubelet uses to communicate with the container runtime.

Add kubelet-instance-config.yml locally to store container runtime interface (CRI) sockets, and in kubeadm init, join and upgrade, override the global kubelet configuration through kubelet-instance-config.yml.

More detailed design at: https://hackmd.io/@r2Yq-PVoRcK2OaGypnwPMg/rJFChACCp/edit

### Tasks

edit by neolit123:

1.32 alpha

1.33 alpha

  • k/k PRs:
    • TODO remove the --container-runtime flag from /var/lib/kubelet/kubeadm-flags.env
    • TODO remove the annotation if the FG is enabled on upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/feature-gatesarea/kubeletkind/designCategorizes issue or PR as related to design.kind/featureCategorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions