生成controllermanager scheduler的kubeconfig
- Dominant language
- Go
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
老版本证书时间是99年但是没有更新scheduler和manager的kubeconfig, 可以使用本工具进行更新
```
sealctl user -u system:kube-scheduler -o scheduler.conf --ca-crt /etc/kubernetes/pki/ca.crt --ca-key /etc/kubernetes/pki/ca.key
sealctl user -u system:kube-controller-manager -o controller-manager.conf --ca-crt /etc/kubernetes/pki/ca.crt --ca-key /etc/kubernetes/pki/ca.key
```
然后拷贝到每个master的/etc/kubernetes目录下,覆盖老的,然后重启scheduler和controller-manager即可。
注意备份好老的conf防止出错需要回滚
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reviewing the sealctl user command and the Kubernetes master configuration procedure described in the issue. Confirm whether the intended outcome is documentation or a change to the command, and consider the work done only when the scheduler and controller-manager kubeconfig update and rollback steps are clearly covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- cli, devops, infrastructure
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100