-
Notifications
You must be signed in to change notification settings - Fork 219
Updated external-snapshot-metadata sidecar support to its alpha level #595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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
``` | ||
|
||
This client performs following actions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me,
Thanks !
/lgtm |
/cc @xing-yang |
Co-authored-by: Praveen M <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/assign @msau42 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@iPraveenParihar: changing LGTM is restricted to collaborators In 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: carlbraganza, iPraveenParihar, Rakshith-R The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
``` | ||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The `HOSTPATHPLUGIN_REGISTRY` and `HOSTPATHPLUGIN_TAG` environment variables are used to override defaults for the CSI hostpath driver image. |
What type of PR is this?
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?: