Commit Graph

1896 Commits

Author SHA1 Message Date
Grégory SANCHEZ 6fdf54ff34 feat(cluster-autoscaler): autogenerate priority-expander configMap 2023-01-11 08:26:33 +01:00
Kubernetes Prow Robot 7b4430ff61
Merge pull request #14885 from johngmyers/root-volume
v1alpha3: Move IG root volume settings to sub-struct
2023-01-04 18:11:58 -08:00
John Gardiner Myers 8fc4bdb669 Add missing line break
Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2023-01-04 17:25:44 -08:00
John Gardiner Myers 447220ef4e Use NodeupConfig for NTP-managed setting 2023-01-03 22:16:20 -08:00
John Gardiner Myers 4179fcce58 Use NodeupConfig for KubernetesVersion 2023-01-03 22:16:20 -08:00
John Gardiner Myers b5eef1c129 Use NodeupConfig for kube-proxy config 2023-01-03 12:29:07 -08:00
John Gardiner Myers fe448ef906 Use NodeupConfig for DockerConfig 2023-01-02 13:58:21 -08:00
John Gardiner Myers 125866792d Use NodeupConfig for ContainerdConfig 2023-01-02 13:42:11 -08:00
John Gardiner Myers 25a897b691 Use NodeupConfig for ContainerRuntime 2023-01-02 12:50:23 -08:00
John Gardiner Myers c68be498c6 Refactor NewAssetBuilder to not take a Cluster 2023-01-01 13:37:52 -08:00
John Gardiner Myers 74becb764e Don't require subnets on DO and Hetzner 2022-12-30 12:00:02 -08:00
Kubernetes Prow Robot fc527b6e9f
Merge pull request #14909 from johngmyers/valid-values
Make IsValidValue more useful for enum types
2022-12-30 01:25:36 -08:00
Kubernetes Prow Robot ee990f8057
Merge pull request #14881 from johngmyers/addl-cidr
Move networking validations inside validateNetworking()
2022-12-30 01:25:29 -08:00
John Gardiner Myers 43f56de38b Make IsValidValue more useful for enum types 2022-12-29 23:30:53 -08:00
Kubernetes Prow Robot 50fe61338c
Merge pull request #14883 from johngmyers/sg-override
Improve validation of API loadbalancer specs
2022-12-29 23:27:29 -08:00
John Gardiner Myers 92958f9966 v1alpha3: Move IG root volume settings to sub-struct 2022-12-26 20:35:26 -08:00
John Gardiner Myers d9b7d41bd4 Improve validation of API loadbalancer specs 2022-12-26 13:08:50 -08:00
John Gardiner Myers 355f9e4bd2 Kubelet needs cloudconfig for in-tree cloudprovider 2022-12-26 11:25:24 -08:00
John Gardiner Myers d32a0fb3cc APIServer nodes need cloudconfig 2022-12-26 10:56:30 -08:00
John Gardiner Myers 8e96aa1acd Move networking validations inside validateNetworking() 2022-12-26 10:09:41 -08:00
John Gardiner Myers 5c69274317 Simplify pointers to maps in API 2022-12-25 20:29:51 -08:00
John Gardiner Myers b3dfcea95f v1alpha3: Move AWS-specific CloudConfig settings to AWSSpec 2022-12-25 16:12:02 -08:00
Kubernetes Prow Robot e13c51968b
Merge pull request #14869 from johngmyers/upd-min-version
Update min versions for 1.27
2022-12-24 23:59:27 -08:00
Kubernetes Prow Robot b97662c6a3
Merge pull request #14837 from johngmyers/gce-cloudconfig
v1alpha3: Move GCE-specific CloudConfig settings to GCESpec
2022-12-24 22:31:26 -08:00
John Gardiner Myers 005ec38972 Remove code for no-longer-supported k8s 1.21 2022-12-24 21:44:50 -08:00
Ciprian Hacman bb6d4d6c17 Mount the audit config dir for kube-apiserver 2022-12-24 07:23:10 +02:00
Kubernetes Prow Robot 269477e52c
Merge pull request #14856 from johngmyers/validate-ipv6-dns
Validate external-dns not being used for IPv6 clusters
2022-12-22 23:45:25 -08:00
Kubernetes Prow Robot b647e4413f
Merge pull request #14846 from hakman/gossip_to_dns-none
Allow migration from Gossip DNS to no DNS
2022-12-22 22:53:26 -08:00
John Gardiner Myers 1306862b5a Validate external-dns not being used for IPv6 clusters 2022-12-22 21:41:18 -08:00
Ciprian Hacman bead06a6d1 Validate control-plane IG size 2022-12-22 15:35:51 +02:00
Ciprian Hacman 362601cd66 Allow migration from Gossip DNS to no DNS 2022-12-22 12:36:32 +02:00
John Gardiner Myers 0e11075012 v1alpha3: Move GCE-specific CloudConfig settings to GCESpec 2022-12-20 19:44:32 -08:00
John Gardiner Myers 4d309b0b36 Move Cluster into CloudupSubContext 2022-12-20 08:11:01 -08:00
John Gardiner Myers 34d7507f78 v1alpha3: Move some GCE-specific fields to CloudProvider.GCE 2022-12-19 08:28:28 -08:00
John Gardiner Myers dec7d33be6 v1alpha3: Move AWS EBS CSI spec under CloudProvider.AWS 2022-12-19 00:10:16 -08:00
John Gardiner Myers ca7d82b02a v1alpha3: move AWS-specific fields to AWSSpec 2022-12-18 15:16:49 -08:00
John Gardiner Myers 1834fded6a NTH: add API validation against unsupported option configurations 2022-12-16 17:12:54 -08:00
Ciprian Hacman b9f7c2619b gce: Add support for clusters without DNS 2022-12-14 11:09:54 +02:00
Kubernetes Prow Robot 572b0655dc
Merge pull request #14732 from olemarkus/cilium-12
Bump cilium version to 1.12.4
2022-12-11 04:25:14 -08:00
John Gardiner Myers 7c5b983490 Enable NTH Scheduled Event Draining by default 2022-12-08 19:02:44 -08:00
Ole Markus With a5684f969f Bump cilium to 1.12.4 2022-12-07 18:33:03 +01:00
Kubernetes Prow Robot f827ec7f54
Merge pull request #14721 from johngmyers/nth-default-queue
Change default for NTH Queue Processor mode to enabled
2022-12-06 03:18:36 -08:00
Kubernetes Prow Robot e5a835d287
Merge pull request #14706 from johngmyers/v1alpha3-networking
v1alpha3: move networking fields under networking
2022-12-05 21:34:38 -08:00
Kubernetes Prow Robot c5c02c2ee3
Merge pull request #14676 from johngmyers/cilium-doc
Update documentation and validation for Cilium
2022-12-05 20:42:38 -08:00
Leïla MARABESE 1bacbd591a fixed etcd + added machine type 2022-12-05 14:40:28 +01:00
Leïla MARABESE af19c467e8 added scaleway to all switches for cluster creation 2022-12-05 14:38:08 +01:00
John Gardiner Myers a22a33621c Change default for NTH Queue Processor mode to enabled 2022-12-04 15:56:18 -08:00
John Gardiner Myers be43dc2784 Extract NTH Queue mode enable check to struct receiver 2022-12-04 15:55:58 -08:00
John Gardiner Myers 235aa61594 v1alpha3: move networking fields under networking 2022-12-02 19:19:59 -08:00
Kubernetes Prow Robot 670de031ee
Merge pull request #14694 from olemarkus/cilium-eni-fix
Fix Cilium ENI ipam
2022-12-01 17:49:54 -08:00
Kubernetes Prow Robot cfde66d810
Merge pull request #14691 from johngmyers/no-channel-cluster
Stop trying to populate arbitrary cluster fields from the channel
2022-12-01 12:15:54 -08:00
Kubernetes Prow Robot 82aa3ef6f4
Merge pull request #14697 from johngmyers/cp-validate
Use newer terminology in validation
2022-11-30 22:26:27 -08:00
John Gardiner Myers 08600975fa Use newer terminology in validation 2022-11-30 21:34:21 -08:00
Ciprian Hacman dbef6209c2 Remove support for using Vault as state store
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2022-11-30 18:38:21 +02:00
Ole Markus With f0b0c76821 Fix Cilium ENI IPAM
The simplest working configuratin right now seems to be to enable BPF
masquerade and masquerade ipv4 traffic. The old setup with disabling
masquerade entirely no longer works.
2022-11-30 14:31:05 +01:00
John Gardiner Myers 31dbd6c50a Stop trying to populate arbitrary cluster fields from the channel 2022-11-29 21:15:09 -08:00
John Gardiner Myers 76f71512cc v1alpha3: fix miscellaneous capitalization 2022-11-28 21:37:21 -08:00
Kubernetes Prow Robot 0b24fc108a
Merge pull request #14669 from johngmyers/cp-kubelet
v1alpha3: use new terminology for kubelet config
2022-11-28 21:35:22 -08:00
Kubernetes Prow Robot 6e9b29a0f7
Merge pull request #14672 from johngmyers/v6-calico-srcdest
Don't disable AWS src/dst checks in Calico IPv6
2022-11-26 11:50:11 -08:00
Kubernetes Prow Robot 888f2f5232
Merge pull request #14671 from johngmyers/calico-doc
Update Calico documentation and validation
2022-11-26 11:50:04 -08:00
John Gardiner Myers 0edfac7fdd Update documentation and validation for Cilium 2022-11-25 22:32:08 -08:00
John Gardiner Myers 0424c474a3 Don't disable AWS src/dst checks in Calico IPv6 2022-11-25 20:57:48 -08:00
John Gardiner Myers 2776217b8a Update Calico documentation and validation 2022-11-25 19:10:36 -08:00
John Gardiner Myers 7cd12a8140 Disallow use of admissionControl as of k8s 1.26 2022-11-25 17:40:37 -08:00
John Gardiner Myers 6536c0b301 v1alpha3: use new terminology for kubelet config 2022-11-25 16:53:23 -08:00
Ole Markus With 01590c03b0 Add a create cluster integration test for openstack
Fix various openstack nprs. Also add create cluster integration test
2022-11-23 10:25:29 +01:00
Ole Markus With ce4257d0ce Disallow unknown fields in create cluster integration tests 2022-11-23 10:08:21 +01:00
John Gardiner Myers d39ba74bd7 Change the control-plane IG role to "ControlPlane" in v1alpha3 API 2022-11-22 17:05:29 -08:00
Kubernetes Prow Robot 70d0ff85c7
Merge pull request #14583 from heybronson/capacity-rebalance
aws: Add capacityRebalance flag for ASGs
2022-11-22 10:28:14 -08:00
Ole Markus With 2adc157749 Don't use ptr for CAS expander field 2022-11-22 13:52:08 +01:00
Bronson Mirafuentes 4929ef3e65 update CapacityRebalance comments 2022-11-21 08:47:42 -08:00
Bronson Mirafuentes 85898cba0b add capacityRebalance flag for ASGs 2022-11-21 08:47:40 -08:00
John Gardiner Myers bc36f5b022 Rename ClusterSubnetSpec's ProviderID field to ID 2022-11-20 15:36:54 -08:00
John Gardiner Myers 29c25ee327 Rename LoadBalancer type to LoadBalancerSpec 2022-11-20 15:28:02 -08:00
John Gardiner Myers 5fca16aa30 v1alpha3: Move API-related settings under API 2022-11-19 10:27:12 -08:00
Ciprian Hacman d29812fc6e Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf 2022-11-19 03:45:23 +02:00
Ciprian Hacman 8f79c9bd68 Replace fi.Bool/Float*/Int*/String() with fi.PtrTo() 2022-11-19 03:45:22 +02:00
John Gardiner Myers 8473e8b2e7 Stop making MasterInternalName configurable 2022-11-16 22:06:02 -08:00
Kubernetes Prow Robot 46200f6c72
Merge pull request #14573 from olemarkus/price-capacity-optimized
Allow using the price-capacity-optimized spot allocation strategy
2022-11-16 17:54:39 -08:00
Ole Markus With 5c0f58569a Allow using the price-capacity-optimized spot allocation strategy 2022-11-16 21:34:25 +01:00
Kubernetes Prow Robot 6f2ded7fb2
Merge pull request #14501 from hakman/kops-controller_for_config
Boot nodes without state store access
2022-11-16 08:32:50 -08:00
Kubernetes Prow Robot 856a66c0ac
Merge pull request #14541 from olemarkus/karpenter-validation
Ensure IRSA is enabled when using Karpenter
2022-11-15 13:52:47 -08:00
Ciprian Hacman 61eaeddb9b Serve secrets from kops-controller for nodes without state store access 2022-11-15 14:51:54 +02:00
Ciprian Hacman 0e2cc7e0cc Rename BootConfig.APIServer to BootConfig.APIServerIP 2022-11-15 14:40:14 +02:00
Justin SB c6e9a75490 Clearer error messages around instance types not found
Issue #14481

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2022-11-14 11:37:58 -05:00
Ole Markus With d41ccbe18d Ensure IRSA is enabled when using Karpenter 2022-11-13 12:01:33 +01:00
John Gardiner Myers bf6b98ec0f Remove support for "external" networking as of k8s 1.26 2022-11-08 08:22:28 -08:00
John Gardiner Myers 64be690211 Update TopologySpec for v1alpha3 API 2022-11-06 09:10:38 -08:00
Kubernetes Prow Robot 96acfc4ceb
Merge pull request #14452 from hakman/aws_none-dns_nlb
aws: Create cluster without DNS or Gossip
2022-11-05 22:30:15 -07:00
Ciprian Hacman e68912e2e9 Add validation that prevents using Classic load balancers for clusters without DNS 2022-11-06 06:16:36 +02:00
Kubernetes Prow Robot cdd6fe3113
Merge pull request #14468 from johngmyers/bastion-nlb
Create NLB instead of CLB for bastion
2022-11-04 21:22:29 -07:00
Ciprian Hacman 7c7350d77c Add validation that prevents using dedicated API servers for clusters without DNS 2022-11-04 20:59:27 +02:00
Ciprian Hacman edb44610f7 aws: Create cluster without DNS or Gossip 2022-11-02 12:54:27 +02:00
Ciprian Hacman c9d1eb9761 hetzner: Use kops-controller for node bootstrap 2022-11-02 12:43:25 +02:00
Kubernetes Prow Robot 2c4808c5bd
Merge pull request #14440 from hakman/hetzner_no-dns_master
hetzner: Create cluster without DNS or Gossip
2022-11-02 02:02:47 -07:00
Ciprian Hacman 312d9b7ffd Address feedback 2022-11-01 13:29:23 +02:00
Kubernetes Prow Robot 3e7386f06e
Merge pull request #14443 from johngmyers/gce-config
Move GCE project under CloudProvider in v1alpha3 API
2022-11-01 03:46:45 -07:00
John Gardiner Myers 25b7dc21fa Create NLB instead of CLB for bastion 2022-10-29 17:00:00 -07:00
Ciprian Hacman 4e5ded6dc3 hetzner: Create cluster without DNS or Gossip 2022-10-27 11:29:37 +03:00
John Gardiner Myers 87dbab9062 Remove dead code 2022-10-22 22:05:18 -07:00