Commit Graph

13389 Commits

Author SHA1 Message Date
Barry Melbourne a04a523434 Update Terraform to v0.14.8 2021-03-14 16:09:43 +00:00
Kubernetes Prow Robot 45c2333400
Merge pull request #11049 from rifelpet/validate-flap
cluster validation - allow flapping of validation errors
2021-03-14 07:53:03 -07:00
Peter Rifel ce073593da
cluster validation - allow flapping of validation errors
Previously with --wait if a cluster successfully validated and then a subsequent validation failed
(perhaps due to a new critical pod being scheduled and not being ready) we would previously fail the `validate cluster` command immediately.

This will now reset the success counter that approaches --count, allowing validation attempts to continue until we timeout from --wait.

I'm hoping this fixes prow job failures like this: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-grid-u1804-k18-containerd/1370875829445201920

where `kops validate cluster --count 10 --wait 15m` was invoked at `23:15:48` but exited with failure at `23:22:59`.
In my opinion, `kops validate cluster --count 10 --wait 15m` should only ever exit with failure if the 15 minute timeout has been reached.
2021-03-14 09:05:58 -05:00
Kubernetes Prow Robot a92992e10a
Merge pull request #11044 from rifelpet/kubetest2
Revert upgrade script to build kops
2021-03-13 10:57:04 -08:00
Kubernetes Prow Robot 46d92da26b
Merge pull request #11043 from bharath-123/nit/fix-error-msg
Improve instance type validation error message
2021-03-13 10:11:04 -08:00
Bharath Vedartham 059c7ef33a Create an environment file for kops-configuration systemd process 2021-03-13 22:20:49 +05:30
Kubernetes Prow Robot 1f82aa2571
Merge pull request #11042 from bharath-123/task/kops-config-clean-up
Create an environment file for kops-configuration systemd process
2021-03-13 07:49:04 -08:00
Peter Rifel ae7e621bcf
Upgrade cluster first, then run tests 2021-03-13 09:30:18 -06:00
Peter Rifel 7c8eb0cb10
Revert upgrade script to build kops
There were too many issues with downloading kops from a version marker with this setup.
We'll need to move this logic into kubetest2 itself since it has sufficient knowledge for eg. KOPS_BASE_URL, where the kops binary was downloaded, etc.
2021-03-13 09:26:03 -06:00
Bharath Vedartham 368f3e94f2 Create an environment file for kops-configuration systemd process 2021-03-13 16:25:04 +05:30
Kubernetes Prow Robot c5f9ff06db
Merge pull request #11039 from hakman/go-1.16.2
Update Go to v1.16.2
2021-03-12 23:25:03 -08:00
Kubernetes Prow Robot ad7c793050
Merge pull request #10913 from seh/scope-os-update-policy-to-instance-group-too
Honor OS update policy at InstanceGroup level too
2021-03-12 22:03:03 -08:00
Ciprian Hacman 0999651132 Update Go to v1.16.2 2021-03-13 07:23:30 +02:00
Kubernetes Prow Robot 5857e9d2c4
Merge pull request #11037 from rifelpet/kubetest2
Trim space on kops version markers
2021-03-12 16:11:04 -08:00
Peter Rifel 2334ed13f6
Trim space on kops version markers
Fixes the extra newline character in this job failure: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-aws-misc-updown/1370242214826872832#1:build-log.txt%3A91
2021-03-12 17:11:59 -06:00
Kubernetes Prow Robot e500980fba
Merge pull request #11013 from hakman/vendor-k8s-1.21-beta.1
Update k8s dependencies to v1.21.0-beta.1
2021-03-12 12:57:03 -08:00
Kubernetes Prow Robot 99dad7722f
Merge pull request #11034 from hakman/relnotes_1.20.0-beta.2-2
Release notes for 1.20.0-beta.2
2021-03-12 11:28:18 -08:00
Ciprian Hacman 5dd9aedbb9 Update controller-runtime to v0.9.x 2021-03-12 20:51:51 +02:00
Ciprian Hacman a17b90548c Update k8s dependencies to v1.21.0-beta.1 2021-03-12 20:26:04 +02:00
Kubernetes Prow Robot 6d3c7d4117
Merge pull request #11015 from t1cg/caw/fixNullPointerOnUpdate
azure: fix null pointer when updating in place cluster
2021-03-12 10:08:18 -08:00
Ciprian Hacman 722b9e3b62 Release notes for 1.20.0-beta.2 2021-03-12 19:39:23 +02:00
Collin Woodruff 46700685e5 azure: fix null pointer when updating in place cluster 2021-03-12 12:10:17 -05:00
Kubernetes Prow Robot d1f17c6c1b
Merge pull request #11027 from hakman/fix_docker_insecure_registries
Fix rendering of multiple Docker insecure registries
2021-03-12 08:10:18 -08:00
Kubernetes Prow Robot bafbdaef6d
Merge pull request #11026 from olemarkus/cilium-1.10
Allow cilium 1.10
2021-03-12 07:06:18 -08:00
Ciprian Hacman 79a0720143 Fix rendering of multiple Docker insecure registries 2021-03-12 16:30:15 +02:00
Kubernetes Prow Robot 928b8cc442
Merge pull request #11009 from spotinst/feat-launchspec-bdm
Spotinst: Add support for block device mappings in Ocean Launch Spec
2021-03-12 06:16:18 -08:00
Ole Markus With 8e2e60ae44 Allow cilium 1.10 2021-03-12 14:17:28 +01:00
Kubernetes Prow Robot fee36b6ded
Merge pull request #11020 from rifelpet/r53-retry
Increase route53 retry count from 3 to 5
2021-03-11 21:34:17 -08:00
Kubernetes Prow Robot db0872744f
Merge pull request #11018 from hakman/calico-3.18.1
Update Calico to v3.18.1
2021-03-11 20:30:18 -08:00
Peter Rifel e624aeb102
Increase route53 retry count from 3 to 5
Hoping to fix failures like this: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-aws-distro-imagecentos8/1370176524702978048
2021-03-11 22:15:53 -06:00
Ciprian Hacman 909f206484 Update Calico to v3.18.1 2021-03-12 05:47:55 +02:00
Kubernetes Prow Robot ed9da0075d
Merge pull request #11017 from rifelpet/kubetest2
Kubetest2 - use same kops binary for all commands in upgrade scenario
2021-03-11 19:34:18 -08:00
Peter Rifel 0bbaaa3742
Kubetest2 - use same kops binary for all commands in upgrade scenario
This ensures that the same binary is used for kubetest2-kops commands as well as the kops commands invoked directly in the scenario script.

Periodic jobs will create a temp file that will be used to save the kops binary from the provided version marker.
non-periodic jobs (local invocation) will use the bazel build binary, preserving original behavior but using this same binary for kops commands rather than relying on PATH.
2021-03-11 16:47:29 -06:00
Kubernetes Prow Robot 8a8a4c8e40
Merge pull request #10740 from hwoarang/ignore-detached-instances-aws
aws: Graceful handling of EC2 detach errors
2021-03-10 09:47:14 -08:00
Kubernetes Prow Robot 47aed86a55
Merge pull request #11011 from rifelpet/kubetest2
Remove trailing newline from kubernetes version marker
2021-03-10 09:01:14 -08:00
Kubernetes Prow Robot 668b518b7b
Merge pull request #11010 from rifelpet/existing-iam-cleanup
Remove extraneous field from integration test
2021-03-10 06:15:13 -08:00
Peter Rifel 3fb7cbbf0d
Remove trailing newline from kubernetes version marker
Should fix the trailing "%0A" here: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-aws-misc-arm64-ci/1369566440318832640#1:build-log.txt%3A90
2021-03-10 07:52:00 -06:00
Peter Rifel ee600fa2dd
Remove extraneous field from integration test
The api design for using existing instance profiles must have changed during its PR and I never removed the old field from the integration test.
grep shows that this field doesn't exist anywhere else in the codebase.
2021-03-10 07:36:23 -06:00
liranp dc1ee9402a
feat(spot/ocean): support for block device mappings in launchspec 2021-03-10 15:30:39 +02:00
Kubernetes Prow Robot de22989eda
Merge pull request #11005 from rifelpet/upgrade-periodic
Don't build kops during periodic upgrade tests
2021-03-09 21:57:13 -08:00
Kubernetes Prow Robot e7ef671e5a
Merge pull request #11007 from rifelpet/kubetest2-ci-version
Kubetest2 - Fix kops' --kubernetes-version with k8s version markers
2021-03-09 21:15:14 -08:00
Peter Rifel a3f49646ac
actually build kops on kubetest2 presubmit 2021-03-09 21:28:04 -06:00
Peter Rifel 864039e606
Kubetest2 - Have kops' --kubernetes-version flag value include the bucket's url
This matches the kubetest1 behavior.
See an example kops create cluster command here: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-aws-misc-arm64-conformance/1369076996193128448#1:build-log.txt%3A174
The kubetest 1 logic is here: 37b80c5e3b/kubetest/kops.go (L390-L400)
2021-03-09 21:19:44 -06:00
Kubernetes Prow Robot 9eca4115a3
Merge pull request #11006 from rifelpet/kubetest2-publish
Kubetest2 - Add support for publishing the kops version marker
2021-03-09 19:15:13 -08:00
Peter Rifel 10b30eff0e
Kubetest2 - Add support for publishing the kops version marker
This will unblock the remaining periodic e2e jobs that havent been migrated yet.
They run a test with the kops version from "latest-ci.txt" as published by the "postsubmit-push-to-staging" postsubmit job,
and if the tests succeed then they get published to "latest-ci-updown-green.txt" which is what all of the other periodic jobs rely on.

example job that uses this functionality: 37b80c5e3b/config/jobs/kubernetes/kops/kops-pipeline.yaml (L46-L48)
2021-03-09 20:31:10 -06:00
Peter Rifel 208a4a2bf7
Don't build kops during periodic upgrade tests
This updates the upgrade scenario script to support building kops when ran locally, or using the version markers when ran in a periodic prow job.

hoping to fix the upgrade tests here: https://testgrid.k8s.io/kops-kubetest2#kops-aws-upgrade
2021-03-09 20:17:37 -06:00
Kubernetes Prow Robot ca3f505a32
Merge pull request #11004 from bharath-123/task/update-release=notes
Add to 1.21 release notes
2021-03-09 10:32:06 -08:00
Bharath Vedartham 1243e6b4e2 Add to 1.21 release notes 2021-03-09 23:21:42 +05:30
Kubernetes Prow Robot 59d3fb4071
Merge pull request #11002 from seh/amend-default-choice-for-storage-class-management
Storage: Amend default choice for StorageClass management to honor a specified OpenStack-related value
2021-03-09 09:00:59 -08:00
Steven E. Harris 44061601da Test default StorageClass management choice 2021-03-09 11:08:33 -05:00