Commit Graph

846 Commits

Author SHA1 Message Date
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
Ole Markus With 460586833b Add toggle for AWS OIDC provider. Free it from any feature flag 2021-04-30 19:19:06 +02:00
Ole Markus With 25b5f0cfb2 Move publicDataStore to serviceAccountIssuerDiscovery.discoveryStore 2021-04-30 19:19:06 +02:00
Jesse Haka 960a52d6b2 Update deps 2021-04-30 11:39:01 +03:00
srikiz d2f6175898 Add an e2e job for DO 2021-04-30 09:50:14 +05:30
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
Peter Rifel 7cb31fb500
Fix upgrade scenario kubetest2 install 2021-04-28 17:20:04 -05: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