-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update Kind to version 0.8.1 (Kubernetes 1.18.0) #871
Conversation
@FxKu looking at the failed travis CI run this seems to not really be related to the change to kind 0.7.0. I just ran this code on my local machine and it ran just fine (one test tripped its configured timeout though). |
@frittentheke, yeah the |
@lalbers can you rebase to trigger the pipeline again? I'm still not able to run the e2e tests successfully on my machine. Before, I was able to "debug" my clusters by setting the kind
|
@FxKu as for running locally ... did you see my reference to kubernetes-sigs/kind#1029 ? [...]
|
@frittentheke yes I could see that with |
@lalbers please merge with master to trigger another travis build. I want to get this PR merged :) |
👍 |
@FxKu some folks might run a CI that executes its jobs on Kubernetes as pods. |
@FxKu it might make sense it jump to Kind >= 0.8.1 right away. There are LOTS of fixes in that version and there is now (experimental) podman support which might help some folks to run the tests in a CI pipeline on Kubernetes. See 0.8 release notes: https://github.com/kubernetes-sigs/kind/releases/tag/v0.8.0 |
@frittentheke that would definitely make sense. Hopefully, this time test will pass immediately this time. Please update. Thanks! |
Updated the go module to [email protected].
|
Has this PR gotten a bit out of hand of the original scope? Seems unlikely to mix/merge 88 changed files with so many different changes under "Kind update" |
Sorry, I think it messed up my local repo somehow :/ |
Hm still no luck for me:
Travis also doesn't like it but gives a few more details:
|
According to https://github.com/kubernetes-sigs/kind/releases/tag/v0.8.0 the node image should be so it's rather strange that your kind seems to be starting up a 1.15.3 node ... |
@FxKu This error is caused by the run.sh extracting the IPAddress at path of doing So the query should be
@lalbers FYI ^^ |
Thanks @frittentheke for solving this issue and @lalbers for updating. I've just tests on my machine and it "seems" to work (test fail because of timeouts but's that's likely due to my setup). On travis, one test has an issue so I'm rebuilding now. Maybe that's the only thing then left to fix. The K8s 1.15 image appeared in my logs as I did not update kind but ran |
So it's the same like in march: The |
testing it manually with kind I could see that patching a node with the node readiness label lead to termination of the pod on the other worker - that's fine. But then it is not assigned to the node that has the label. On
Maybe this helps us moving further. |
Since kind 0.7.0 rancher/local-path-provisioner is used for volume provisioning. And this one seems to only take the node name as affinity, not hostname as it was done before with the former storage class. E.g. when I
Maybe we could add the legacy storage class for e2e tests and specify it in the Postgres manifest to fix this problem. But I do wonder why tests pass in your setup? Maybe the solution is even simpler 😃 |
@lalbers @frittentheke I've continued your work in #1121. Exchanging the storage class was not enough. Had to fix another long standing issue when calling list_node(). Now we are on kind v0.8.1 🥳 Thanks for pushing and contributing. |
It would be nice if the e2e tests would run on a more recent kind version. Since most of the k8s versions are newer, it makes sense to test the operator with a more recent api.