-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add check-cluster-up script for KinD providers #645
Add check-cluster-up script for KinD providers #645
Conversation
Signed-off-by: Or Mergi <[email protected]>
Signed-off-by: Or Mergi <[email protected]>
Signed-off-by: Or Mergi <[email protected]>
Signed-off-by: Or Mergi <[email protected]>
Signed-off-by: Or Mergi <[email protected]>
12878b9
to
e9ed19b
Compare
Signed-off-by: Or Mergi <[email protected]>
Test SRIOV provider with kindnet CNI instead of Calico and run conformance tests. Signed-off-by: Or Mergi <[email protected]>
Test SRIOV provider with kindnet CNI instead of Calico and run conformance tests. Signed-off-by: Or Mergi <[email protected]>
Test SRIOV provider with kindnet CNI instead of Calico and run conformance tests. Signed-off-by: Or Mergi <[email protected]>
d6b5ac1
to
a3a712b
Compare
Signed-off-by: Or Mergi <[email protected]>
Test SRIOV provider with kindnet CNI instead of Calico and run conformance tests. Signed-off-by: Or Mergi <[email protected]>
Signed-off-by: Or Mergi <[email protected]>
Test SRIOV provider with kindnet CNI instead of Calico and run conformance tests. Signed-off-by: Or Mergi <[email protected]>
a3a712b
to
0ae3219
Compare
Missing the word |
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.
Thanks
latest=$(curl -L "${nightly_build_base_url}/latest") | ||
|
||
echo "Deploy latest nighly build Kubevirt" | ||
if [ $(kubectl get kubevirts -n kubevirt kubevirt -ojsonpath='{.status.phase}') != "Deployed"; then |
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.
maybe worth to assert that kubevirt is not deployed instead ?
i do understand it gives freedom to install specific kubevirt, so up to you
btw usually on kubevirtci the sonobuoy conformance are without kubevirt, right?
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.
maybe worth to assert that kubevirt is not deployed instead ?
i do understand it gives freedom to install specific kubevirt, so up to you
In case its not deployed it wont get into the if block
btw usually on kubevirtci the sonobuoy conformance are without kubevirt, right?
Currently we run Kubevirt conformance as well on all check-provision lanes
${kubectl} apply -f "${nightly_build_base_url}/${latest}/kubevirt-operator.yaml" | ||
${kubectl} apply -f "${nightly_build_base_url}/${latest}/kubevirt-cr.yaml" | ||
fi | ||
${kubectl} wait -n kubevirt kv kubevirt --for condition=Available --timeout 15m |
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.
maybe should be part of the if, else it means that the kubevirt is deployed but here you are checking that its also Available, again up to you
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.
This check is not part of the if in order to prevent running tests in case not all kubevirt components are ready.
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.
maybe 15 minutes is too much ?
how much other repos use
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.
on hack/cluster-deploy.sh it check every 5 minutes for 25 minutes
https://github.com/kubevirt/kubevirt/blob/371958b07a340d0ba9e9d1e9a2936411e395a5df/hack/cluster-deploy.sh#L154
From what I saw sometime it takes 2-3 rounds to be ready, rarely more then 10 minutes , so I picked 15 minutes timeout.
0ae3219
to
2e45a29
Compare
0168bb5
to
8841d56
Compare
/retest |
the last push is pure rebase right ? |
Yes |
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.
Thanks
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.
/approve
Sorry for the delay, this slipped through :-/
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhiller The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold Wait until kubevirt/kubevirt#6199 is merged as we might need to do some changes to this PR |
/unhold |
/retest |
/retest |
1 similar comment
/retest |
[5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
[8198e9c sync provider.sh between kind and kind-sriov](kubevirt/kubevirtci#587) [8b1d599 Restore kind-1.19-sriov provider files](kubevirt/kubevirtci#695) [bf9b729 Upgrade SR-IOV provider nodes image to k8s-1.22](kubevirt/kubevirtci#694) [5a10f48 Add check-cluster-up script for KinD providers](kubevirt/kubevirtci#645) Signed-off-by: kubevirt-bot <[email protected]>
Currently we dont run Kubevirt conformance tests on SR-IOV check up lane
This PR adds check-cluster-up script for KinD based providers, similar to what we have on check-provision lanes.
Basically it will check that the cluster is healthy, dump the nodes network configurations
and run conformance tests.
This script will be used on SR-IOV prow job command in order to prevent bad changes to SR-IOV provider.
Signed-off-by: Or Mergi [email protected]