-
Notifications
You must be signed in to change notification settings - Fork 374
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
Automated cherry pick of #504: Make sure the VolumeSnapshots v1 CRDs exist before starting #505: Update sample implementation #507: fix typo in CRD check #508
Automated cherry pick of #504: Make sure the VolumeSnapshots v1 CRDs exist before starting #505: Update sample implementation #507: fix typo in CRD check #508
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mauriciopoppe 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 |
Hi @mauriciopoppe. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
@mauriciopoppe: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
I see the following errors. This is caused by the changes in the snapshot controller deployment file. Probably the new changes in StatefulSet API is not recognizable by an earlier version of K8S cluster.
|
I don't think that is the problem. That PR only deploys snapshot-controller in "kube-system" namespace. The error we are getting is not "namespace not found". It is complaining about specific fields in StatefulSet Spec not existing. So there's a mismatch somewhere. It seems that the changes you added to "setup-snapshot-controller.yaml " is not compatible with what the StatefulSet Spec is expecting on this cluster. |
I know what the problem is now. In release-4.0, we are using "statefulset" to deploy snapshot-controller. In master, we are using "deployment". So the new fields you added to "setup-snapshot-controller.yaml " are not valid fields on release-4.0 branch. I'm not sure that we can backport a change that needs to change from "statefulset" to "deployment". I think for this type of change, we need to bump the minor version, i.e., from 4.0.0 to 4.1.0. We are about to release 4.1.0. So maybe we don't need to backport to release-4.0. |
Hi @mauriciopoppe, v4.1.0 is just released. Looks like StatefulSet also has an UpdateStrategy field. Do you want to take a look and see if similar changes can be applied? |
Thanks for the suggestion @xing-yang, I've looked at this field and it has this shape: updateStrategy:
type: "RollingUpdate" | "OnDelete"
rollingUpdate:
partition: int32 Unfortunately for the fix in #504 to work we rely on |
Cherry pick of #504 #505 #507 on release-4.0.
#504: Make sure the VolumeSnapshots v1 CRDs exist before starting
#505: Update sample implementation
#507: fix typo in CRD check
For details on the cherry pick process, see the cherry pick requests page.
Does this PR introduce a user-facing change?: