Ole Markus With
7d7780bad9
Revert "Remove passing cluster name as positional argument"
...
This reverts commit 824eb9cabb .
2022-08-18 07:26:42 +02:00
Ciprian Hacman
cb99db0757
Run make goimports
2022-08-17 07:03:33 +03:00
Ciprian Hacman
a32cf690bb
Create etcd-manager config for each instance group
2022-08-10 11:04:36 +03:00
Kubernetes Prow Robot
9661894261
Merge pull request #13618 from justinsb/kubescheduler_config
...
Support kube-scheduler config
2022-08-03 21:53:46 -07:00
Kubernetes Prow Robot
2706b05af3
Merge pull request #14089 from justinsb/positional_to_stderr
...
Positional deprecation warning should go to stderr
2022-08-03 13:13:46 -07:00
justinsb
85fb99c75d
Positional deprecation warning should go to stderr
...
Otherwise we break piped output with -ojson etc.
2022-08-03 15:24:06 -04:00
justinsb
ed21b27c5c
Hide klog flags from --help output
...
The klog flags just clutter the output and often push the most
important output off of smaller screens.
The flags are still supported, just hidden.
2022-08-03 10:19:07 -04:00
justinsb
c82c30d8aa
Support kops create with addditional objects
...
Not all additional objects support metadata, so when additional
objects are passed, we can only support a single cluster.
2022-08-03 09:51:16 -04:00
justinsb
d1fc0b9f88
Create goldentest for additional objects
2022-08-03 09:51:16 -04:00
Ole Markus With
824eb9cabb
Remove passing cluster name as positional argument
...
Apply suggestions from code review
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2022-07-31 15:54:35 +02:00
Ole Markus With
0bd3160bbc
Merge channels and kops cli factories
2022-07-31 06:32:57 +02:00
Ole Markus With
2bb0b16e53
Rename ClientSet to KopsClient in cmd factory interface
2022-07-30 20:41:13 +02:00
Ciprian Hacman
8b33646b5b
Fix SIGSEGV when deleting a Hetzner instance
2022-07-28 18:39:46 +03:00
Eric Bailey
b1c5460282
Check keyset existence before attempting to distrust
2022-07-27 19:23:08 -05:00
Peter Rifel
026037ee70
Upgrade complex integration test case to k8s 1.24
2022-07-11 19:47:59 -06:00
Peter Rifel
95cd078cc4
Enable AWS IAM Authenticator in complex integration test
2022-07-11 19:43:49 -06:00
Ciprian Hacman
92a471e04f
Add integration test for GCE cluster with internal LB and very long cluster name
2022-07-01 07:37:30 +03:00
Ciprian Hacman
0c52c1270d
Increase length of cluster name for GCE long cluster name integration test
2022-07-01 07:37:30 +03:00
Ciprian Hacman
7fbe0454f2
Use Calico v3.23 for Kubernetes 1.22+
2022-06-29 17:17:33 +03:00
justinsb
29b168b9d7
gce: Move out of beta, drop feature flag
...
GCE support seems stable now, and we have good clarity at the API
level and how that translates to GCP resources, which was our blocker
previously.
Drop the need for the feature-flag.
2022-06-28 11:22:34 -04:00
Ciprian Hacman
6662b3bc61
Add integration test for GCE cluster with very long cluster name
2022-06-25 11:48:08 +03:00
Ole Markus With
9c8cc8fe1e
Merge the cilium templates
2022-06-16 09:10:22 +02:00
Ciprian Hacman
113377cdd2
Completely remove core addons
2022-06-10 14:03:16 +03:00
Ole Markus With
885bc3094b
Create cilium manifest for k8s 1.25
2022-06-08 10:30:34 +02:00
Ole Markus With
c6ca89a6e7
Repurpose cilium2 to test hubble
2022-06-07 20:39:25 +02:00
Ole Markus With
4f5ef4f684
Remove 1.19 create cluster integration test
2022-06-07 15:53:51 +02:00
Ole Markus With
2e4105a79f
Bump k8s version in integration tests using 1.19
2022-06-07 15:41:26 +02:00
Ole Markus With
896267c4b9
Drop 1.19 integration tests
2022-06-07 15:20:02 +02:00
Ciprian Hacman
f5954e1388
Switch Calico integration tests to k8s v1.24
2022-05-23 18:35:26 +03:00
Ole Markus With
d08c028747
Bump NTH to 1.16.4 and add support for scheduled instance change events
2022-05-18 21:48:28 +02:00
Ciprian Hacman
90faa6b5fd
Allow overriding the kubernetes version when upgrading the cluster
2022-05-18 08:05:59 +02:00
justinsb
f47d7b2e43
Tweak integration tests to be simpler
...
We require that all generated files are in the data directory, so we
can simplify the logic here.
2022-05-13 15:19:07 -04:00
Ole Markus With
39f3c8bdf4
Add integration test for 1.24
2022-05-12 20:29:23 +02:00
Ciprian Hacman
b5f14b589b
Add initial support for Hetzner Cloud
2022-05-09 06:12:15 +03:00
Ole Markus With
9eca9c882b
Add flag to version showing the kops 'server' version
2022-04-30 15:57:46 +02:00
Nat Henderson
9b08c4bb51
Enable internal load balancers when running on GCP
...
* Add ILBs, broadly following the AWS model. The following new
capabilities are added for clusters in GCP:
* Cluster's spec.api.loadBalancer can be set to 'type: internal' on
GCP.
* Therefore, GCP can now create:
* regional backend services
* regional (non-legacy) healthchecks
* firewall rules with "internal" load-balancing scheme
* firewall rules with dot-notation-specified IP addresses
* Cluster's spec.api.loadBalancer's 'subnets' field functions
as in the AWS model.
A few incidental changes are included, either because this change
touched the relevant code or because my use case happened to trigger the
issues that are fixed here.
* Cluster's spec.networkID field can be prefixed by project to use
GCP's common cross-project networking model.
* The presumption is that all specified subnets belong to this
network and therefore this project.
* Add missing operation wait on forwarding rule creation.
* Some Terraform output improvements:
* Permit no-ACL files in GCS buckets in Terraform output.
* Enable marginally better cross-resource reference in Terraform outputs
* Add project to network + subnetwork literals in Terraform output.
* Add terraform output to backend services and health checks.
Testing:
* Add mocks for backend services and health checks.
* Add minimal integration test - copied from gce_private and ilb added.
* Add update cluster goldens.
Co-authored-by: Travis Reid <travis_reid@apple.com>
2022-04-25 13:31:47 -07:00
Kubernetes Prow Robot
6d264080ed
Merge pull request #13484 from olemarkus/no-bazel-targets
...
Remove bazel targets and tools
2022-04-17 23:16:41 -07:00
Ciprian Hacman
8b8dd8d2dd
Use aws_s3_object instead of deprecated aws_s3_bucket_object
2022-04-13 16:49:03 +03:00
Ole Markus With
ce2e877aeb
Remove bazel files from vendor
2022-04-12 13:29:03 +02:00
Kubernetes Prow Robot
3acf5b3634
Merge pull request #13378 from hierynomus/sshkey-output
...
Do not return a '-1' exit if no keys found and json/yaml output
2022-03-28 00:51:22 -07:00
Ciprian Hacman
a4ed2b0654
Migrate to registry.k8s.io
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 08:47:12 +02:00
Kubernetes Prow Robot
d751d0f056
Merge pull request #13364 from olemarkus/fix-long-role-names
...
Fix long role names
2022-03-17 23:43:16 -07:00
Jeroen van Erp
3955883f6b
Do not return a '-1' exit if no keys found and json/yaml output
2022-03-17 10:06:22 +01:00
Ole Markus With
ba06b33193
If image is empty, have kops upgrade fill it in
2022-03-16 20:15:51 +01:00
Ole Markus With
3fcb84ed6b
Truncate the standard role names
2022-03-15 21:31:04 +01:00
Ole Markus With
f8525ce6f9
Add integration test for really long cluster names
2022-03-15 20:44:26 +01:00
Ole Markus With
5cac1eea56
Set command using entrypoint instead of cmd
2022-03-11 16:02:46 +01:00
John Gardiner Myers
70f7d9bdb2
Use function to get cloud provider from cluster spec
2022-03-02 21:59:47 -08:00
AkiraFukushima
d40caa758e
Use cert-manager and pod-identity-webhook in integration test of irsa
2022-02-20 19:02:54 +09:00
Ole Markus With
9431c0ab69
Update LBC to 2.4.0
2022-02-16 21:39:31 +01:00