Skip to content

Conversation

@TomatoAres
Copy link
Contributor

@TomatoAres TomatoAres commented Jul 22, 2021

What type of PR is this?

/kind bug

What this PR does / why we need it:

CSI-Operator need storage controller and sidecar images in local docker registry.

Which issue(s) this PR fixes:

Fixes #1414

Special notes for your reviewer:

  1. Need push this images to docker hub:
# images needed in the feature
cephfsplugin:v0.3.0
cephfsplugin:v1.0.0
csi-attacher:v0.4.2
csi-provisioner:v0.4.2
csi-resizer:v0.5.0
csi-snapshotter:v0.4.1
csi-tencentcloud-cbs:v0.2.1
csi-tencentcloud-cbs:v1.2.0
driver-registrar:v0.3.0
livenessprobe:v0.4.1
rbdplugin:v0.3.0
rbdplugin:v1.0.0
  1. NOTE: Stack now use a old version csi-operator image (ID sha256:b77952b83730), which only looks like v1.0.2.
    Version of driver in this image is v1.0.0 but the version in csi-operator code is v1.2.0.

    We decide to use the old version, and remember to bump csi-operator up to v1.0.3 to fix this issue.

  2. Close the old fix(platform): add cbs sidecar and controller images #1419

@TomatoAres
Copy link
Contributor Author

@huxiaoliang
All images needed have been uploaded to dockerhub

Tke stack only support csi-operator images in local, csi images can be access from dockerhub, and the usage document has been added.

@TomatoAres TomatoAres force-pushed the fix-1414-2 branch 2 times, most recently from e45b870 to cc72f48 Compare August 4, 2021 08:34
| TencentCBS V1 |docker pull tkestack/csi-provisioner:v1.2.0 <br/>docker pull tkestack/csi-attacher:v1.1.0<br/>docker pull tkestack/csi-snapshotter:v1.2.2<br/>docker pull tkestack/csi-node-driver-registrar:v1.1.0<br/>docker pull tkestack/csi-tencentcloud-cbs:v1.0.0 <br />docker pull tkestack/csi-resizer:v0.5.0|
| TencentCBS V1P1 |docker pull tkestack/csi-provisioner:v1.2.0 <br/>docker pull tkestack/csi-attacher:v1.1.0<br/>docker pull tkestack/csi-snapshotter:v1.2.2<br/>docker pull tkestack/csi-node-driver-registrar:v1.1.0<br/>docker pull tkestack/csi-tencentcloud-cbs:v1.2.0 <br />docker pull tkestack/csi-resizer:v0.5.0|

所有镜像均已上传 [公网 dockerhub](https://hub.docker.com/),使用时 `csi-operator`根据配置的 存储类型拉取所需的镜像
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

### 镜像准备

当前支持的存储插件包括 RBD、CephFS、TencentCBS 和 TencentCFS(测试中,暂不支持),
针对不同的模式,依赖不同的 csi 镜像:
Copy link
Contributor

@huxiaoliang huxiaoliang Aug 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please highlight here that the dependency image not in tkestack built-in registry but all in docker hub tkestack org, since it will cause the offline package too big, user have to download them manually if any

@TomatoAres
Copy link
Contributor Author

All images needed by csi-operator will be loaded by csi-operator from dockerhub, such as CBSv1:

csi-operator

Copy link
Contributor

@huxiaoliang huxiaoliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please address my comments, thanks

@TomatoAres
Copy link
Contributor Author

please address my comments, thanks

Modified as recommended

@huxiaoliang
Copy link
Contributor

/lgtm

@leoryu leoryu merged commit d9bd614 into tkestack:master Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cisoperator (cbs)on tkestack 1.7 doesn't work

3 participants