Add the function to set featureGates for kubelet
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
**What would you like to be added**:
I would like to be able to set feature gates using the kubelet argument or config file.
**Why is this needed**:
There are situations where we want to set feature gates that are false by default.
e.g: GRPCContainerProbe (Actually, 1.23 or higher)
See the description of the option `--feature-gates ` below.
[kubelet | Kubernetes](https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/)
Currently, when we use eksctl for EKS, we can set these using kubeletExtraConfig field of the Cluster Config for self-managed node groups.
[Config file schema - eksctl](https://eksctl.io/usage/schema/#nodeGroups-kubeletExtraConfig)
```
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
(snip)
nodeGroups:
- name: ng
(snip)
kubeletExtraConfig:
featureGates:
GRPCContainerProbe: true
```
I would like to do the same with EKS-A.
Contributor guide
Research direction
Start by tracing EKS-A's kubelet configuration path for node groups and compare it with eksctl's kubeletExtraConfig schema. Check how kubelet arguments or the config file are generated, then verify that a featureGates map such as GRPCContainerProbe can be passed through and applied to EKS-A nodes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100