Commit Graph

964 Commits

Author SHA1 Message Date
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
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
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
Ciprian Hacman 39fe0175aa Update controller-runtime to v0.9.0-beta.0 2021-04-28 07:49:24 +03:00
Peter Rifel 0f9a04e0c7
Update kubetest2 dependency and fix install method for upgrade scenario 2021-04-27 17:58:48 -05: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
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
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
Ciprian Hacman 55e154a526 Update Ubuntu images to latest version 2021-04-25 09:24:20 +03: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
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
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
Jason Haugen 36722afb0f change casing Asg->ASG 2021-04-22 13:07:01 -05:00
Jason Haugen 7e48dad4d2 add ManagedAsgTag, merge templates, improve docs 2021-04-19 16:51:08 -05:00
Jason Haugen cceb9dd296 lifecycle integ test, docs, & small cleanup 2021-04-19 15:43:06 -05:00
Jason Haugen 211c77f224 rebase & update tf output 2021-04-19 15:43:05 -05:00
Jason Haugen f91a71d901 update cloudformation test output 2021-04-19 15:43:05 -05:00
Jason Haugen fb3f317e42 fix cloudformation verify 2021-04-19 15:43:05 -05:00
Jason Haugen 318a116ba6 fix staticcheck 2021-04-19 15:43:05 -05:00
Jason Haugen 10df4a9a14 integ tests 2021-04-19 15:43:05 -05:00
Ciprian Hacman 6759431152 Run tests in all regions with increased limits 2021-04-18 17:16:44 +03:00
Peter Rifel 949b72d633
Kubetest2 - Use PULL_NUMBER in cluster name for presubmits
This should force the same e2e job in one PR's presubmits to use the same cluster name on every job invocation.

Mimics the kubetest1 logic here: f7e21a3c18/scenarios/kubernetes_e2e.py (L242-L251)
2021-04-17 13:06:44 -05:00
Peter Rifel e53af99ed1
Kubetest2 - Cleanup leaked resources from previous clusters
If --up is specified then we always delete any previous cluster with the same name since it would conflict otherwise and ensures leaked resources are cleaned up.

We don't do this if --terraform is specified because Down() will run `terraform destroy` but each kubetest2 invocation uses a random temp directory for its terraform state, so it wouldn't know of any resources to destroy
2021-04-17 11:49:29 -05:00
Ciprian Hacman d33508d51f Update kOps recommended versions and images 2021-04-17 08:52:50 +03:00
Ciprian Hacman 2ff317a8b7 Run tests only on accounts with increased limits 2021-04-15 18:29:01 +03:00
xiaorunkun df908fbed8 Correct typos 2021-04-15 10:31:02 +03:00
Kubernetes Prow Robot c771b7622e
Merge pull request #11216 from olemarkus/warm-nodeup
Don't start kubelet if instance is entering the warm pool
2021-04-15 00:07:49 -07:00
Ciprian Hacman 27e102bd04 Add support for Docker v20.10.6 2021-04-15 07:01:36 +03:00
Ole Markus With af92896dc7 Don't start kubelet if we are warming 2021-04-14 11:05:50 +02:00
Peter Rifel ecf03b1c27
Kubetest2 - Ensure the bucket path is the final gsutil arg
should fix this error: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-gce-kubetest2/1381650445893636096#1:build-log.txt%3A122
2021-04-12 09:58:23 -07:00
Peter Rifel 1597eac516
Kubetest2 - detect errors creating GCS bucket
The job seems to be failing to check if the bucket exists or not. This should cause the job to fail sooner and hopefully log more info about why it failed.
See https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-gce-kubetest2/1381529768943423488#1:build-log.txt%3A121
2021-04-12 05:33:24 -07:00
Kubernetes Prow Robot 034bd351dd
Merge pull request #11195 from bmelbourne/update-docker-20.10.5
Update Docker to v20.10.5
2021-04-11 14:03:59 -07:00
Peter Rifel d74651f39b
Update default stage location (and as a result, kops_base_url)
This matches the kubetest1 behavior: 675a42cb78/scenarios/kubernetes_e2e.py (L259-L267)
2021-04-11 11:34:02 -07:00
Barry Melbourne 1a60629d38 Update Docker to v20.10.5 2021-04-11 19:26:46 +01:00
Peter Rifel 6f063c1c63
Kubetest2 - Set KOPS_BASE_URL to --build's stage location
Previously we would upload the custom kops build to the stage location but the kops commands would not have their KOPS_BASE_URL overridden.
This ensures that all kops commands have KOPS_BASE_URL correctly set.
2021-04-11 11:03:09 -07:00
Barry Melbourne 6575b6113d Update integration tests to k8s v1.21.0 2021-04-11 17:07:17 +01:00
Peter Rifel ef5205cde7
Kubetest2 - Create project-specific state store buckets in GCP
Since we use boskos to get a random GCP project, we need to create a bucket per project so that permissions will be setup properly.
This matches the existing kubetest1 behavior.
2021-04-10 16:29:14 -07:00
Peter Rifel ba4c6fadcb
Kubetest2 - Add flag to expose cluster validation wait time
The flatcar jobs are failing because the OS performs package updates and a reboot after initial launch, even with the latest AMI.
This causes the cluster to timeout on its validation.

Exposing a flag will allow us to conditionally extend the validation for the flatcar tests
2021-04-05 19:40:41 -10:00
Ole Markus With dbd23473ef Add irsa support for awslbcontroller
This commit also introduces support for adding token projection volumes for well-known SAs.
Slightly less complicated than explicitly parsing the objects for a manifest
2021-04-04 21:24:07 +02:00
Kubernetes Prow Robot f733db7e33
Merge pull request #11175 from olemarkus/aws-lb-controller-test
Add integration test for aws lb controller
2021-04-04 11:30:12 -07:00
Ole Markus With 1e3674e896 Add integration test for aws lb controller 2021-04-04 19:46:09 +02:00
Peter Rifel b740123c1d
kubetest2 - Pass GOPATH when building kops 2021-04-01 21:20:17 -10:00
Peter Rifel 80ceb4200d
Update test outputs 2021-03-26 11:24:11 -07:00
Peter Rifel 088f342f28
Disable ap-northeast-3 zones for now 2021-03-24 21:19:21 -05:00
Peter Rifel ac27e2edcd
kubetest2 - Specify GCE network name
Kops defaults to a network named "default" and has issues with network modes.
Apparently there is a "default" network within the projects that boskos issues,
causing `kops create cluster` to fail some cloudup validation.

By specifying a cluster-specific network, kops will create this new network with the non-deprecated settings.
2021-03-24 21:16:54 -05:00
Peter Rifel 462cfffb02
Kubetest2 - fix temp directory created for GCE SSH keys
Also update all ioutil references to their go 1.16 replacements
2021-03-24 06:17:56 -05:00
Peter Rifel b2f2c61e69
Kubetest2 - Setup SSH keys for GCE
Originally I had thought we were relying on ssh keys mounted from a secret,
it turns out kubetest 1 generated the keys indirectly through gcloud.

This runs the same command as kubetest 1, creating and uploading the SSH keys.
2021-03-23 19:06:15 -05:00
Barry Melbourne 05123faf5a Update containerd to v1.3.10/v1.4.4 2021-03-23 17:02:01 +00:00
Kubernetes Prow Robot d523ba2ab4
Merge pull request #11109 from hakman/release-1.21.0-alpha.2
Release 1.21.0 alpha.2
2021-03-22 01:21:43 -07:00
Ciprian Hacman fa72535f95 Release 1.21.0-alpha.2 2021-03-22 08:38:47 +02:00
Peter Rifel c22565830b
Update AWS zones used by e2e tests
This adds zones that have been released since this list was updated.
This also reenables some that were disabled due to capacity for c4 instance types - we use c5 now so hopefully they'll have sufficient coverage.
We can disable them if we continue to run into availability issues.

Long term I could see us using the ec2.DescribeAvailabilityZones and ec2.DescribeInstanceTypeOfferings to pick random zone(s) in a random region and guarantee that it has the needed instance types.
2021-03-21 17:54:54 -05:00
Kubernetes Prow Robot d14ba1bba1
Merge pull request #11087 from justinsb/readd_jwks_tests
Re-add integration tests for jwks
2021-03-21 00:33:49 -07:00
Kubernetes Prow Robot d43fb1e807
Merge pull request #11083 from bmelbourne/update-ubuntu-20.04-ami
Update Ubuntu 20.04 to latest AMI
2021-03-21 00:33:42 -07:00
Justin SB c75e084158 Re-add integration tests for jwks
We removed them from #10756, but they can be re-added.
2021-03-20 22:55:11 -04:00
Ole Markus With 20bd724f5e Add support for scaling out the control plane with dedicated apiserver nodes
Ensure apiserver role can only be used on AWS (because of firewalling)

Apply api-server label to CP as well

Consolidate node not ready validation message

Guard apiserver nodes with a feature flag

Rename Apiserver role to APIServer

Add an integration test for apiserver nodes

Rename Apiserver role to APIServer

Enumerate all roles in rolling update docs

Apply suggestions from code review

Co-authored-by: Steven E. Harris <seh@panix.com>
2021-03-20 20:57:00 +01:00
Barry Melbourne d13b7407a0 Update Ubuntu 20.04 to latest AMI 2021-03-20 10:52:28 +00:00
Peter Rifel 08b263b8f6
Fix GCE channels version constraints
Previously k8s 1.17+ would always match with COS rather than Ubuntu 20.04 because of the unbound version range.
This updates 1.18+ clusters to use Ubuntu 20.04 to match AWS.

This should fix the failure to download logs via SSH here: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/e2e-kops-gce-kubetest2/1373013584195358720
The instance groups confirm the use of COS rather than u2004: https://storage.googleapis.com/kubernetes-jenkins/logs/e2e-kops-gce-kubetest2/1373013584195358720/artifacts/instancegroups.yaml
2021-03-19 22:34:31 -05:00
Peter Rifel 0a446b4cff
Kubetest2 - add more validation time for --target terraform
Some of the "beforeSuite" tests are failing because the e2e.test binary isn't resolving the API DNS.
This extends the validation time and also adds a sleep to wait for any negative TTLs to expire.
2021-03-19 20:02:55 -05:00
Kubernetes Prow Robot ac657c430e
Merge pull request #10756 from olemarkus/irsa
Instance roles for service accounts (IRSA) contd
2021-03-19 13:29:44 -07:00
Peter Rifel 7c900b7fae Generate and upload keys.json + discovery.json to public store
Generate and upload keys.json + discovery.json to public store

Don't enable anonymous auth on publicjwks

Remove tests that won't work using FS VFS anymore
2021-03-19 20:03:26 +01:00
Peter Rifel 4d08a74d77
Kubetest2 - initialize boskos heartbeat channel 2021-03-19 12:18:09 -05:00
Peter Rifel a3679b3efe
Kubetest2 - Add boskos for GCE support 2021-03-18 21:00:35 -05:00
Peter Rifel 44209fcae7
Kubetest2 - Add GCE default SSH key values from prow jobs 2021-03-17 22:14:19 -05:00
Kubernetes Prow Robot 9dfbd03fa6
Merge pull request #11046 from hakman/channels-arm64
Add channels entries for image architecture
2021-03-15 12:16:34 -07:00
Ciprian Hacman 55f8c70779 Add channels entries for image architecture 2021-03-15 20:36:37 +02:00
Barry Melbourne e30bf1cf35 Update Go modules to latest versions 2021-03-14 15:08:27 +00: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
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 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 47aed86a55
Merge pull request #11011 from rifelpet/kubetest2
Remove trailing newline from kubernetes version marker
2021-03-10 09:01:14 -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
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