Commit Graph

13748 Commits

Author SHA1 Message Date
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
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
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
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
dntosas af6d4d585f
[csi/aws] Bump templates to latest stable version …
- Update manifests
- Bump components version
- Add API capability of setting Version + VolumeLimit
- Remove snapshot-controller resources as it should be independent from
any CSI driver

Signed-off-by: dntosas <ntosas@gmail.com>
2021-04-25 16:45:15 +03:00
Kubernetes Prow Robot 404eaddc07
Merge pull request #11319 from dntosas/metrics-server-bump
[metrics-server] Bump manifest to latest stable
2021-04-25 06:07:00 -07:00
dntosas ea2f862a48
[metrics-server] Bump manifest to latest stable
- Bump image to v0.4.3
- Set new default kubelet options based on upstream behavior
- Set default requested resources

Signed-off-by: dntosas <ntosas@gmail.com>
2021-04-25 13:20:40 +03:00
Kubernetes Prow Robot ba9f14c508
Merge pull request #11318 from hakman/push-alpha-to-stable
Promote channel alpha to stable
2021-04-25 01:31:00 -07:00
Ciprian Hacman 55e154a526 Update Ubuntu images to latest version 2021-04-25 09:24:20 +03:00
Ciprian Hacman 71b93587f8 Promote channel alpha to stable 2021-04-25 09:05:40 +03:00
Kubernetes Prow Robot 29f8da1156
Merge pull request #11317 from johngmyers/warmpool-negative
Disallow negative warmpool sizes
2021-04-24 22:35:00 -07:00
John Gardiner Myers 1948018d1f Disallow negative warmpool sizes 2021-04-24 16:44:36 -07:00
John Gardiner Myers 044b5f6d0d Allow disabling warm pool by setting WarmPool.MaxSize to 0 2021-04-24 16:35:46 -07:00
Kubernetes Prow Robot 09276d47e6
Merge pull request #11313 from johngmyers/fix-doc
Improve warm pool documentation
2021-04-24 12:29:00 -07:00
Kubernetes Prow Robot 2244471830
Merge pull request #11312 from olemarkus/cilium-operator
Use the full operator instead of the generic one
2021-04-24 11:40:59 -07:00
John Gardiner Myers 0647563da8 Improve warm pool documentation 2021-04-24 10:48:05 -07:00
Ole Markus With 8f1f2446c3 Use the full operator instead of the generic one 2021-04-24 18:01:36 +02:00
Kubernetes Prow Robot 7efc6d6cf3
Merge pull request #11307 from olemarkus/warm-documentation
Add warm pool docs and release notes
2021-04-24 02:49:22 -07:00
Kubernetes Prow Robot 4ffd50137c
Merge pull request #11305 from kubernetes/zetaab-patch-1
Filter servers using cluster name in tags
2021-04-24 02:49:15 -07:00
Kubernetes Prow Robot ab55ba7e88
Merge pull request #11306 from zetaab/updatedeps2
update deps
2021-04-24 02:05:21 -07:00
Kubernetes Prow Robot b0664176bc
Merge pull request #11259 from olemarkus/warm-life-cycle-hook
Make nodeup able to complete the warming life cycle hook
2021-04-24 02:05:15 -07:00
Kubernetes Prow Robot bc20262a47
Merge pull request #11281 from javipolo/cert-manager-default-issuer
Add ability to set a default Issuer in certManager addon
2021-04-24 01:21:14 -07:00
Ole Markus With c18a210124 Add warm pool docs and release notes 2021-04-24 09:45:41 +02:00
Ole Markus With 1ec0bd18e8 Enable support for the ASG WarmPool lifecycle hook
Update pkg/model/iam/iam_builder.go

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2021-04-24 09:40:52 +02:00
Kubernetes Prow Robot 0d9e2e7bb4
Merge pull request #11184 from cloudnatix/kenji/gcp
Add GCE Router task
2021-04-24 00:37:15 -07:00
Jesse Haka e32034a5a9 update gomod 2021-04-24 09:59:28 +03:00
Jesse Haka 2a48fcda9d update deps 2021-04-24 09:57:40 +03:00
Jesse Haka c08721f24d
Update seeds.go 2021-04-24 09:46:05 +03:00
Kenji Kaneda f37330f53d Add GCE Router task
This commit picks up the change from the previous attempt
(https://github.com/kubernetes/kops/pull/6828).

- Add Router to GCE tasks
- Add the HasExternalIP field to InstanceTemplate
- Create a RouterTask and set HasExternalIP to false when
  a private topology is specified.

https://github.com/kubernetes/kops/issues/6827
2021-04-23 23:03:38 -07:00
Kubernetes Prow Robot 4fa59e4e00
Merge pull request #11301 from haugenj/bump_nth_1.13.0
bump NTH to 1.13.0
2021-04-23 22:15:15 -07:00
Kubernetes Prow Robot af353d1635
Merge pull request #11303 from haugenj/nth_permissions
fix permissions required for NTH Queue Processor
2021-04-23 13:01:40 -07:00
Jason Haugen c2a9bdc515 fix permissions required for NTH Queue Processor 2021-04-23 13:10:29 -05:00
Kubernetes Prow Robot 7d936548ca
Merge pull request #11300 from rifelpet/sqs-perms
Document the newly required SQS permissions for NTH
2021-04-23 10:05:39 -07:00