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
Kubernetes Prow Robot
9eca4115a3
Merge pull request #11006 from rifelpet/kubetest2-publish
...
Kubetest2 - Add support for publishing the kops version marker
2021-03-09 19:15:13 -08:00
Peter Rifel
10b30eff0e
Kubetest2 - Add support for publishing the kops version marker
...
This will unblock the remaining periodic e2e jobs that havent been migrated yet.
They run a test with the kops version from "latest-ci.txt" as published by the "postsubmit-push-to-staging" postsubmit job,
and if the tests succeed then they get published to "latest-ci-updown-green.txt" which is what all of the other periodic jobs rely on.
example job that uses this functionality: 37b80c5e3b/config/jobs/kubernetes/kops/kops-pipeline.yaml (L46-L48)
2021-03-09 20:31:10 -06:00
Peter Rifel
208a4a2bf7
Don't build kops during periodic upgrade tests
...
This updates the upgrade scenario script to support building kops when ran locally, or using the version markers when ran in a periodic prow job.
hoping to fix the upgrade tests here: https://testgrid.k8s.io/kops-kubetest2#kops-aws-upgrade
2021-03-09 20:17:37 -06:00
Bharath Vedartham
0c0767c0c9
Remove support for launch configurations
2021-03-09 09:04:15 +02:00
Peter Rifel
594cdc6ed1
kubetest2 - don't overwrite create args that use equals signs
...
Previously we would incorrectly append create cluster arguments if they had already been specified and used --foo=bar notation.
This resulted in arguments being specified multiple times causing undesired behavior.
We now check for both `--foo bar` and `--foo=bar` when attempting to add a `--foo` argument.
2021-03-08 11:35:36 -06:00
Bharath Vedartham
1d721c3ff8
Update integration tests
2021-03-06 00:33:20 +05:30
Ole Markus With
063e3f6c7b
Use internal api url for jwks when required
...
The public api url cannot be used by pods and nodes if access is restricted. So by default we need to use the internal one.
This should finally pass the OIDC e2e test
For public access, api server must be publically available and anonymous
auth must be enabled
2021-03-05 06:52:51 +01:00
Kubernetes Prow Robot
d3cf552f37
Merge pull request #10978 from mmerrill3/feature/10786-Dedupe-terraform
...
Removing duplicate local and output values in terraform(#10786 )
2021-03-04 21:08:22 -08:00
mmerrill3
1a3cb79d2d
Removing duplicate local and output values in terraform( #10786 )
...
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2021-03-04 16:32:52 -05:00
Barry Melbourne
1a6ff4efbf
Update Go to v1.16
2021-03-04 18:41:48 +00:00
Kubernetes Prow Robot
fcefcb59cc
Merge pull request #10945 from olemarkus/exclude-cp-nodes-from-lbs
...
Exclude CP nodes from load balancers
2021-03-03 05:21:21 -08:00
Peter Rifel
dacfa7728e
Use CPUCredits in integration test
2021-03-02 22:54:30 -06:00
Peter Rifel
2ebd448602
Add integration test for transit gateway support
2021-02-28 13:02:11 -06:00
Ole Markus With
32fce0d59c
Exclude CP nodes from load balancers
2021-02-27 20:14:31 +01:00
Kubernetes Prow Robot
a424958e83
Merge pull request #10872 from timothyclarke/feature/NLB-EIP
...
Adding Elastic IP Allocations to NLB API
2021-02-22 23:48:03 -08:00
Barry Melbourne
a77233a843
Update Openstack Cloud Go module to v1.20.1
2021-02-21 12:19:05 +00:00
Kubernetes Prow Robot
6123c85047
Merge pull request #10884 from hakman/fix-validate-instance-type-and-image
...
Improve machine type and image validation
2021-02-19 09:44:25 -08:00
Ciprian Hacman
dee13cecca
Improve machine type and image validation
2021-02-19 18:28:57 +02:00
Ole Markus With
9a13837629
Fix JWKS path for volume projection
2021-02-18 22:07:35 +01:00
Timothy Clarke
1577b0a54b
Adding Elastic IP Allocations to NLB API
2021-02-18 12:27:28 +00:00
Kubernetes Prow Robot
66ad2895f1
Merge pull request #10867 from rifelpet/kubetest-tf
...
kubetest2 - support terraform with `kops create cluster`
2021-02-18 02:42:51 -08:00
Kubernetes Prow Robot
4d2df131f1
Merge pull request #10865 from MoShitrit/k8s-updates-2020-feb-17
...
K8s Version Updates February 2021
2021-02-17 21:34:51 -08:00
Peter Rifel
d6f3d3c690
kubetest2 - support terraform with `kops create cluster`
...
Previously we were only recognizing it with `kops create --filename`
2021-02-17 23:25:35 -06:00
Peter Rifel
6424867614
use go install to install `kubetest2`
2021-02-17 19:20:50 -06:00
Peter Rifel
8a5e95be0a
Pass --debug to ginkgo to enable node log files in presubmit test
2021-02-17 19:13:52 -06:00
Peter Rifel
fb0a29aaa6
Bump kubetest2 version to include --ginkgo-args
2021-02-17 19:13:52 -06:00
MoShitrit
6f85895ac1
Update expected
2021-02-17 19:41:14 -05:00
Alexander Block
16f3de29fb
Run ./hack/update-expected.sh
2021-02-16 18:46:00 +01:00
Peter Rifel
6e8a329f7d
Validate cluster 10 times to mimic kubetest1 and ensure nodes readiness is not flapping
2021-02-16 08:11:51 -06:00
Peter Rifel
68d2044b12
kubetest2 - add terraform support
2021-02-16 08:11:51 -06:00
Ciprian Hacman
1c4da19881
Update integration test outputs with new mock version
2021-02-16 14:21:15 +02:00
Justin SB
f4dfb43993
kubetest2: Call Test, not Execute
...
Execute will reparse the flags; we want to reuse the test execution
but not the flag setup.
2021-02-14 21:03:55 -05:00
Kubernetes Prow Robot
cd10383fa0
Merge pull request #10741 from codablock/nlb-subnets
...
Allow to control which subnets and IPs get used for the API loadbalancer
2021-02-14 14:23:06 -08:00
Justin SB
9ab363dfb8
kubetest2: Add --host argument
...
This argument was required for the tests to pass prior to 1.18, so we
should still pass it if we want these tests to pass.
We can infer it from kubeconfig (that is the fix that was introduced in 1.18)
2021-02-13 18:16:13 -05:00
Kubernetes Prow Robot
082bdc3878
Merge pull request #10780 from olemarkus/consistent-cp-labelling
...
Make protokube CP label setting consistent with kops-controller
2021-02-12 11:09:58 -08:00
Kubernetes Prow Robot
d2d9af4fba
Merge pull request #10802 from hakman/docker-19.03.15
...
Update Docker to v19.03.15
2021-02-11 23:22:47 -08:00
Ole Markus With
783b6c0d6c
Make protokube CP label setting consistent with kops-controller
2021-02-12 08:17:14 +01:00
Ciprian Hacman
c0d02d7dc9
Update Docker to v19.03.15
2021-02-12 07:10:32 +02:00
Kubernetes Prow Robot
7111ae164f
Merge pull request #10799 from rifelpet/kubetest2-pod-logs
...
kubetest2 - Dump all pod logs in addition to host logs
2021-02-11 20:52:47 -08:00
Peter Rifel
47b0551014
kubetest2 - Dump all pod logs in addition to host logs
2021-02-11 20:00:36 -06:00
Steven E. Harris
d44612cc84
Capture outcome of "hack/update-expected.sh" run
2021-02-11 10:49:49 -05:00