Commit Graph

17748 Commits

Author SHA1 Message Date
github-actions c1ac138228 Update dependencies 2022-08-05 06:08:15 +00:00
Kubernetes Prow Robot daeac5dce7
Merge pull request #14090 from hakman/runc_version
Add option to configure runc version for containerd
2022-08-04 03:37:48 -07:00
Ciprian Hacman edeabae299 Run hack/update-expected.sh 2022-08-04 10:21:33 +03:00
Ciprian Hacman 11a0f64cd8 Add option to configure runc version for containerd 2022-08-04 09:48:46 +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
Ciprian Hacman 870144697b Run hack/update-expected.sh 2022-08-04 06:32:34 +03:00
Kubernetes Prow Robot 9ee09fde44
Merge pull request #14087 from olemarkus/hack-cert-manager-crds
Add back conversion struct to cert-manager CRDs
2022-08-03 15: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 3ba1b38d0c Add docs for KubeSchedulerConfiguration
Add some example docs for addon objects / custom KubeSchedulerConfiguration.
2022-08-03 15:23:14 -04:00
justinsb a64a0d8c04 Upgrade KubeSchedulerConfiguration to v1beta2 in a few tests
Avoids examples using unsupported versions.
2022-08-03 15:22:49 -04:00
Kubernetes Prow Robot 5252c45be8
Merge pull request #14088 from justinsb/hide_klog_flags
Hide klog flags from --help output
2022-08-03 12:21:47 -07:00
Ciprian Hacman 7ccf9f9a25 Run make gen-cli-docs 2022-08-03 21:07:12 +03: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 a1ada5cd24 kube-scheduler: skip well-known additional objects
Not all additional objects are meant to be applied to the cluster; a
few are configured through a file path.  We explicitly handle those
and don't write them to the file where they should be applied.
2022-08-03 09:51:16 -04:00
justinsb e4d8dff835 kube-scheduler: MVP configuration validation
We check that users haven't specified the kubeconfig file path, as
this file is created / managed by kOps.  We don't try to reuse the
upstream configuration validation, as this allows the user to specify
a partial configuration, and this means that we don't have to pull in
the upstream libraries.

We could in future accept the "correct" value or just treat providing
a value as a signal that kOps should not manage the file; for now we
are starting with the most restrictive configuration, as we can then
relax it in future if needed.
2022-08-03 09:51:16 -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
justinsb 296e85a1f1 kube-scheduler: validate completed cluster in tests 2022-08-03 09:51:16 -04:00
justinsb c8deb1428d kube-scheduler: Add test for static manifests 2022-08-03 09:51:16 -04:00
justinsb 8693164f76 Update expected output 2022-08-03 09:51:16 -04:00
justinsb 9bb1d3e114 Configuration file for kube-scheduler
We generate a kube-scheduler configuration file in the kops CLI, and
nodeup will use it if provided (instead of generating one).

We put the configuration file into the fileAssets.

Users can provide a kube-scheduler configuration in additional
objects, and this will be used as the base configuration (we add the
kubeconfig path).

Issue #13352

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2022-08-03 09:51:05 -04:00
Ole Markus With 43c9232ae3 Add back conversion struct to cert-manager CRDs
A combination of apiserver map handling when using server-side apply, CA injection and resource validation made it impossible for kops to remove this struct. However, kops should claim ownership of all fields so we can remove them all in a future version
2022-08-03 14:14:58 +02:00
Kubernetes Prow Robot 5fbc7b4103
Merge pull request #14081 from sterchelen/fix-ebs-csi-driver
aws-ebs-csi-driver: remove preStop hook
2022-08-02 23:49:52 -07:00
Nicolas Sterchele a23ca78c58
fixup! aws-ebs-csi-driver: remove preStop hook 2022-08-03 07:55:26 +02:00
Kubernetes Prow Robot fee7348577
Merge pull request #14084 from hakman/hide_log_non-aws_s3_endpoint
Set higher verbosity when logging the endpoint of non-AWS S3 backend
2022-08-02 19:37:52 -07:00
Ciprian Hacman 3d24d76cd6 Set higher verbosity when logging the endpoint of non-AWS S3 backend 2022-08-03 04:54:47 +03:00
Kubernetes Prow Robot 2fb0258b07
Merge pull request #14083 from rifelpet/patch-typo
Fix typo in channels error message
2022-08-02 17:25:52 -07:00
Peter Rifel 3eb30853f7
Fix typo in channels error message 2022-08-02 17:21:08 -05:00
Kubernetes Prow Robot 8547b6ab64
Merge pull request #14082 from olemarkus/args-earlier
Remove --files flag from channels and make single arg mandatory
2022-08-02 12:25:50 -07:00
Ole Markus With 70181ec3b3 Remove --files flag from channels and make single arg mandatory 2022-08-02 20:27:36 +02:00
Nicolas Sterchele a1256cf6e6
aws-ebs-csi-driver: remove preStop hook
The hook can cause issue on execution, like

```
Exec lifecycle hook ([/bin/sh -c rm -rf
/registration/ebs.csi.aws.com-reg.sock /csi/csi.sock]) for Container
"node-driver-registrar" in Pod
"ebs-csi-node-96jbk_ebs-csi(a82c6d41-bd2b-42dd-b092-e3acd4c43b62)"
failed - error: command '/bin/sh -c rm -rf
/registration/ebs.csi.aws.com-reg.sock /csi/csi.sock' exited with 126: ,
message: "OCI runtime exec failed: exec failed: container_linux.go:370:
starting container process caused: exec: \"/bin/sh\": stat /bin/sh: no
such file or directory: unknown\r\n"
```

Moreover, it has been deleted from upstream driver, see this patch
6e59160eea

Signed-off-by: Nicolas Sterchele <foss@sterchelen.net>
2022-08-02 14:48:16 +02:00
Kubernetes Prow Robot 1c32ac743b
Merge pull request #14077 from olemarkus/karpenter-subnets
Fix Karpenter IAM permissions and make karpenter respect IG subnets
2022-08-01 14:28:29 -07:00
Kubernetes Prow Robot a50900fbf1
Merge pull request #14061 from rifelpet/kubetest2-upgrade
Upgrade kubetest2
2022-08-01 12:56:29 -07:00
Ole Markus With 8b9a194cb7 Fix karpenter PDB api version 2022-08-01 21:06:28 +02:00
Ole Markus With cb37d0faf1 Set higher verbosity on some karpenter logging 2022-08-01 21:06:28 +02:00
Ole Markus With 8bcc640452 Make Karpenter respect IG's spec.Subnets
This will add tag all subnets with the IGs using that subnet

Update docs/operations/karpenter.md

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2022-08-01 21:06:24 +02:00
Peter Rifel 4d82a4ae59
Upgrade kubetest2 2022-08-01 13:17:58 -05:00
Ole Markus With 2a21b49eea Fix IAM permissions for Karpenter 2022-08-01 08:43:21 +02:00
Kubernetes Prow Robot dba1e5d594
Merge pull request #14017 from infonova/add-occm-networking-config-options
Allow configuring OpenStack CCM networking options
2022-07-31 11:06:28 -07:00
Kubernetes Prow Robot cf79afc6b9
Merge pull request #14076 from olemarkus/deprecate-positional-clustername-arg
Remove passing cluster name as positional argument
2022-07-31 09:14:27 -07: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
Kubernetes Prow Robot 8ec65a2ab6
Merge pull request #14075 from olemarkus/merge-factory
Merge cmd factories
2022-07-30 22:18:27 -07: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
Kubernetes Prow Robot 632349935b
Merge pull request #14074 from olemarkus/patch-not-update
Use SSA for updating addon channel objects
2022-07-30 06:42:27 -07:00
Ole Markus With 820bba41cf Use SSA for updating addon channel objects 2022-07-30 11:21:09 +02:00
Kubernetes Prow Robot 21b5eb34b7
Merge pull request #14073 from hakman/relnotes_1.24.1
Release notes for 1.24.1
2022-07-29 20:38:27 -07:00
Ciprian Hacman c4902e7c24 Release notes for 1.24.1 2022-07-30 05:40:03 +03:00
Ciprian Hacman 4dee7dd9a2
Release 1.25.0-alpha.2 (#14070) 2022-07-29 11:31:11 -07:00