Shingo Omura
1663223e58
KEP-3619: should check supplementalGroupsPolicyInUse for oldNode in dropDisabledFields for node
2024-07-16 12:36:00 +09:00
Shingo Omura
f46ecf5648
KEP-3619: Wiring up from RuntimeFeatures.SupplementalGroupsPolicy(CRI) to NodeFeatures.SupplementalGroupsPolicy(API)
...
KEP-3619: fix typos in pkg/kubelet/container/runtime.go
2024-07-16 12:36:00 +09:00
Peter Hunt
86240aaca1
api: add user namespaces field to NodeRuntimeHandlerFeatures
...
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com >
2024-07-15 15:55:39 -04:00
Akihiro Suda
1dc05009fe
api: NodeStatus: rename RuntimeClasses to RuntimeHandlers
...
The runtime classes are apiserver's concept, while the handlers are kubelet's concept.
For NodeStatus, it makes more sense to return the latter ones here.
This commit modifies the following files:
- pkg/apis/core/types.go
- staging/src/k8s.io/api/core/v1/types.go
- pkg/kubelet/nodestatus/setters.go
- pkg/kubelet/kubelet_node_status.go
- pkg/registry/core/node/strategy.go
- test/e2e_node/mount_rro_linux_test.go
Other changes were auto-generated by running `make update`.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-03-14 08:06:39 +09:00
Akihiro Suda
8828530fd5
node: dropDisabledFields: recognize RecursiveReadOnlyMounts gate
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-03-09 09:48:13 +09:00
Dan Winship
bb0c3a0818
Remove proxyutil.IsProxyableIP / IsProxyableHostname
...
These don't belong in pkg/proxy/util; they involve a completely
unrelated definition of proxying.
Since each is only used from one place, just inline them at the
callers.
2023-07-01 08:49:38 -04:00
Jordan Liggitt
1c2fa0c7f7
Partition watchers by namespace/name scope
2023-02-27 20:38:11 +00:00
SataQiu
ba6fcf4169
add field-level warning for deprecated spec.externalID of node
2023-02-23 09:35:56 +08:00
Andrew Sy Kim
2aee9b26f7
fix node address validation
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2022-11-07 10:22:44 -05:00
Sergey Kanzhelev
39e49a91d7
remove DynamicKubeletConfig feature gate from the code
2022-09-23 23:14:19 +00:00
Khaled Henidak (Kal)
a53e2eaeab
move IPv6DualStack feature to stable. ( #104691 )
...
* kube-proxy
* endpoints controller
* app: kube-controller-manager
* app: cloud-controller-manager
* kubelet
* app: api-server
* node utils + registry/strategy
* api: validation (comment removal)
* api:pod strategy (util pkg)
* api: docs
* core: integration testing
* kubeadm: change feature gate to GA
* service registry and rest stack
* move feature to GA
* generated
2021-09-24 16:30:22 -07:00
Sergey Kanzhelev
dffc2a60a2
deprecate and disable by default DynamicKubeletConfig feature flag
2021-07-02 23:53:11 +00:00
Jordan Liggitt
8c8a4cf3e4
Add WarningsOnCreate,WarningsOnUpdate
2021-05-18 10:42:36 -04:00
Kevin Delgado
a1fac8cbd9
Server-Side Apply: Status Wiping/Reset Fields
...
Adds and implements ResetFieldsProvder interface in order to ensure that
the fieldmanager no longer owns fields that get reset before the object
is persisted.
Co-authored-by: Kevin Wiesmueller <kwiesmul@redhat.com >
Co-authored-by: Kevin Delgado <kevindelgado@google.com >
2021-03-10 01:02:18 +00:00
David Eads
37cc89ed8d
finish removal of exportoptions
2021-01-22 13:47:31 -05:00
Odin Ugedal
19f0519b2d
Relax huge page node validation
...
A relaxed version was added in 1.18, and this will disable the
validation all together.
2020-03-19 14:09:13 +01:00
Odin Ugedal
6e411b6c0a
Add support for pre-allocated hugepages with 2 sizes
...
Remove the validation for pre-allocated hugepages on node level.
Validation is currently the only thing making it impossible to use
pre-allocated huge pages in more than one size.
We have now quite a few reports from real users that this feature is
welcome.
2020-01-23 17:38:22 +01:00
wojtekt
467f5e96ee
Fix some golint failures
2019-07-25 20:38:28 +02:00
wojtekt
68fd329e00
Simplify trigger functions in cacher
2019-07-16 08:55:34 +02:00
Khaled Henidak(Kal)
69c7fc19e3
clean up: node dropDisabledFields
2019-07-03 18:21:30 +00:00
Khaled Henidak(Kal)
81468e2696
api: dropDisabledFields
2019-07-02 15:39:06 +00:00
Jordan Liggitt
17aa60686e
Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options
2019-01-23 16:34:43 -05:00
Serguei Bezverkhi
e61b76fb8c
node config_source
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com >
2018-12-29 13:19:37 -05:00
Micah Hausler
9740b6a6e1
Disable proxy to loopback and linklocal
2018-12-11 20:51:40 -08:00
zuoxiu.jm
3370907fe5
pass handler ctx to node rest nodegetter
2018-10-01 09:27:18 -04:00
Michael Taufen
fcc1f8e7b6
Move to a structured status for dynamic Kubelet config
...
Updates dynamic Kubelet config to use a structured status, rather than a
node condition. This makes the status machine-readable, and thus more
useful for config orchestration.
Fixes : #56896
2018-05-15 11:25:12 -07:00
Mike Danese
54fd2aaefd
replace request.Context with context.Context
2018-04-24 08:59:00 -07:00
mahuihuang
413062028a
fix grammar mistake
2018-04-08 16:45:19 +08:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Jordan Liggitt
02281898f8
Clear values for disabled alpha fields
2017-09-01 14:34:01 -04:00
Clayton Coleman
2568a92119
Grow signature for predicate attributes to include init status
2017-06-02 22:09:04 -04:00
Dr. Stefan Schimanski
536460e1d9
Mechanical fixup imports: pkg/genericapiserver
2017-02-03 08:15:45 +01:00
deads2k
1ef5d26079
move pkg/storage to apiserver
2017-01-31 19:07:33 -05:00
deads2k
11e8068d3f
move pkg/fields to apimachinery
2017-01-19 09:50:16 -05:00
Dr. Stefan Schimanski
3d9449a353
genericapiserver: fix imports
2017-01-19 13:06:47 +01:00
deads2k
a3e71b2cef
move name generation to generic api server storage helpers
2017-01-16 16:04:04 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
deads2k
31b6ba4e94
mechanicals
2017-01-13 16:33:09 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Dr. Stefan Schimanski
87dd990bb7
Move pkg/api.{Context,RequestContextMapper} into pkg/genericapiserver/api/request
2017-01-03 14:57:33 +01:00
Wojciech Tyczynski
3432fea8b2
Pipe GetOptions to storage
2016-12-06 11:48:37 +01:00
Wojciech Tyczynski
36e6cd19e1
Cache fields for filtering in watchCache.
2016-11-29 09:48:09 +01:00
Wojciech Tyczynski
c54d09d14e
Optimize computing fields in pod
2016-10-20 11:56:03 +02:00
Jordan Liggitt
a082a2e749
Remove static kubelet client, refactor ConnectionInfoGetter
2016-10-15 22:15:04 -04:00
Justin Santa Barbara
8fe884ac3f
Use nodeutil.GetHostIP consistently when talking to nodes
...
Most of our communications from apiserver -> nodes used
nodutil.GetNodeHostIP, but a few places didn't - and this
meant that the node name needed to be resolvable _and_ we needed
to populate valid IP addresses.
Fix the last few places that used the NodeName.
Issue #18525
Issue #9451
Issue #9728
Issue #17643
Issue #11543
Issue #22063
Issue #2462
Issue #22109
Issue #22770
Issue #32286
2016-09-29 10:07:43 -04:00
Hongchao Deng
6f3ac807fd
pass SelectionPredicate instead of Filter to storage layer
2016-09-26 09:47:19 -07:00
deads2k
561f8d75a5
move core resource registry packages
2016-09-21 10:11:50 -04:00