手动部署安装阿里云的存储插件 csi-plugin

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
kubernetes

Research direction

Start with the issue's UnInstallClusterAddons and InstallClusterAddons API links, then verify the CSI plugin versions against the referenced Alibaba Cloud CSI upgrade guide. Done means a clear, reproducible procedure for restoring csi-plugin and csi-provisioner after accidental deletion, including the relevant version information and recovery outcome.

Written by the indexing model from the issue text.

Description

场景:

意外删除了 kube-system 命名空间下面的 csi-plugin 和 csi-provisioner 插件之后,依赖于存储的 pod 启动不成功,无法使用存储,同时在阿里云 k8s 控制台不能手工升级存储插件,需要恢复存储插件。

方案:

手动调用 API 卸载插件,然后再手动调用 API 安装插件。

https://next.api.aliyun.com/api/CS/2015-12-15/UnInstallClusterAddons?lang=JAVA&params={}

卸载掉 csi-plugin, csi-provisioner 组件,然后通过调用这个 InstallClusterAddons API 重新安装。

两个插件的版本号参考:

https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/blob/master/deploy/ack/upgrade/upgrade.md?spm=5176.11938480.help.7.2cad5f73R5nsIp&file=upgrade.md

Dominant language
Python
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from davideuler/programming-tips

All issues in davideuler/programming-tips

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.