Commit Graph

1553 Commits

Author SHA1 Message Date
Ole Markus With 85d347b8ee LBC has to run on the control plane, so set replicas accordingly 2021-12-25 19:54:35 +01:00
Peter Rifel e6305aa81e
./hack/update-expected.sh 2021-12-25 08:39:02 -06:00
Peter Rifel 23686f0ead
./hack/update-expected.sh 2021-12-25 08:38:22 -06:00
Kubernetes Prow Robot e95e359e3a
Merge pull request #13026 from johngmyers/ipv6-only
Allow IPv6-only subnets
2021-12-24 02:24:14 -08:00
Kubernetes Prow Robot 6ba44ea236
Merge pull request #12975 from olemarkus/karpenter-only
Add a CLI flag for creating one karpenter-managed IG for worker nodes instead of ASG-managed ones
2021-12-24 01:40:15 -08:00
Ole Markus With 8e59f5bc23 Create create_cluster test for karpenter 2021-12-24 09:20:06 +01:00
Ole Markus With 8f276cf944 Make it possible to create clusters with only karpenter-managed worker nodes
Apply suggestions from code review

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2021-12-24 09:12:59 +01:00
Ole Markus With 0ead405b30 Set karpenter dns policy to default, lower requests and remove cpu limits 2021-12-24 09:12:58 +01:00
Ole Markus With 468280d3f2 Improve HA for various addons 2021-12-24 08:53:27 +01:00
John Gardiner Myers 46404a9b19 hack/update-expected.sh 2021-12-23 19:50:46 -08:00
John Gardiner Myers f9071dd0d5 Allow IPv6-only subnets 2021-12-23 19:50:46 -08:00
Ciprian Hacman d3bdba29e1 Update k8s dependencies to v1.23.1 2021-12-23 14:56:18 +02:00
Ole Markus With f7e86b9521 Tag ENIs with k8s tags 2021-12-22 21:16:19 +01:00
Kubernetes Prow Robot 2f31054e19
Merge pull request #13007 from hakman/skip_non-masquerade-cidr
Use kubelet --non-masquerade-cidr only for Docker with kubenet
2021-12-21 18:49:36 -08:00
Peter Rifel 7474a727e8
kubetest2 - Use the same binary path and env when fetching instance groups
The GetInstanceGroup function was used in kubetest2-tester-kops which has the desired `kops` set in PATH and KOPS_STATE_STORE already set.
Now that we're using GetInstanceGroups in kubetest2-kops (the deployer) we need to override these to the values that the deployer determines.
2021-12-20 20:34:48 -06:00
justinsb e8ddfa4328 Update test data for bash return change 2021-12-20 10:12:07 -05:00
Kubernetes Prow Robot 219cadb2ab
Merge pull request #13002 from olemarkus/karpenter-rbn
Bump karpenter to 0.5.3 and RBN support
2021-12-20 02:09:25 -08:00
Kubernetes Prow Robot dd3296c881
Merge pull request #12961 from olemarkus/spread-not-affinity
Use spread constraints rather than affinity to spread pods
2021-12-20 01:21:25 -08:00
Ole Markus With 1ee6f347c5 Use spread constraints rather than affinity to spread pods (golden outputs) 2021-12-20 09:37:45 +01:00
Kubernetes Prow Robot 681b5006d6
Merge pull request #13008 from olemarkus/skip-sctp-check
Skip SCTP check for all versions of k8s 1.23/1.24
2021-12-20 00:31:25 -08:00
Ole Markus With 244aadd4fb Skip SCTP check for all versions of k8s 1.23/1.24 2021-12-20 08:50:18 +01:00
Ciprian Hacman b20dfe162a Run hack/update-expected.sh 2021-12-20 08:47:25 +02:00
Peter Rifel 7c55698a36
Add kubetest2-kops flags for overriding instance group fields
This allows us to disable IMDSv2 on flatcar tests
2021-12-19 16:26:46 -06:00
Ole Markus With b2104ab274 Bump karpenter to 0.5.3 and RBN support 2021-12-19 21:53:07 +01:00
Ciprian Hacman 1e565d8d83 Skip RuntimeClass tests for older Kubernetes versions 2021-12-19 21:38:52 +02:00
Kubernetes Prow Robot 23622237a9
Merge pull request #12995 from rifelpet/tf-gcp-sa
Use terraform literals in GCP service account references
2021-12-19 00:09:24 -08:00
justinsb b2cfc5c4c4 dep: update github.com/pkg/sftp
This picks up changes to use go errors, instead of the (deprecated?)
pkg/errors.
2021-12-18 19:37:16 -05:00
Peter Rifel 117639f7ec
Use terraform literals in GCP service account references 2021-12-18 16:39:16 -06:00
justinsb 61e2cb2b73 gce: Fix google_project_iam_binding member -> members 2021-12-17 18:29:29 -05:00
justinsb 7270fd9165 Update expected test output 2021-12-17 12:57:14 -05:00
Kubernetes Prow Robot 9ed4ec13f0
Merge pull request #12979 from olemarkus/quote-values
Quote values and remove limits in karpenter provisioners
2021-12-15 12:35:52 -08:00
Ole Markus With 911e541360 Quote values and remove limits in karpenter provisioners 2021-12-15 20:51:55 +01:00
Ciprian Hacman 2cb6e0e0d4 Do not skip RuntimeClass tests 2021-12-15 16:39:41 +02:00
Ciprian Hacman c177ab09c2 Do not skip HPA tests 2021-12-15 10:21:22 +02:00
Kubernetes Prow Robot 7ccf0d6b7a
Merge pull request #12967 from hakman/controller-runtime-0.11.0
Update controller-runtime to v0.11.0
2021-12-15 00:12:19 -08:00
Ciprian Hacman 48333f1bc6 Run hack/update-expected.sh 2021-12-15 08:34:52 +02:00
Ciprian Hacman e529bac103 Update controller-runtime to v0.11.0 2021-12-15 07:49:53 +02:00
Kubernetes Prow Robot 424452a855
Merge pull request #12906 from olemarkus/karpenter
Support Karpenter
2021-12-14 13:58:50 -08:00
Kubernetes Prow Robot 8aed137a50
Merge pull request #12960 from hakman/unskip_calico_nodeport
Do not skip NodePort tests for Calico
2021-12-14 06:37:48 -08:00
Ole Markus With 9529073f3a Add KubernetesCluster as selector as well to avoid trying to schedule outside the cluster 2021-12-14 12:05:21 +01:00
Ole Markus With eef4652c34 Quote 1 in label selector 2021-12-14 12:02:24 +01:00
Ciprian Hacman 8a6ac67739 Do not skip NodePort tests for Calico 2021-12-14 10:29:20 +02:00
Ciprian Hacman 07ae296531 Do not explicitly skip Dashboard tests 2021-12-14 10:27:55 +02:00
Ole Markus With 0a6e329477 Use internal-elb as karpenter subnet selector 2021-12-13 21:11:56 +01:00
Ciprian Hacman 133177f0c1 Skip IPv6 LB test in the k/s e2e 2021-12-13 15:56:19 +02:00
Ole Markus With b785965c50 Rename InstanceManager to Manager 2021-12-13 09:14:24 +01:00
Ciprian Hacman 6a324b122c Run hack/update-expected.sh 2021-12-13 09:08:24 +02:00
Ole Markus With 75d2b97754 Set provider name on karpenter-managed node 2021-12-12 19:33:41 +01:00
Ole Markus With d4ec7cc7e0 Make kops get instances work with karpenter 2021-12-12 19:33:41 +01:00
Ole Markus With 043dd91417 Add karpenter feature flag 2021-12-12 19:33:41 +01:00
Ole Markus With 794cb72112 Karpenter addon
Constrain the instance types to what is supported by the AMI

Add taints and label to karpenter provisioner

Add instance types to karpenter provisioner
2021-12-12 19:33:41 +01:00
Ole Markus With 67e6b3486f Add integration test for karpenter 2021-12-12 19:33:41 +01:00
Kubernetes Prow Robot 600c47f635
Merge pull request #12918 from olemarkus/cilium-service-topology
Make service topology for cilium configurable
2021-12-12 10:11:58 -08:00
Ole Markus With 57fd343e1d Make service topology for cilium configurable 2021-12-12 07:54:21 +01:00
John Gardiner Myers a0736b3c29 Remove support for Aliyun/Alibaba Cloud 2021-12-11 21:49:13 -08:00
Kubernetes Prow Robot 25a6deeed5
Merge pull request #12926 from olemarkus/remove-insecure-port
Do not set insecure-port as of k8s 1.20
2021-12-11 06:09:58 -08:00
Kubernetes Prow Robot 03bcd3bce7
Merge pull request #12930 from olemarkus/integration-minimal-bump
Add integration test for k8s 1.24
2021-12-11 04:03:58 -08:00
Ole Markus With 2088849768 Do not set insecure port on k8s 1.20+ 2021-12-11 12:44:56 +01:00
Ole Markus With 35291c9d49 Add integration test for k8s 1.24 2021-12-11 10:59:45 +01:00
Ciprian Hacman d00310b0e6 Fix failing test 2021-12-11 11:39:37 +02:00
Ciprian Hacman f5f35ab755
Release 1.24.0-alpha.1 (#12928) 2021-12-11 00:01:57 -08:00
Ciprian Hacman 473018f64f
Release 1.23.0-beta.1 (#12924) 2021-12-10 22:31:58 -08:00
Kubernetes Prow Robot 9e9c8d5713
Merge pull request #12891 from justinsb/fix_e2e_flake_zone
e2e: fix test flakes where we specify a non-schedulable zone
2021-12-10 10:37:11 -08:00
justinsb 57f14f4d23 e2e: fix test flakes where we specify a non-schedulable zone
If we specify a zone to the e2e tests, it will try to pre-provision
volumes into it for the inline tests.  We then will be unable to
attach a volume to test pods if we don't have (normal) nodes in that
zone.

Pick a zone that is schedulable for test pods.
2021-12-10 12:56:23 -05:00
Ciprian Hacman 584f452595 Run hack/update-expected.sh 2021-12-10 14:36:34 +02:00
Kubernetes Prow Robot cfa4629ce0
Merge pull request #12915 from heybronson/dns-pdb
Set DNS PDB to a maxUnavailable percentage
2021-12-09 12:51:04 -08:00
Bronson Mirafuentes ed7d287052 set dns pdb to 50% maxUnavailable 2021-12-09 08:57:33 -08:00
Ciprian Hacman 620426bf84 Update k8s dependencies to v1.23.0 2021-12-08 00:22:34 +02:00
Ciprian Hacman c9aa6a8633 Fix error applying AWS CCM leader migration 2021-12-07 19:07:14 +02:00
Kubernetes Prow Robot 7987714cdb
Merge pull request #12893 from johngmyers/fix-external-dns
Fix external-dns service name
2021-12-07 04:50:00 -08:00
John Gardiner Myers 0775a4ee20 hack/update-expected.sh 2021-12-06 21:11:49 -08:00
Kubernetes Prow Robot e146bb4334
Merge pull request #12881 from heybronson/enable-conn-draining
enable connection-draining for aws classic lb
2021-12-05 21:18:33 -08:00
John Gardiner Myers 0b8e07333e Fix external-dns service name 2021-12-04 20:54:58 -08:00
Kubernetes Prow Robot 20bec64af2
Merge pull request #12888 from hakman/k8s-1.23.0-rc.1
Update k8s dependencies to v1.23.0-rc.1
2021-12-04 08:48:32 -08:00
Ciprian Hacman 87ac5ceb47 Update k8s dependencies to v1.23.0-rc.1 2021-12-04 16:45:47 +02:00
Peter Rifel d0b577183f
Add terraform integration test for dedicated apiserver nodes 2021-12-03 22:50:28 -06:00
Kubernetes Prow Robot 576dc1946a
Merge pull request #12883 from hakman/k8s-1.23.0-rc.0
Update k8s dependencies to v1.23.0-rc.0
2021-12-03 20:48:33 -08:00
Ciprian Hacman 6adf0dc7a4 Update controller-runtime to v0.11.0-beta.0 2021-12-04 05:46:45 +02:00
Bronson Mirafuentes 5aeea229a3 run hack/update-expected.sh 2021-12-03 12:53:22 -08:00
Ciprian Hacman e27c412834 Update k8s dependencies to v1.23.0-rc.0 2021-12-03 22:46:44 +02:00
John Gardiner Myers c23f40aea1 hack/update-expected.sh 2021-12-02 21:04:13 -08:00
justinsb 88918791ac tests gce: fix project arg on gsutil rm
Because we don't actually need to pass the project when deleting
objects (as it can be inferred from the bucket), the syntax for
passing it is a little different.
2021-12-02 08:35:13 -05:00
Kubernetes Prow Robot 7f59cd8086
Merge pull request #12874 from olemarkus/snapshot-certificate
Use v1 certificate for snapshot-validation-service
2021-12-02 04:11:33 -08:00
Ole Markus With 60fb19fc44 Use v1 certificate for snapshot-validation-service 2021-12-02 10:17:57 +01:00
Peter Rifel 85d4bf7497 Add labels to GCE instance templates 2021-12-02 08:20:04 +02:00
Kubernetes Prow Robot 0be79b25b7
Merge pull request #12867 from hakman/gofumpt_script
Add gofumpt scripts
2021-12-01 22:13:32 -08:00
Kubernetes Prow Robot 64042a8a84
Merge pull request #12812 from rifelpet/gcp-csi
Add GCP PD CSI driver addon
2021-12-01 20:19:33 -08:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Peter Rifel 75a6866f40
Skip e2e tests that can't be configured with the required topology keys 2021-12-01 13:10:46 -06:00
Kubernetes Prow Robot 1754f856c3
Merge pull request #12866 from justinsb/gce_metadata
GCE: fix for metadata-proxy on cilium
2021-12-01 09:03:15 -08:00
justinsb 4e8bac9a7c Update golden tests for gce metadata-proxy fix 2021-12-01 10:55:06 -05:00
Peter Rifel c7aa7d94d8
Fix PDC CSI driver image 2021-11-30 22:20:12 -06:00
Peter Rifel 3329caeb22
Fix GCE PD CSI driver pod manifest 2021-11-30 22:20:12 -06:00
Peter Rifel 1611c45d34
Add default CSI storage class and missing tags and namespaces 2021-11-30 22:20:12 -06:00
Peter Rifel 090c870123
./hack/update-expected.sh 2021-11-30 22:20:10 -06:00
Kubernetes Prow Robot 12dd027817
Merge pull request #12858 from olemarkus/reundant-override
Remove redundant evaluation of hostnameOverride
2021-11-30 08:38:56 -08:00
Kubernetes Prow Robot 87f6b6545f
Merge pull request #12531 from rifelpet/ebs140
Stop skipping snapshot fields tests in EBS CSI e2e
2021-11-30 06:00:56 -08:00
Ole Markus With f2f9b9dcbb Determine hostnameOverride entirely in nodeup instead of passing in cloud placeholders from cloudup 2021-11-30 13:29:54 +01:00
John Gardiner Myers 3b53c2d1c8 Fix upgrade tests to kops version < 1.22 2021-11-29 17:26:22 -08:00
Peter Rifel 5a37ff5932
Use same instance types as upstream EBS CSI tests 2021-11-29 15:36:49 -08:00