xin.li
fd3f82531f
kubeadm: increase ut coverage fo util/kubeconfig
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-08-18 14:49:59 +08:00
Kubernetes Prow Robot
4f874a224a
Merge pull request #119562 from my-git9/proxyut
...
kubeadm: increase ut for cmd/kubeadm/app/phases/addons/proxy
2023-08-16 19:44:21 -07:00
git-jxj
a5b3a4b738
cleanup: Update deprecated FromInt to FromInt32 ( #119858 )
...
* redo commit
* apply suggestions from liggitt
* update Parse function based on suggestions
2023-08-16 09:33:01 -07:00
Kubernetes Prow Robot
b51ad13bf7
Merge pull request #119938 from my-git9/certlist-ut
...
kubeadm: increase ut for certs/certlist
2023-08-16 01:22:37 -07:00
Kubernetes Prow Robot
85e018634c
Merge pull request #119859 from SataQiu/fix-healthcheck-client-cert-20230809
...
kubeadm: remove 'system:masters' organization from etcd/healthcheck-client certificate
2023-08-16 01:22:26 -07:00
Kubernetes Prow Robot
0491866c64
Merge pull request #119753 from pacoxu/kubeadm-reset-nil
...
kubeadm: fix nil pointer when etcd member is already removed
2023-08-15 23:12:26 -07:00
Kubernetes Prow Robot
ad15077193
Merge pull request #119742 from liggitt/unwanted-deps
...
Catch direct references to unwanted dependencies in kubernetes modules
2023-08-15 21:04:27 -07:00
Kubernetes Prow Robot
b406e49123
Merge pull request #119515 from haojue/dev/postupgradecomment
...
adjust order and fix typo for kube upgrade
2023-08-15 19:42:50 -07:00
xin.li
4950521ad8
kubeadm: increase ut for certs/certlist
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-08-16 10:04:03 +08:00
Kubernetes Prow Robot
5054f2954d
Merge pull request #119279 from chendave/dryrun_init
...
kubeadm: Make dry-run is configurable in initConfiguration and joinConfiguration
2023-08-15 15:18:03 -07:00
Kubernetes Prow Robot
1acd489dca
Merge pull request #118455 from linxiulei/managedFields
...
Trim managedFields in controller-manager
2023-08-15 15:17:12 -07:00
Kubernetes Prow Robot
322acc0f88
Merge pull request #117977 from liggitt/available-resources
...
Drop AvailableResources from controller context
2023-08-15 15:16:39 -07:00
Patrick Ohly
6ddcdef29a
kube-proxy: fix combination of --config and logging command line flags
...
When parsing a config file, all settings derived from command line flags are
discarded because only the config settings are used. That has been the
traditional behavior for non-logging flags.
But `--config ... -v=4` used to work until
71ef0dafa7 added logging to the configuration.
To restore the original behavior, kube-proxy now:
- parses flags
- reads the config file
- applies logging settings from the flags to the config loaded from file
- uses that merged config
2023-08-10 11:14:04 +02:00
SataQiu
5fb543a411
kubeadm: remove 'system:masters' organization from etcd/healthcheck-client certificate
2023-08-09 19:23:06 +08:00
Paco Xu
3a2c4d6f09
kubeadm: fix nil pointer when etcd member is already removed
2023-08-04 11:37:00 +08:00
Jordan Liggitt
a5fff9a5d0
Catch direct references to unwanted dependencies in kubernetes modules
2023-08-02 15:44:25 -04:00
Jordan Liggitt
b6ae858e01
Drop AvailableResources from controller context
2023-08-01 14:52:45 -04:00
xin.li
1b8fb69d9e
kubeadm: increase ut for cmd/kubeadm/app/phases/addons/proxy
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-07-26 16:28:07 +08:00
haojue
6d244728b9
adjust order and fix typo for kube upgrade
2023-07-22 00:03:41 -04:00
Alexander Zielenski
ef8670c946
refactor: replace usage of v1alpha1 with v1beta1
...
v1alpha -> v1beta
fill in DenyAction where there is no ParameterNotFoundAction
2023-07-21 13:41:24 -07:00
Alexander Zielenski
88becfc0ba
api: add v1beta1 ValidatingAdmissionPolicy/Binding types and storage
2023-07-20 13:24:09 -07:00
Kubernetes Prow Robot
8c1dc65da9
Merge pull request #119390 from sohankunkerkar/add-dropin
...
cmd/kubelet: implement drop-in configuration directory for kubelet
2023-07-18 19:44:02 -07:00
Sohan Kunkerkar
06a81d1395
cmd/kubelet: implement drop-in configuration directory for kubelet
...
This implements a drop-in configuration directory for the kubelet
by introducing a "--config-dir" flag. Users can provide individual
kubelet config snippets in separate files, formatted similarly to
kubelet.conf. The kubelet will process the files in alphanumeric order,
appending configurations if subfield(s) doesn't exist, overwriting them if
they do, and handling lists by overwriting instead of merging.
Co-authored-by: Yu Qi Zhang <jerzhang@redhat.com >
2023-07-18 21:41:14 -04:00
Richa Banker
c1aef65640
Add integration test
2023-07-18 17:36:30 -07:00
Richa Banker
cd5f3d9f9d
Add impl for uvip
2023-07-18 17:36:22 -07:00
Eric Lin
173b5a75b9
Trim managedFields in controller-manager
...
Signed-off-by: Eric Lin <exlin@google.com >
2023-07-18 18:31:26 +00:00
Kubernetes Prow Robot
ff90c1cc73
Merge pull request #119374 from danwinship/kep-3178-ga
...
move KEP-3178 IPTablesOwnershipCleanup to GA
2023-07-17 15:53:47 -07:00
Dan Winship
f1e7386fbc
Deprecate now-unused kubelet iptables flags
2023-07-17 16:51:47 -04:00
Peter Hunt
bfa62e0009
kubelet: retry RuntimeConfig call and prep for nil values from GetLinux
...
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2023-07-17 13:05:30 -04:00
Markus Lehtonen
d7797fbc61
kubelet: get cgroup driver config from CRI
...
This patch modifies kubelet to get the cgroup driver setting from the
CRI runtime using the newly added RuntimeConfig rpc. The new code path
only takes place if the KubeletCgroupDriverFromCRI feature gate is
enabled. If the runtime returns a not-implemented error kubelet falls
back to using the cgroupDriver configuration option, with a log message
instructing the user to upgrade to w newer container runtime. Other rpc
errors cause kubelet to exit as is the case if the runtime returns an
unknown cgroup driver.
2023-07-17 12:27:05 -04:00
Markus Lehtonen
fd434003f3
kubelet: initialization of runtime service earlier in the startup
...
This patch refactors the kubelet startup code to initialize the runtime
service earlier in the startup sequence. We want this to be able to
query the cgroup driver setting from the CRI befure initializing the
cgroup manager.
2023-07-17 12:27:05 -04:00
Dave Chen
2ce07981af
kubeadm: Make dry-run is configurable in joinConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-17 17:37:50 +08:00
Dave Chen
f5a6797e56
kubeadm: Make dry-run is configurable in initConfiguration
...
The `dry-run` flag was able to use with the config file, since it was not
configurable in the config file.
Make it configurable in v1beta4, so that eventually, kubeadm could deprecate
the flag and suggest to use the config file instead.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-17 17:37:45 +08:00
Kubernetes Prow Robot
16534deedf
Merge pull request #119351 from SataQiu/fix-kubeadm-20230716
...
kubeadm: remove the limitation that the 'ignorePreflightErrors' field can not be set to 'all' in kubeadm config file
2023-07-16 22:07:07 -07:00
Kubernetes Prow Robot
7c4eb66b6f
Merge pull request #119319 from chendave/validate_config
...
kubeadm: Support `kubeadm config validate` for ResetConfiguration
2023-07-16 19:41:07 -07:00
Kubernetes Prow Robot
71f8a2405d
Merge pull request #119333 from liggitt/flushfrequencystring
...
Conditionally serialize flushFrequency as int
2023-07-16 07:09:06 -07:00
Jordan Liggitt
6c0ea702d4
Conditionally serialize flushFrequency as int
2023-07-16 08:37:37 -04:00
SataQiu
bd9b78d686
kubeadm: remove the limitation that the 'ignorePreflightErrors' field can not be set to 'all' in kubeadm config file, and keep CLI / config consistent
2023-07-16 12:37:12 +08:00
Kubernetes Prow Robot
f34365789d
Merge pull request #116470 from alexanderConstantinescu/kep-3836-impl
...
[Kube-proxy]: Implement KEP-3836
2023-07-15 05:43:04 -07:00
Dave Chen
b883f30501
kubeadm: Support kubeadm config validate for ResetConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-15 19:29:18 +08:00
Kubernetes Prow Robot
871e6b5b8d
Merge pull request #119313 from chendave/migrate_config
...
kubeadm: Support `kubeadm config migrate` for ResetConfiguration
2023-07-15 00:31:22 -07:00
Dave Chen
8f9e2cb8a8
kubeadm: Support kubeadm config migrate for ResetConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-15 13:18:47 +08:00
SataQiu
22f0f2e210
kubeadm: add 'kubeadm config print reset-defaults' command for ResetConfiguration
2023-07-15 11:14:28 +08:00
Kubernetes Prow Robot
cab65e2008
Merge pull request #118816 from PiotrProkop/topo-opts-to-beta
...
topologymanager: Promote support for improved multi-numa alignment in Topology Manager to beta
2023-07-14 16:55:08 -07:00
Kubernetes Prow Robot
24fe6f38f1
Merge pull request #119057 from vadasambar/feat/scheduler/expose-load-config-func
...
refactor: export `loadConfigFile` as a public function `LoadConfigFile`
2023-07-14 06:25:48 -07:00
Kubernetes Prow Robot
95c8d61918
Merge pull request #113583 from chendave/POC_resetCfg
...
kubeadm: implementation of `ResetConfiguration` API types
2023-07-14 04:05:48 -07:00
Dave Chen
2a907e6004
kubeadm: fix fuzzing for ResetConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-14 17:03:37 +08:00
Dave Chen
2e6715bc77
kubeadm: implementation of ResetConfiguration API types
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2023-07-14 17:03:31 +08:00
Kubernetes Prow Robot
bea27f82d3
Merge pull request #118209 from pohly/dra-pre-scheduled-pods
...
dra: pre-scheduled pods
2023-07-13 14:43:37 -07:00
Jiahui Feng
049614f884
ValidatingAdmissionPolicy controller for Type Checking ( #117377 )
...
* [API REVIEW] ValidatingAdmissionPolicyStatucController config.
worker count.
* ValidatingAdmissionPolicyStatus controller.
* remove CEL typechecking from API server.
* fix initializer tests.
* remove type checking integration tests
from API server integration tests.
* validatingadmissionpolicy-status options.
* grant access to VAP controller.
* add defaulting unit test.
* generated: ./hack/update-codegen.sh
* add OWNERS for VAP status controller.
* type checking test case.
2023-07-13 13:41:50 -07:00