Peter Rifel
e325d8b72a
Kubetest2 - Fix splitting of --create-args
2021-02-09 07:07:25 -06:00
Peter Rifel
144d038b76
Kubetest2 - Use a shell lexer for passing extra args to `create cluster`
...
This way any spaces within a quoted value wont cause the value to be broken up into multiple arguments.
The CentOS image in AWS has spaces in its name which is what exposed this issue.
2021-02-08 22:12:30 -06:00
Peter Rifel
9f5e225424
Add integration test for one external CLB being attached to multiple ASGs
2021-02-07 10:47:55 -06:00
Ole Markus With
364b0ce9bf
Fix additional tests
2021-02-04 18:22:40 +01:00
Ole Markus With
dd035fa2bc
Revert "Set IMDSv2 to "required" only for new clusters"
...
This reverts commit 12cb288df1
.
2021-02-04 17:57:35 +01:00
Ole Markus With
a4c36af9de
Revert "Increse imdv2 hop limit on control plane nodes"
...
This reverts commit 4e00e29fc3
.
2021-02-04 17:57:23 +01:00
Peter Rifel
2787218fa6
Update the skipped tests in the upgrade job to help the test stage pass
...
We'll look into these failures separately but for now we just want to get to the upgrade process
2021-02-02 12:09:52 -06:00
Peter Rifel
1ce2352646
Fix create args for upgrade test
2021-02-02 09:16:13 -06:00
Peter Rifel
dd41a2f8fe
Update upgrade test to use 1.18->1.19
2021-02-02 07:41:45 -06:00
Peter Rifel
72ae782c04
Dont overwrite default feature flags when appending more flags
2021-02-01 12:27:33 -06:00
Peter Rifel
044cba7a7a
Kubetest2 - refactor how `kops create cluster` arguments are set
...
This allows kubetest's --create-args to take precedence over arguments we were otherwise hardcoding.
Specifically this will be used to hardcode the list of zones for some prow jobs with `--create-args="--zones us-east-1a"`.
2021-02-01 12:27:19 -06:00
Peter Rifel
942c48c04b
Remove unnecessary --networking flag from kubetest2.
...
this can be specified in --create-args
2021-02-01 12:27:18 -06:00
Ole Markus With
4e00e29fc3
Increse imdv2 hop limit on control plane nodes
...
Non-hostNetworking fails to talk to the instance metadata otherwise. Breaking e.g CSI controller
2021-01-31 19:35:07 +01:00
Ciprian Hacman
46aa146b31
Add integration tests for older Kubernetes versions
2021-01-29 14:33:36 +02:00
Ciprian Hacman
12cb288df1
Set IMDSv2 to "required" only for new clusters
2021-01-29 14:07:52 +02:00
Ciprian Hacman
f8d3b76556
Default IMDSv2 to "optional" for AWS
2021-01-29 14:02:14 +02:00
Kubernetes Prow Robot
3d39be7721
Merge pull request #10661 from hakman/etcd-manager-defaults
...
Update AWS etcd-manager volumes defaults
2021-01-28 22:01:41 -08:00
Peter Rifel
accbf7986d
kubetest2 - Use --ssh-user to dump logs
2021-01-28 19:45:06 -06:00
Ciprian Hacman
bcc3c98cfb
Bump Ubuntu images for AWS and GCE
2021-01-28 08:31:59 +02:00
Ciprian Hacman
5fcd4e4b28
Allow attaching same external load balancer to multiple instance groups
2021-01-27 16:25:39 +02:00
Ciprian Hacman
4c5d7ddabf
Remove workaround for volume throughput when using Terraform
2021-01-27 06:33:15 +02:00
Ciprian Hacman
ca408f7e8f
Set default volume type to "gp3" for etcd-manager volumes in AWS
2021-01-27 06:23:27 +02:00
Ciprian Hacman
fcea4f5b08
Set default volume encryption to "true" for etcd-manager volumes in AWS
2021-01-26 11:29:27 +02:00
Peter Rifel
cf12fe4efd
Support additional feature flags specified via --env=KOPS_FEATURE_FLAGS=foo
2021-01-25 21:50:30 -06:00
Peter Rifel
39537d7190
Add --create-args kubetest2 flag
...
This allows us to customize the images, instance types, etc.
kubetest (1) named this --kops-args, I think --create-args is more appropriate because its only passed to `create cluster`
2021-01-25 20:48:38 -06:00
Justin SB
1d76a15f69
Set the tcp_rmem sysctl in bootstrap script
...
This ensures that we're using our settings for downloading nodeup
itself and any assets that nodeup downloads. This is a workaround for
reported problems with the initial download on some kernels otherwise.
Issue #10206
2021-01-24 21:50:45 -05:00
Peter Rifel
6114c4fbfa
Use the same package marker for kubectl as for e2e binary
2021-01-23 19:21:47 -06:00
Kubernetes Prow Robot
c3eda853a8
Merge pull request #10646 from rifelpet/kubetest-upgrade
...
Update kubetest2 library
2021-01-23 10:53:39 -08:00
Peter Rifel
f492f3d82e
Update kubetest2 library
...
This picks up the --test-package-marker support used by the kops grid jobs
2021-01-23 12:10:53 -06:00
Kubernetes Prow Robot
3d03968083
Merge pull request #10622 from srikiz/DO-SupportCorrectRegions
...
[Digital Ocean] Add SFO3 region. Also update e2e tests to use full list of supported zones
2021-01-22 11:15:27 -08:00
srikiz
dd5c386564
Fix trailing characters
2021-01-22 22:44:36 +05:30
srikiz
bbe692486d
Revert go.mod and go.sum
2021-01-22 21:19:30 +05:30
srikiz
b04af61a4b
Add SFO3 region for DO. Also update e2e tests to use the full list of supported zones
2021-01-22 21:19:30 +05:30
Peter Rifel
9e0bd463ad
Fix phony make target for setting up kubetest2
2021-01-22 07:04:23 -06:00
Kubernetes Prow Robot
7c93c3e7b1
Merge pull request #10632 from hakman/kubetest2-validation-timeout
...
kubetest2 - increase validation timeout for the upgrade scenario
2021-01-21 22:49:28 -08:00
Ciprian Hacman
f124a19740
kubetest2 - increase validation timeout for the upgrade scenario
2021-01-22 07:35:19 +02:00
Kubernetes Prow Robot
a466832896
Merge pull request #10631 from rifelpet/kubetest-upgrade
...
Fix unbound variable in upgrade scenario script
2021-01-21 18:25:26 -08:00
Peter Rifel
17eed0ead2
Fix unbound variable in upgrade scenario script
2021-01-21 14:58:02 -06:00
Kubernetes Prow Robot
43d294f4bd
Merge pull request #10628 from rifelpet/kubetest-upgrade
...
Ensure SpecOverrideFlag is set in upgrade test
2021-01-21 10:03:03 -08:00
Peter Rifel
aa47981f07
Ensure SpecOverrideFlag is set in upgrade test
2021-01-21 11:21:43 -06:00
Kubernetes Prow Robot
def4bcffa6
Merge pull request #10626 from rifelpet/kubetest-upgrade
...
kubetest2 - update the skip regex for the upgrade scenario
2021-01-21 04:57:01 -08:00
Peter Rifel
127d3bb712
kubetest2 - update the skip regex for the upgrade scenario
2021-01-21 06:17:37 -06:00
Ciprian Hacman
d889d61ddb
Set default IMDS v2 to "required" for instances in AWS
2021-01-21 11:35:41 +02:00
Ciprian Hacman
c8a9b2fb3e
Set default volume encryption to "true" for instances in AWS
2021-01-21 11:27:02 +02:00
Ciprian Hacman
18bb14ffed
Set default volume type to "gp3" for instances in AWS
2021-01-21 11:27:02 +02:00
Peter Rifel
6da7c2ac33
kubetest 2 - fix parsing of k8s version semver values
...
it turns out "v1.2.3" parses as a URL, so try parsing values as a semver first before URL
2021-01-20 21:46:27 -06:00
Peter Rifel
631e0fe235
Add support for specifying a kubernetes version marker file
2021-01-20 19:18:55 -06:00
Peter Rifel
c5664f7363
kubetest2 upgrade script - PATH needs to be a directory
...
another attempt at fixing https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/e2e-kops-aws-misc-upgrade/1351855654456791040
2021-01-20 06:21:24 -06:00
Peter Rifel
90a15a7977
Set --ssh-{private,public}-key-path defaults in all kubetest2-kops commands
...
Previously the default was only used in invocations using --up.
2021-01-19 22:10:01 -06:00
Peter Rifel
9e6218bcb4
Use kops binary built by kubetest2-kops in upgrade script
2021-01-19 22:07:11 -06:00