Updated external-snapshot-metadata sidecar support to its alpha level#595
Conversation
alpha release of the external snapshot metadata sidecar.
7097bcd to
3963162
Compare
deploy/kubernetes-1.30/hostpath/csi-snapshot-metadata-sidecar.patch
Outdated
Show resolved
Hide resolved
| kubectl wait -n csi-client --for=jsonpath='{.status.phase}'=Running --timeout=5m pod/csi-client | ||
| ``` | ||
|
|
||
| This client performs following actions: |
There was a problem hiding this comment.
Do you think its a good idea to summarize actions performed by the client behind the scene to give more clarity?
There was a problem hiding this comment.
It made a lot of sense before but now it repeats what is present in the external-snapshot-metadata repo and the documentation.
Co-authored-by: Prasad Ghangal <prasad.ghangal@gmail.com>
|
/lgtm |
|
/cc @xing-yang |
Co-authored-by: Praveen M <30765265+iPraveenParihar@users.noreply.github.com>
|
/assign @msau42 |
|
@iPraveenParihar: changing LGTM is restricted to collaborators DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
| ``` | ||
| 2. Execute the deploy script to setup the hostpath plugin driver with the Kubernetes SnapshotMetadata service: | ||
| ``` | ||
| SNAPSHOT_METADATA_TESTS=true HOSTPATHPLUGIN_REGISTRY=registry.k8s.io/sig-storage HOSTPATHPLUGIN_TAG=v1.16.1 ./deploy/kubernetes-latest/deploy.sh |
There was a problem hiding this comment.
| SNAPSHOT_METADATA_TESTS=true HOSTPATHPLUGIN_REGISTRY=registry.k8s.io/sig-storage HOSTPATHPLUGIN_TAG=v1.16.1 ./deploy/kubernetes-latest/deploy.sh | |
| SNAPSHOT_METADATA_TESTS=true ./deploy/kubernetes-latest/deploy.sh |
We don't need to override the registry and tag as the latest released hostpath driver has SnapshotMetadata API support
There was a problem hiding this comment.
Are you sure about that? When I last tried it out (just before KubeCon) it failed without explicitly specifying the tag.
There was a problem hiding this comment.
@carlbraganza looks like we didn't update the image tag for hostpath plugin deployment to latest release.
This will work once the tag is updated to the latest. We can do that in the same PR as well
https://github.com/kubernetes-csi/csi-driver-host-path/pull/607/files
| ``` | ||
| Specifying the `SNAPSHOT_METADATA_TESTS=true` environment variable causes it to configure the `external-snapshot-metadata` sidecar | ||
| in the CSI hostpath driver Pod. | ||
| The `HOSTPATHPLUGIN_REGISTRY` and `HOSTPATHPLUGIN_TAG` environment variables are used to override defaults for the CSI hostpath driver image. |
There was a problem hiding this comment.
| The `HOSTPATHPLUGIN_REGISTRY` and `HOSTPATHPLUGIN_TAG` environment variables are used to override defaults for the CSI hostpath driver image. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carlbraganza, iPraveenParihar, Rakshith-R, xing-yang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #594
Special notes for your reviewer:
Does this PR introduce a user-facing change?: