Commit Graph

17774 Commits

Author SHA1 Message Date
Ole Markus With cae87bb208 Add deployment-specific selectors to nth pdb
If not, when migrating from imds-mode to sqs-mode, the selectors will match the daemonset pods, which doesn't work with pdb
2022-08-11 07:23:04 +02:00
Kubernetes Prow Robot 18cba87e91
Merge pull request #14111 from sterchelen/fix-pod-annotations
cilium: fix wrong pod annotations templating
2022-08-10 06:54:37 -07:00
Kubernetes Prow Robot 10c9b9d6bc
Merge pull request #14110 from olemarkus/skip-intree-ebs-e2e
Skip testing the in-tree aws-ebs driver if CSI driver is enabled
2022-08-10 06:04:32 -07:00
Nicolas Sterchele ed094a40ec
cilium: add integration test for pod annotations 2022-08-10 14:14:46 +02:00
Nicolas Sterchele 5b58586537
cilium: fix agent pod annotation templating 2022-08-10 14:14:19 +02:00
Kubernetes Prow Robot 53eb302e26
Merge pull request #14109 from olemarkus/karpenter-no-previous-gen
Don't add previous-gen instances to Karpenter provisioners
2022-08-10 04:54:30 -07:00
Ole Markus With cfc4e504d0 Skip testing the in-tree aws-ebs driver if CSI driver is enabled 2022-08-10 13:41:03 +02:00
Ole Markus With 25901b8876 Don't add previous-gen instances to Karpenter provisioners
Previous-gen instances lack a lot of features. For example CCM will fail to update NLBs if these are added to the cluster.
2022-08-10 13:04:29 +02:00
Kubernetes Prow Robot 5032055dc6
Merge pull request #14106 from hakman/containerd-1.6.8
Update containerd to v1.6.8
2022-08-09 23:18:30 -07:00
Kubernetes Prow Robot 7669cd0004
Merge pull request #14107 from MoShitrit/aws-cni-1.11.3
Bump AWS CNI to 1.11.3
2022-08-09 22:12:30 -07:00
Moshe Shitrit a271714512 output of hack/update-expected 2022-08-10 00:05:05 -04:00
Moshe Shitrit a77f9efe24 bump aws cni to 1.11.13 2022-08-10 00:00:18 -04:00
Ciprian Hacman 19f35d49f1 Run hack/update-expected.sh 2022-08-10 04:33:21 +03:00
Ciprian Hacman 13a4e1ca46 Update containerd to v1.6.8 2022-08-10 04:31:58 +03:00
Kubernetes Prow Robot 82ec66a033
Merge pull request #14099 from olemarkus/fix-upgrade-ab-ci-version
Specify the full url for CI versions in upgrade-ab tests
2022-08-06 23:46:17 -07:00
Ole Markus With 1453a7fbe5 Specify the full url for CI versions in upgrade-ab tests
CI builds are stored in a different bucket
2022-08-07 07:57:23 +02:00
Kubernetes Prow Robot add0b6637b
Merge pull request #14098 from olemarkus/aws-ebs-csi-test
Test the aws ebs csi driver in e2e if installed
2022-08-06 21:04:18 -07:00
Ole Markus With fad50f6aa6 Test the aws ebs csi driver in e2e if installed 2022-08-06 12:49:38 +02:00
Ole Markus With 3073daa7d8 Have the kops e2e tester fetch the full e2e for capability sniffing 2022-08-06 08:47:26 +02:00
Kubernetes Prow Robot f9a8ebaadc
Merge pull request #14093 from hakman/containerd-1.6.7
Add hashes for containerd v1.6.7
2022-08-05 02:45:47 -07:00
Kubernetes Prow Robot 0d2e54695e
Merge pull request #14095 from olemarkus/stable-ci-upgrade
Add support for ci and stable builds in upgrade-ab script
2022-08-05 01:21:46 -07:00
Ciprian Hacman 706ae262bf Add hashes for containerd v1.6.7 2022-08-05 10:28:17 +03:00
Kubernetes Prow Robot 260d89f8eb
Merge pull request #14094 from kubernetes/dependencies/update-1659679694
Update dependencies
2022-08-05 00:01:47 -07:00
Ole Markus With dfb42b32c0 Add support for ci and stable builds in upgrade-ab script 2022-08-05 08:50:08 +02:00
github-actions c1ac138228 Update dependencies 2022-08-05 06:08:15 +00:00
Kubernetes Prow Robot 3120745769
Merge pull request #14092 from olemarkus/runc-template
Add template for e2e test with cpuManagerPolicy: static
2022-08-04 23:05:46 -07:00
Ole Markus With 19cc7d6271 Add template for e2e test with cpuManagerPolicy: static 2022-08-05 07:15:46 +02: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