Commit Graph

708 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot 63baa5b579
Merge pull request #10752 from rifelpet/lifecycle-integration-test
Add overrides testing in lifecycle integration tests
2021-02-11 00:56:16 -08:00
Alexander Block 684ff3498e Add back "omitempty" to cloudformation SubnetMapping 2021-02-10 18:02:13 +01:00
Alexander Block 091a18a128 Add omitempty to Subnets and SubnetMappings for terraform and cloudformation 2021-02-10 10:29:48 +01:00
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
Peter Rifel dd1ebb8b77
Add overrides support in lifecycle integration tests
This allows specific changes to be tested during an `update cluster --yes` and ensuring a subsequent `update cluster` dryrun correctly reports no changes.

To specify changes, create a cluster.overrides.txt or instancegroup.<name>.overrides.txt file in the update_cluster integration test's directory.
Each line is a field=value format, each batch of changes is separated by a `---` line.
Each batch will be ran through `update cluster --yes`
2021-02-06 23:18:15 -06:00
Alexander Block 49e7ec8890 Use SubnetMappings for NLBs instead of Subnets
SubnetMappings allow to explicitely set the private IPv4 address that
must be used for the NLB.

SubnetMappings and Subnets in the AWS API are compatible as long as the
address settings are not changes, making this commit backwards compatible.
2021-02-05 17:53:20 +01: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