Commit Graph

13777 Commits

Author SHA1 Message Date
Ciprian Hacman bd7176f45f Replace convenience functions with fi.* alternatives 2021-04-30 11:26:48 +03:00
Kubernetes Prow Robot 8f0aa33131
Merge pull request #11352 from hakman/mount-run-etcd
Mount /run inside etcd-manager pods for systemd mounts
2021-04-29 02:04:50 -07:00
Ciprian Hacman 75047c6513 Mount /run inside etcd-manager pods for systemd mounts 2021-04-29 10:15:58 +03:00
Kubernetes Prow Robot 2de1342abf
Merge pull request #11351 from rifelpet/kubetest2
Fix kubetest2 panic inheriting env vars
2021-04-28 20:46:50 -07:00
Peter Rifel 6afaaa3161
Fix kubetest2 panic inheriting env vars
Fixes `panic: runtime error: slice bounds out of range [:-1]` found here: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-grid-scenario-aws-cloud-controller-manager/1387534126441041920

Also fixes a logging statement to include the cluster name (empty cluster name is seen in those same logs)
2021-04-28 21:47:17 -05:00
Kubernetes Prow Robot a42edc4f0d
Merge pull request #11350 from rifelpet/kubetest2
Fix upgrade scenario kubetest2 install
2021-04-28 16:56:50 -07:00
Peter Rifel 7cb31fb500
Fix upgrade scenario kubetest2 install 2021-04-28 17:20:04 -05:00
Kubernetes Prow Robot 06f2f25623
Merge pull request #11344 from olemarkus/bump-cilium
Bump cilium to 1.9.6
2021-04-28 01:48:49 -07:00
Ole Markus With 01ccf4590f Bump cilium to 1.9.6 2021-04-28 10:06:13 +02:00
Kubernetes Prow Robot 021f0e5f55
Merge pull request #11338 from rifelpet/kubetest2
Update kubetest2 dependency and fix install method for upgrade scenario
2021-04-28 00:40:49 -07:00
Kubernetes Prow Robot 109f4bbb08
Merge pull request #11328 from olemarkus/channels-pki-set-san
Set SAN for addon CAs
2021-04-27 23:58:49 -07:00
Kubernetes Prow Robot f79d6b43d5
Merge pull request #11342 from hakman/controller-runtime-0.9.0-beta.0
Update controller-runtime to v0.9.0-beta.0
2021-04-27 23:12:50 -07:00
Kubernetes Prow Robot 942f183157
Merge pull request #11336 from olemarkus/sqs-fix-flap
Fix SQS resource flapping
2021-04-27 22:08:49 -07:00
Ciprian Hacman 39fe0175aa Update controller-runtime to v0.9.0-beta.0 2021-04-28 07:49:24 +03:00
Kubernetes Prow Robot 24bb9366ef
Merge pull request #11339 from hakman/calico-3.18.2
Update Calico to v3.18.2
2021-04-27 20:32:49 -07:00
Ciprian Hacman dffb1ca5e0 Update Calico to v3.18.2 2021-04-28 05:50:06 +03:00
Kubernetes Prow Robot 071ea676d6
Merge pull request #11331 from olemarkus/warmpool-silence-error
Don't try to delete warm pool when creating the cluster
2021-04-27 17:12:50 -07:00
Peter Rifel 0f9a04e0c7
Update kubetest2 dependency and fix install method for upgrade scenario 2021-04-27 17:58:48 -05:00
Kubernetes Prow Robot f1fbde95e6
Merge pull request #11337 from bjhaid/master
Add `enable-host-reachable-services` to 1.8 and generic cilium.
2021-04-27 14:19:38 -07:00
Kubernetes Prow Robot 5207933bca
Merge pull request #11327 from hakman/ubuntu-21.04
Recognize Ubuntu 21.04
2021-04-27 13:35:38 -07:00
Kubernetes Prow Robot 75999163df
Merge pull request #11335 from olemarkus/warmpool-fix-hook-name
Fix lifecycle hook naming
2021-04-27 12:37:38 -07:00
bjhaid af1189befd Add `enable-host-reachable-services` to 1.8 and generic cilium.
This completes #11333. I missed these updating these other template
files when I submitted #11333.
2021-04-27 13:57:38 -05:00
Ole Markus With f16cafb8ef Make hook task name unique while the hook name is consistent
Since tasks need to be unique, but we need to reuse the hookname across all ASGs, we distinguish between task and actual name of the hook
2021-04-27 20:57:19 +02:00
Ole Markus With 849ff56c96 Fix SQS resource flapping
* one case of AWS returning different JSON than we passed
* AWS returning a field we do not (and can not) build an expected value of
2021-04-27 20:47:24 +02:00
Kubernetes Prow Robot e035decbfc
Merge pull request #11333 from bjhaid/master
Add support for configuring Cilium enable-host-reachable-services.
2021-04-27 11:41:39 -07:00
bjhaid 88ed9f68bd Add support for configuring Cilium enable-host-reachable-services.
After upgrading Cilium to 1.8 via kops one of our clusters had a total
outage due to cilium reporting errors as below:

```
level=error msg="endpoint regeneration failed" containerID= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=592 error="Failed to load tc filter: exit status 1" identity=40147 ipv4= ipv6= k8sPodName=/ subsys=endpoint
```

upon searching Cilium slack we found the below thread:

https://cilium.slack.com/archives/C1MATJ5U5/p1616400216167600

which recommended setting `enable-host-reachable-services` to true will
address the problems. We set the field and it fixed our issues too,
however we observed that kops does not have a means to configure this
hence this PR.

We will like to have this backported after it has been merged.
2021-04-27 12:49:27 -05:00
Ole Markus With c42ca216a2 Move lifecycle hook task to match expected filename 2021-04-27 19:13:48 +02:00
Kubernetes Prow Robot 3430c52fcc
Merge pull request #10847 from justinsb/pass_provider_with_kubetest2
kubetest2: Infer the provider and zones from the kops cluster
2021-04-27 08:57:38 -07:00
Peter Rifel 038baef420
Set --gce-project flag too 2021-04-27 10:12:34 -05:00
Peter Rifel e3f5409375
fix go.sum 2021-04-27 10:12:34 -05:00
Peter Rifel 3eab38f968
If using boskos, always create a new GCS bucket
Previously we were setting KOPS_STATE_STORE before knowing its value, resulting in an empty string
2021-04-27 10:12:34 -05:00
Peter Rifel 7f09dcab06
Add more cloud provider flags to e2e.test 2021-04-27 10:12:33 -05:00
Peter Rifel d36f65e0fb
Copy the kops binary from --kops-binary-path into RunDir for tester's PATH 2021-04-27 10:12:33 -05:00
Peter Rifel 8d326656a1
Always download kops into the test's RunDir so that it is in the tester's PATH 2021-04-27 10:12:32 -05:00
Justin SB b21df766fc
kubetest2: Infer the provider and zones from the kops cluster
This means we don't need to pass these flags explicitly.
2021-04-27 10:12:31 -05:00
Kubernetes Prow Robot 6ed023ed30
Merge pull request #11326 from codablock/fix-ebs-csi
Fix arguments to csi-provisioner after bump to v2.2.0
2021-04-27 05:25:37 -07:00
Ole Markus With 5881020b94 Don't try to delete warm pool when creating the cluster 2021-04-27 14:23:20 +02:00
Ciprian Hacman e0eab51c5c Recognize Ubuntu 21.04 2021-04-27 12:54:42 +03:00
Kubernetes Prow Robot 17e46e5a2c
Merge pull request #11322 from johngmyers/warmpool-cluster
Add cluster-level warmPool settings
2021-04-27 02:09:38 -07:00
Ole Markus With 0dc9cd44e6 Set SAN for addon CAs 2021-04-27 09:27:57 +02:00
Kubernetes Prow Robot d443c2723a
Merge pull request #11291 from cloudnatix/kenji/gce_integration_test
Add a lifecycle test for GCE
2021-04-26 23:27:37 -07:00
Alexander Block b534a3272f Run ./hack/update-expected.sh 2021-04-27 08:18:43 +02:00
Alexander Block 938e54019d Fix arguments to csi-provisioner after bump to v2.2.0
Parameters for leader elections have changed in v2.2.0, which causes the
csi-provisioner to not start anymore.
2021-04-26 23:10:51 +02:00
Kenji Kaneda 71f52363f8 Add a lifecycle test for GCE
- Move MockGCECloud to cloudmock/gce.
- Change Compute() and CloudDNS() of GCECloud to return interfaces
  for mocking
2021-04-26 13:05:27 -07:00
Kubernetes Prow Robot d90ace058b
Merge pull request #11304 from dntosas/update-aws-csi-ebs
[csi/aws] Bump templates + add support for warm pools
2021-04-26 02:37:01 -07:00
John Gardiner Myers 428041bc0f Add cluster-level warmPool settings 2021-04-25 20:22:04 -07:00
Kubernetes Prow Robot 09d869a4cb
Merge pull request #11321 from johngmyers/fix-typo
Fix typo
2021-04-25 20:05:01 -07:00
John Gardiner Myers 5ad32230bb Fix typo 2021-04-25 13:42:12 -07:00
Kubernetes Prow Robot fb39ddd0e7
Merge pull request #11316 from johngmyers/warm-enabled
Allow disabling warm pool by setting WarmPool.MaxSize to 0
2021-04-25 09:05:00 -07:00
dntosas 9481246e22
[csi/aws] Add support for warm pools
Add pulling needed images as initial task for warming up instances for
csi driver resources.

Signed-off-by: dntosas <ntosas@gmail.com>
2021-04-25 16:59:57 +03:00