ziyin.lu
b64b2feb0c
kubelet: Imporve cmd comment for how kubelet works
2021-02-14 23:16:21 +08:00
Heng WU
ace6b47298
Update addons.go
2021-02-14 21:04:43 +08:00
Kubernetes Prow Robot
b2b8c1f18d
Merge pull request #98980 from syswu/missing_return_nil
...
catching errors for 'kubeadm join'
2021-02-11 21:32:47 -08:00
Sri Saran Balaji Vellore Rajakumar
af05a7eca3
Refactor Kubelet Server to take kubeConfiguration instead of multiple fields
2021-02-11 16:15:35 -08:00
Sri Saran Balaji Vellore Rajakumar
51cdf4e97b
Add support to disable /debug/pprof and /debug/flags/v endpoint
...
Co-authored-by: xiaofei.sun <sunxiaofei@kuaishou.com >
Co-authored-by: SaranBalaji90 <srisaranbalaji@gmail.com >
2021-02-11 15:56:53 -08:00
Kubernetes Prow Robot
2d153fe04e
Merge pull request #98969 from khenidak/beta-feature
...
upgrade IPv6DualStack feature to beta and turn on by default
2021-02-11 11:53:37 -08:00
Heng WU
4b7f6d8750
Update joinconfiguration.go
2021-02-11 09:57:08 +08:00
Heng WU
0bb842637c
Update joinconfiguration.go
2021-02-11 09:08:11 +08:00
Kubernetes Prow Robot
838bb6a567
Merge pull request #98663 from gavinfish/sched-remove-plugin-pt
...
Scheduler: change config.Plugins from pointers to objects
2021-02-10 15:36:15 -08:00
Khaled (Kal) Henidak
3e56ddae67
upgrade IPv6DualStack feature to beta and turn on by default
2021-02-10 23:14:05 +00:00
drfish
74315f9c56
Change config.Plugins from pointers to objects
2021-02-10 23:45:59 +08:00
Michael Beaumont
a5a6762d33
Move pkg/kubelet/apis to k8s.io/kubelet/pkg/apis
2021-02-09 21:37:39 +01:00
Kubernetes Prow Robot
943e67c01f
Merge pull request #95479 from mgjeong/feature-memory-manager-working
...
Memory manager
2021-02-09 03:40:56 -08:00
Kubernetes Prow Robot
fcb55645a9
Merge pull request #98547 from neolit123/1.21-update-kubeadm-owners
...
kubeadm: update OWNERS for 1.21
2021-02-09 00:45:16 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
...
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Artyom Lukianov
932134034c
memory manager: update API constant to have camel case format
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-02-09 01:10:02 +02:00
Artyom Lukianov
7561a0f96e
memory manager: provide new flag var to parse reserved-memory parameter
...
The new flag will parse the `--reserved-memory` flag straight forward
to the []kubeletconfig.MemoryReservation variable instead of parsing
it to the middle map representation.
It gives us possibility to get rid of a lot of unneeded code and use the single
presentation for the reserved-memory.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-02-09 01:10:01 +02:00
Artyom Lukianov
ff2a110920
memory manager: provide the new type to contain resources for each NUMA node
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-02-09 01:10:00 +02:00
Artyom Lukianov
24be74e759
memory manager: update bazel files
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-02-09 01:09:59 +02:00
Krzysztof Wiatrzyk
711e85af24
memory manager: adding additional tests for server.go file, for parseReservedMemoryConfig() function.
2021-02-09 00:54:58 +02:00
Artyom Lukianov
93accb51e4
memory manager: add memory manager flag under kubelet options and kubelet config
...
The commit also includes generated files after `make generated_files`.
Signed-off-by: Byonggon Chun <bg.chun@samsung.com >
2021-02-09 00:54:58 +02:00
Kubernetes Prow Robot
f266f60da9
Merge pull request #98839 from Mattias-/kubeadm-fix-config-print-placeholder
...
kubeadm: Fix placeholder in config print help text
2021-02-08 11:54:43 -08:00
Kubernetes Prow Robot
0867767d6e
Merge pull request #98882 from kvaps/flatten-adminconfig
...
kubeadm: flatten admin.conf for cluster-info generation
2021-02-08 09:26:28 -08:00
Andrei Kvapil
9de0b2bf46
kubeadm: flatten admin.conf for cluster-info
2021-02-08 17:22:01 +01:00
Mattias Appelgren
7e80d4d191
kubeadm: Fix placeholder in config print help text
2021-02-06 18:32:45 +01:00
hasheddan
8ae6a20485
kubeadm: drop explicit constant override in version test
...
The k8s release bucket constant is not longer overriden in network tests
because the fetcher is mocked rather than using httptest.NewServer. See
previous implementation in
https://github.com/kubernetes/kubernetes/pull/49119/files#diff-82f2b09991047d4a1884d53dedadd64a473d5c4dc75293514e71773ceedf08e2R128
Signed-off-by: hasheddan <georgedanielmangum@gmail.com >
2021-02-06 11:03:00 -06:00
hasheddan
1d164d0747
kubeadm: get k8s CI version markers from k8s infra bucket
...
Updates kubeadm version resolution to use kubernetes community infra
bucket to fetch appropriate k8s ci versions. The images are already
being pulled from the kubernetes community infra bucket meaning that a
mismatch can occur when the ci version is fetched from the google infra
bucket and the image is not yet present on k8s infra.
Follow-up to kubernetes/kubernetes#97087
Signed-off-by: hasheddan <georgedanielmangum@gmail.com >
2021-02-06 10:59:15 -06:00
pacoxu
f681edf58e
kubeadm: improve error message about node subnet size validation
...
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com >
Co-authored-by: SataQiu <1527062125@qq.com >
Co-authored-by: driazati <david.riazati@gatech.edu >
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com >
2021-02-05 23:29:26 +08:00
pacoxu
8946f26769
update pause to 3.4.1 for kubelet/kubeadm
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-02-05 21:33:01 +08:00
Morten Torkildsen
96ea28aa77
Check if resources implement scale in disruption controller
2021-02-03 20:19:35 -08:00
Sean McGinnis
874ceb0fdf
Improve wording in kubeadm upgrade plan
...
Originally raised as an issue with invalid versions to plan, but it has
been determined with air gapped environments and development versions it
is not possible to fully address that issue.
But one thing that was identified was that we can do a better job in how
we output the upgrade plan information. Kubeadm outputs the requested
version as "Latest stable version", though that may not actually be the
case. For this instance, we want to change this to "Target version" to
be a little more accurate.
Then in the component upgrade table that is emitted, the last column of
AVAILABLE isn't quite right either. Also changing this to TARGET to
reflect that this is the version we are targetting to upgrade to,
regardless of its availability.
There could be some improvements in checking available versions,
particularly in air gapped environments, to make sure we actually have
access to the requested version. But this at least clarifies some of the
output a bit.
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com >
2021-02-03 09:44:15 -06:00
Kubernetes Prow Robot
074a517720
Merge pull request #98706 from roycaihw/flake/storage-version-integration-healthz
...
storage version integration test: check the test server's health before running
2021-02-02 21:32:28 -08:00
Kubernetes Prow Robot
356ee4c83a
Merge pull request #98254 from changshuchao/scheduler-config-help-line
...
Fix the kube-scheduler binary's description of the --config parameter…
2021-02-02 19:40:28 -08:00
Haowei Cai
dc047b183b
storage version integration test: check the test server's health before running
...
we disabled the /healthz check because our test blocks one post-start
hook from finishing. Instead we should check all the other /healthz/...
endpoints before running the tests
2021-02-02 18:31:53 -08:00
Kubernetes Prow Robot
d2659101bf
Merge pull request #98325 from deads2k/update-default-authorizer
...
Update delegated authorization options default to eliminate unnecessary SARs
2021-02-02 11:38:28 -08:00
Kubernetes Prow Robot
645c40fcf6
Merge pull request #98638 from neolit123/1.21-optimize-unit-tests-certs
...
kubeadm: introduce static defaults for unit tests
2021-02-02 03:20:29 -08:00
Lubomir I. Ivanov
f27555b890
kubeadm: optimize tests in pki_helpers_tests.go
...
Reduce the number of calls to algorithm.GenerateKey()
but try not to reduce coverage.
2021-02-02 04:25:06 +02:00
Kubernetes Prow Robot
f81220975e
Merge pull request #98257 from lingsamuel/etcd-lease-max-count
...
lease manager limit max objects attached to a lease
2021-02-01 14:52:27 -08:00
Kubernetes Prow Robot
6aef7ca013
Merge pull request #98553 from mtaufen/said-ga
...
Graduate ServiceAccountIssuerDiscovery to GA
2021-02-01 13:42:01 -08:00
Kubernetes Prow Robot
6e50e64cb3
Merge pull request #98664 from liggitt/kubeadm-key-fixtures
...
Use private key fixtures for kubeadm unit tests
2021-02-01 12:50:06 -08:00
Michael Taufen
6aa80d9172
Graduate ServiceAccountIssuerDiscovery to GA
...
Waiting on KEP updates first:
https://github.com/kubernetes/enhancements/pull/2363
2021-02-01 11:44:23 -08:00
Lubomir I. Ivanov
afea70f9ae
kubeadm: update OWNERS for 1.21
2021-02-01 20:14:00 +02:00
Lubomir I. Ivanov
6578e0f6c5
kubeadm: introduce static defaults for unit tests
...
Add DefaultedStaticInitConfiguration() which can be
used instead of DefaultedInitConfiguration() during unit tests.
The later can be slow since it performs dynamic defaulting.
2021-02-01 19:43:57 +02:00
Jordan Liggitt
8761972f68
Use private key fixtures for kubeadm unit tests
2021-02-01 10:06:10 -05:00
Ling Samuel
c8db72c38c
api-server add --lease-max-object-count
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com >
2021-02-01 18:20:59 +08:00
Kubernetes Prow Robot
c04058418f
Merge pull request #98243 from Jiawei0227/unregister-plugin
...
Disable in-tree plugin without enabling CSI migration
2021-01-29 12:59:48 -08:00
changshuchao
7d8e07bd17
Fix the kube-scheduler binary's description of the --config parameter is inaccurate
...
Signed-off-by: changshuchao <chang.shuchao1@zte.com.cn >
2021-01-29 18:04:57 +08:00
Lubomir I. Ivanov
01ea75e36d
kubeadm: exclude control plane nodes from external LBs
...
Apply the label:
"node.kubernetes.io/exclude-from-external-load-balancers"
To control plane nodes to preserve backwards compatibility
with the legacy mode where "master" nodes were excluded from
LBs.
2021-01-26 20:42:58 +02:00
David Eads
62230d3c46
update delegated authz defaults in kube binaries
2021-01-26 12:53:24 -05:00
Kubernetes Prow Robot
76d1292930
Merge pull request #98059 from jprzychodzen/ld-kcm
...
[kube-controller-manager] Lower timeout for leaderelection resourcelock
2021-01-26 02:36:34 -08:00