-
Notifications
You must be signed in to change notification settings - Fork 391
[question] should I manually apply CRD after upgrade to 2.0.0? #277
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
Comments
@jichenjc You need to delete the old CRD and apply the "config/crd/*.yaml". |
my k8s is fresh new env through hack command .. ALLOW_PRIVILEGED=true RUNTIME_CONFIG="storage.k8s.io/v1=true" LOG_LEVEL=5 hack/local-up-cluster.sh previously I don't need create CRD and now I need create CRD , correct? and is there any links so that I can apply on the fly? |
Before the v2.0.0(it's alpha), we needn't to create crd,Because when the snapshotter sidecar running, it will create the crd in default. After the v2.0.0(it's beta), we should create the crd by the yaml, If you k8s cluster has old crd, you need to delete it. |
perfect, that's what I need , thanks a lot the only question is where to apply those CRDs? usually you can apply on line ,but apply the master branch directly is not a good idea ... |
Sorry, I mean follwing is what I need
#147 seems not related because https://github.com/kubernetes-csi/external-snapshotter/releases told us v2.0.0 is Jan this year while the question #147 is July last year |
What's version do you want to use? |
latest one.. v2.0.1 ,thanks a lot |
You should use there yaml for apply "https://github.com/kubernetes-csi/external-snapshotter/tree/v2.0.1/config/crd" |
ok, got it ,thanks~ |
could you please let me know whether we have plan to put CRD into release? |
kubectl apply -f https://github.com/kubernetes-csi/external-snapshotter/tree/v2.0.1/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml download and it contains html .. |
@jichenjc on top of what @zhucan has pointed out, in VolumeSnapshot BETA, there will be two controllers in your cluster (in Alpha it was only one). Details could be found in here. In short:
looks to me you were only trying to install the sidecar controller. is the snapshot controller available (see addon)? |
@yuxiangqian I want to install both the CRD need to be created (as @zhucan pointed out, alpha doesn't need so) ,I am looking for the crds ,seems the addon (https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/volumesnapshots) is the answer? thanks |
@jichenjc To use snapshot v2.0.1, you can install CRDs from the following location: The addon is for in-tree testing purpose. |
@xing-yang thanks , as previous mentioned, I understand I can download file from given places
|
@jichenjc Please check the usage section of README: https://github.com/kubernetes-csi/external-snapshotter/blob/master/README.md#usage Snapshot controller should not install the CRDs. It should be the k8s distro that deploys the CRDs and the snapshot controller. |
@xing-yang thanks, I will read this and get back here later on |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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/test-infra repository. |
previous in cloud-provider-openstack we used 1.2.2 version seems we don't need apply CRD from snapshoter
but when I upgrade to 2.0.1, I start to see logs
kubernetes/cloud-provider-openstack#974
I applied config/crd/*.yaml in this repo then everything is fine
should I manually apply this or I have some configuration error when upgrade to 2.0.1? thanks
The text was updated successfully, but these errors were encountered: