Commit Graph

953 Commits

Author SHA1 Message Date
Ole Markus With b3a60d3bc2 Set IMDSv2 on by default for nodes
Bastion, nodes, and api servers get limit of 1
API servers tend to run pods requiring metadata access. The hop limit
depends on CNI, but all should work with a limit of 3.
2021-06-05 08:17:12 +02:00
Ole Markus With 1ced3defc9 add e2e scenario script for testing cilium connectivity 2021-06-05 08:14:30 +02:00
John Gardiner Myers 1db6e318a1 hack/update-expected.sh 2021-06-03 21:30:06 -07:00
John Gardiner Myers 91d81e5a1a hack/update-expected.sh 2021-06-03 21:26:51 -07:00
John Gardiner Myers 4bf9150ab6 hack/update-expected.sh 2021-06-03 21:20:43 -07:00
John Gardiner Myers 1d44ee3116 hack/update-expected.sh 2021-06-03 20:41:05 -07:00
Kubernetes Prow Robot bc49d9958d
Merge pull request #11679 from olemarkus/e2e-ab-export-kubeconfig
Use release markers instead of releases
2021-06-03 06:09:38 -07:00
Kubernetes Prow Robot 0c61bcaca4
Merge pull request #11674 from hakman/docker-20.10.7
Add support for Docker v20.10.7
2021-06-03 05:15:38 -07:00
Ole Markus With ae8d8be192
Update tests/e2e/scenarios/upgrade-ab/run-test.sh
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2021-06-03 13:34:07 +02:00
Ole Markus With 9e5c298706 Use release markers instead of releases 2021-06-03 13:26:36 +02:00
Ciprian Hacman 62f54d1401 Run hack/update-expected.sh 2021-06-03 11:16:08 +03:00
Ole Markus With cf8f99137f Explicitly set kubeconfig flag where we want to use it 2021-06-03 10:12:06 +02:00
Peter Rifel ecbbe005b3
Fix kubetest2 upgrade scripts 2021-06-02 21:16:26 -05:00
Ole Markus With 150efaf006 Move common stuff in e2e scenarios to common.sh 2021-06-02 15:33:44 +02:00
Peter Rifel 6aec6005ee
Use upstream LBC repo now that the required PR has been merged
Signed-off-by: Peter Rifel <pgrifel@gmail.com>
2021-06-01 22:17:17 -05:00
Peter Rifel 894c26bf67
ebs-csi scenario - move --kops-binary-path into common kubetest2 args 2021-06-01 22:11:14 -05:00
Peter Rifel b8193a73d4
silence kops wget output in upgrade scenario 2021-06-01 22:10:38 -05:00
Peter Rifel c09517b6dd
set -x in all scenario scripts 2021-06-01 22:10:17 -05:00
Kubernetes Prow Robot 04db0c9507
Merge pull request #11648 from olemarkus/e2e-merge-ab
Use version marker for kops ab scenario
2021-06-01 11:59:51 -07:00
Kubernetes Prow Robot 3c4b6068b9
Merge pull request #11649 from h3poteto/fix-jwks-location
Fix jwks object path in S3 for IRSA
2021-06-01 08:26:27 -07:00
AkiraFukushima 361b02fa44
Fix integration test for oidc because the object path is changed 2021-06-01 23:35:21 +09:00
Ole Markus With 1fb58b9087 Use version marker for kops ab scenario 2021-05-31 18:07:54 +02:00
John Gardiner Myers 0a48b9050f Protokube needs dns-controller IAM permissions 2021-05-31 06:58:59 -07:00
Ciprian Hacman 80ee477727 Update Go to v1.16.4 2021-05-29 11:31:22 +03:00
Ole Markus With 120773a464 Remove debug code and copy kops to PATH 2021-05-29 08:10:12 +02:00
Ole Markus With 9bba5773cb
Update tests/e2e/scenarios/kops-upgrade/run-test.sh
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2021-05-28 16:21:53 +02:00
Ole Markus With 80d706b0c4 Dump all CP node logs to artifacts 2021-05-27 22:10:25 +02:00
Kubernetes Prow Robot 1f869ce21c
Merge pull request #11612 from olemarkus/e2e-marker
Use version marker for kops upgrade scenario
2021-05-27 04:00:23 -07:00
Ole Markus With 1be2d1605c Use version marker for kops upgrade scenario 2021-05-27 11:54:09 +02:00
Ciprian Hacman 3b80de3bcc Convert all indents to spaces in node bootstrap script 2021-05-27 11:21:52 +03:00
Kubernetes Prow Robot 46e1616467
Merge pull request #11605 from olemarkus/enable-aws-csi-by-default
Enable AWS EBS CSI driver by default
2021-05-26 21:34:23 -07:00
Ole Markus With 04b15e404e Enable AWS EBS CSI driver by default 2021-05-26 08:47:14 +02:00
Ole Markus With e0651f1b74 Use the downloaded kops version for awslbc test 2021-05-24 20:36:51 +02:00
Ole Markus With 5c50d1502c Use latest CI build instead of building in the test 2021-05-24 09:27:14 +02:00
Ole Markus With 0c59576a72 Enable cert-manager in the ebs csi e2e test 2021-05-23 07:24:20 +02:00
Ole Markus With 46e13c0009 Bump snapshot-controller version
Update upup/models/cloudup/resources/addons/storage-aws.addons.k8s.io/v1.15.0.yaml.template

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>

Update upup/models/cloudup/resources/addons/storage-aws.addons.k8s.io/v1.15.0.yaml.template

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2021-05-21 15:40:40 +02:00
Kubernetes Prow Robot 72a5618b05
Merge pull request #11330 from codablock/etcd-events
Make events etcd cluster optional
2021-05-21 06:30:46 -07:00
Ole Markus With c541139eee Run the tests requiring snapshotcontroller again 2021-05-21 08:11:32 +02:00
Alexander Block 5306e27646 Run ./hack/update-expected.sh 2021-05-20 08:11:35 +02:00
Peter Rifel c9f810d57e
Support terraform 0.12+'s filebase64() in json output
Originally the JSON output was meant as a bridge between the 0.11 and 0.12 support.
Now that we've dropped support for 0.11, we can use filebase64() instead of encoding the userdata in the file ourselves.
2021-05-19 17:42:50 -05:00
Ciprian Hacman c0e71d802d Run hack/update-expected.sh 2021-05-19 20:31:13 +03:00
Kubernetes Prow Robot ab86bdf7cb
Merge pull request #11524 from johngmyers/nodeup-prebake
Don't download nodeup if already in the AMI
2021-05-19 09:24:52 -07:00
John Gardiner Myers 65711d05c0 hack/update-expected.sh 2021-05-19 08:02:10 -07:00
Ole Markus With f9658d5301 Skip feature tests for ebs csi e2e 2021-05-19 14:05:25 +02:00
John Gardiner Myers fbd7663606 hack/update-expected.sh 2021-05-18 21:49:39 -07:00
Kubernetes Prow Robot fe7d6e5516
Merge pull request #11442 from hakman/ipv6
Add initial support for configuring IPv6 with AWS
2021-05-18 21:02:50 -07:00
Ciprian Hacman 57feaa65c3 Run hack/update-expected.sh 2021-05-19 06:21:07 +03:00
Ciprian Hacman cedbe1f360 Add initial support for configuring IPv6 with AWS 2021-05-19 06:21:07 +03:00
srikiz 2c581a7449 Increase droplet size 2021-05-18 23:06:09 +05:30
Ole Markus With cbecb27c82 Split genkgo in two
With the way the two e2e suites are implemented, the last suite will overwrite the junit report of the former suites. So we need to split this in order to capture the output from both suites
2021-05-18 18:16:30 +02:00
Ciprian Hacman c08d0e2bdf Pre-add AWS IPv6 integration test 2021-05-18 08:56:16 +03:00
Kubernetes Prow Robot 3b9c8cb5ad
Merge pull request #11508 from rifelpet/upgrade-scenario
Cleanup some of the scenario scripts
2021-05-17 17:57:30 -07:00
Peter Rifel 1104046adc
Cleanup some of the scenario scripts
This makes them a bit more consistent.
2021-05-17 19:14:28 -05:00
Ole Markus With 3ce7c108c1 AWS LB controller requires multiple subnets to work 2021-05-17 19:35:06 +02:00
Ole Markus With d80165ff68 Fix override flags on aws lb controller scenario 2021-05-17 11:58:17 +02:00
Ole Markus With 7df35fa06a Add e2e test for aws-lb-controller 2021-05-16 18:26:23 +02:00
Ole Markus With d3581ebb84 bump aws lb controller to 2.2.0 2021-05-16 18:26:23 +02:00
Kubernetes Prow Robot f7e6786d86
Merge pull request #11486 from hakman/canonical_downloads_location
Set canonical location for downloads to artifacts.k8s.io
2021-05-13 16:42:04 -07:00
Ciprian Hacman a39d829f1f Set canonical location for downloads to artifacts.k8s.io
And remove the legacy location for downloads.
2021-05-14 00:41:56 +03:00
Ole Markus With f3421fccd9 Set the test cluster-tag 2021-05-13 20:21:58 +02:00
Peter Rifel de292c8ad0
Kubetest2 - Increase validation time for DO jobs 2021-05-13 08:37:41 -05:00
Ole Markus With c04bd5fa99 Use ginkgo to run the tests so we can run things in parallel 2021-05-13 13:29:09 +02:00
Kubernetes Prow Robot 7b0487066e
Merge pull request #11472 from olemarkus/csi-test-known-zone
Discover what zone the cluster is in for the aws-ebs-csi driver tests
2021-05-13 01:04:27 -07:00
Ole Markus With eb0d999ee7
Update tests/e2e/scenarios/aws-ebs-csi/run-test.sh
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2021-05-13 08:20:17 +02:00
Peter Rifel 640fd531c6
Add gossip integration test 2021-05-12 17:21:01 -05:00
Ole Markus With 0f3d70f433 Discover what zone the cluster is in 2021-05-12 21:41:08 +02:00
Ole Markus With 0f4a53fe4a Add test scenario for aws ebs csi driver 2021-05-10 20:48:27 +02:00
Kubernetes Prow Robot 0e1a65bd5a
Merge pull request #11428 from hakman/container-runtime_default
Create new clusters without forcing a container runtime
2021-05-09 13:16:48 -07:00
Kubernetes Prow Robot fb86a54dfd
Merge pull request #11432 from justinsb/fix_upgrade_ab_2
e2e upgrade-ab: a few more fixes and notes on how to run locally
2021-05-09 12:32:55 -07:00
Ciprian Hacman 54961e4ae5 Create new clusters without forcing a container runtime
Decide which container runtime to use later in model, based on Kubernetes version and other settings.
2021-05-09 21:43:58 +03:00
Justin SB 63a27b7b96 e2e upgrade-ab: a few more fixes and notes on how to run locally
While trying to reproduce #11370.
2021-05-09 13:48:37 -04:00
Justin SB 2f5e653069 e2e: only get ExternalIPRange if we need it
ExternalIPRange doesn't currently support IPv6 machines, so only call
it if we need to.  This allows local testing even with IPv6 enabled
machines.
2021-05-09 13:47:33 -04:00
Kubernetes Prow Robot 56bbc0d6ac
Merge pull request #10963 from srikiz/DO-Add-e2e-job
[Digital Ocean] Add an e2e job for DO
2021-05-08 06:30:47 -07:00
srikiz 7e366ff678 use create-args for specifying additional argments for kops create cluster command
Add create-args parameter only once with spaces separating multiple arguments

Add kops state store

Another fix to check if environment variable are used correctly

Add state store for digital ocean

Add env variables for do related job

check if env is empty

tmp check 1

Revert changes

Use a smaller droplet size

Update make file

Add SSH key for DO

Add private key path

update ssh user

Another fix

try with v1.18

use 1.20

Rebase with master

Fix merge issues

Add DO droplet dump support

I'm hoping this allows our e2e tests to dump system logs into the job artifacts for easier troubleshooting

Use root ssh user

use 2 nodes to reduce cost

another minor fix

Skip services test

Increase master size

Skip flaky tests

Remove pod status test that belongs to v1.20

Add do test file and revert changes to make file

Update make file

Include DigitalOcean in the supported provider flags

incorporate review comments

Update tests/e2e/pkg/tester/tester.go

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>

Fix formatting

Add higher resource master and nodes for running e2e tests

Revert back to use lower size masters
2021-05-08 12:54:18 +05:30
John Gardiner Myers 36f93d0069 hack/update-expected.sh 2021-05-07 23:40:03 -07:00
John Gardiner Myers d3469d6ec2 Remove code for no-longer-supported k8s versions 2021-05-07 23:40:03 -07:00
Kubernetes Prow Robot 001c5ca796
Merge pull request #11409 from justinsb/fix_upgrade_ab
e2e upgrade-ab: fix a few errors
2021-05-07 21:21:18 -07:00
Kubernetes Prow Robot 2e4bb2f98a
Merge pull request #11407 from johngmyers/release-1.22-alpha-1
Release 1.22.0-alpha.1
2021-05-07 20:39:18 -07:00
Justin SB a736a170b6 e2e upgrade-ab: fix a few errors 2021-05-07 21:11:25 -04:00
John Gardiner Myers 81956f622c Prepare for kOps 1.22 2021-05-07 13:44:58 -07:00
Justin SB c8f8938cae Create upgrade_ab e2e scenario for complex upgrades
The intent is that we'll be able to perform arbitrary
upgrades/downgrades; creating a new scenario to avoid breaking
existing tests.

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2021-05-07 11:15:38 -04:00
Peter Rifel d46732164e
Add another update cluster dryrun to upgrade tests
This way we can confirm that no changes are reported after update cluster --yes
2021-05-07 08:08:02 -04:00
Kubernetes Prow Robot f0307cdcc9
Merge pull request #11393 from olemarkus/fix-lb-controller-nlb-permissions
Add elasticloadbalancing:ModifyTargetGroupAttributes to aws lb controller
2021-05-07 03:57:03 -07:00
John Gardiner Myers 8823f30ad7 Recognize the ServiceAccountIssuerDiscovery featue gate 2021-05-06 08:57:37 -07:00
Ole Markus With cd9ddd6716 Add elasticloadbalancing:ModifyTargetGroupAttributes to aws lb controller 2021-05-06 15:27:39 +02:00
John Gardiner Myers d21cb0f306 Use consistent ServiceAccountJWKSURI default for PublicJWKS 2021-05-06 00:15:15 -07:00
John Gardiner Myers a79da8ee86 Don't use PublicJWKS in TestAWSLBController 2021-05-06 00:11:23 -07:00
Peter Rifel fe9bcc4a0b
kubetest2 - remove unnecessary flags from upgrade scripts
The test arg logic is now handled internally within kubetest2-tester-kops so we don't need these flags
2021-05-05 20:42:45 -05:00
Peter Rifel 9c94ff23cf
Kubetest2 - fix wget flag in kops download 2021-05-05 08:42:54 -05:00
Peter Rifel 4d1794cd04
Kubetest2 - Fix GNU mktemp syntax
apparently it is significantly different from BSD.
2021-05-05 07:14:49 -05:00
Peter Rifel 1f9de34c03
Add a new kops upgrade test 2021-05-04 18:31:35 -05:00
Peter Rifel c9aefe6e16
Move existing upgrade test and fix shellcheck errors
Also updating the k8s versions used in the upgrade and testing
2021-05-04 18:31:35 -05:00
Peter Rifel b0b625d46f
Rename upgrade scenario to k8s-upgrade 2021-05-04 18:31:35 -05:00
John Gardiner Myers 5c4f1c4f6c Adjust sorting of resources in hcl2 2021-05-02 19:39:23 -07:00
Kubernetes Prow Robot b054fb37b7
Merge pull request #11016 from olemarkus/irsa-custom
user-configurable IAM roles for ServiceAccounts
2021-05-02 11:16:01 -07:00
Ciprian Hacman 689b76d0ff Mark control-plane node for update when etcd manager config changes 2021-05-02 08:50:42 +03:00
Ciprian Hacman 62c47d23d4 Add integration test for etcd 2021-05-02 08:48:46 +03:00
Ole Markus With 6f8b3647cf Add support for IRSA in he api
Apply suggestions from code review

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2021-05-01 16:03:42 +02:00
Ciprian Hacman d64cfba365 Mark control-plane node for update when etcd volume size changes
etcd-manager expands the data volume on restart to the max available.
2021-05-01 12:06:22 +03:00
Ole Markus With 5ca7c9b5d7 Use VFS as service account issuer if configured
Also add an integration test that uses VFS
2021-04-30 21:02:30 +02:00