Kubernetes Prow Robot
ea028befc1
Merge pull request #118053 from aleskandro/fix-nil-affinity-update
...
Updating the nodeAffinity of gated pods having nil affinity should be allowed
2023-05-22 09:35:09 -07:00
Tobias Klauser
0f5535ea25
registry/core/service: remove incorrect comments
...
These interface methods are not only used for testing. Remove the
incorrect comments.
2023-05-22 12:35:43 +02:00
Kubernetes Prow Robot
c7c41d27b4
Merge pull request #117834 from NoicFank/cleanup-scheduler-node-must-not-nil-in-snapshot
...
cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins
2023-05-20 15:16:18 -07:00
dingzhu lurong
ed26fcf5b8
cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins
2023-05-20 22:53:43 +08:00
Kubernetes Prow Robot
b9c7726046
Merge pull request #118033 from mimowo/job-controller-cleanup
...
Cleanup the Job controller handling of terminating pods
2023-05-19 06:50:30 -07:00
Michal Wozniak
0fe27a06f9
Cleanup the Job controller handling of terminating pods
2023-05-19 09:52:08 +02:00
Kubernetes Prow Robot
b2a1855f2c
Merge pull request #118088 from danwinship/kube-proxy-belated-cleanup
...
belated cleanup of some kube-proxy stuff for old versions
2023-05-18 13:18:34 -07:00
Kubernetes Prow Robot
189fe3f3e6
Merge pull request #114806 from qingwave/fix-volume-util
...
fix typo in volume util
2023-05-18 08:32:34 -07:00
aleskandro
4c9887e3eb
Updating the nodeAffinity of gated pods having nil affinity should be allowed
2023-05-18 07:44:34 +02:00
Kubernetes Prow Robot
1ef45e0827
Merge pull request #116016 from danwinship/nodeport-addresses-3
...
clean up kube-proxy nodeport address handling (part 3)
2023-05-17 17:30:33 -07:00
Dan Winship
80b9c85361
belated cleanup of some kube-proxy stuff for old versions
2023-05-17 18:34:27 -04:00
Kubernetes Prow Robot
da1b9df26c
Merge pull request #118032 from kerthcet/cleanup/interpodaffinity2
...
Chore: cleanup in interPodAffinity
2023-05-17 14:00:33 -07:00
Kubernetes Prow Robot
fb63090c9f
Merge pull request #118056 from liggitt/tracking-init
...
Initialize data if nil
2023-05-16 15:50:33 -07:00
Jordan Liggitt
1daf74d25c
Initialize data if nil
2023-05-16 17:51:26 -04:00
Kubernetes Prow Robot
bdbfbffef3
Merge pull request #117371 from smarterclayton/minimal_podmanager
...
kubelet: Don't reference the pod manager interface directly from components
2023-05-16 14:34:33 -07:00
Kubernetes Prow Robot
2f0c2e50d4
Merge pull request #117036 from haoruan/bugfix/warning-on-deprecated-annotations
...
emit warning on deprecated annotation volume.beta.kubernetes.io/storage-class
2023-05-16 11:59:37 -07:00
Kubernetes Prow Robot
53772982be
Merge pull request #116829 from mengjiao-liu/contextual-logging-scheduler-plugin-volumezone
...
Migrated the volumezone scheduler plugin to use contextual logging
2023-05-16 09:53:35 -07:00
Kubernetes Prow Robot
8d491e676a
Merge pull request #118018 from humblec/feature-gate-storage-removal
...
remove CSIStorageCapacity featuregate
2023-05-16 07:07:48 -07:00
Dan Winship
0e456dcf86
Clarify localhost nodeport comments/errors
2023-05-16 09:14:11 -04:00
Dan Winship
a744a186b6
Rename GetNodeAddresses to GetNodeIPs, return net.IP
2023-05-16 09:14:09 -04:00
Dan Winship
2ca215fd99
Add NodePortAddresses.MatchAll()
...
Rather than having GetNodeAddresses() return a special magic value
indicating that it matches all IPs, add a separate method to check
that. (And have GetNodeAddresses() just return the IPs as expected
instead.)
2023-05-16 09:09:24 -04:00
Kubernetes Prow Robot
03b2e84183
Merge pull request #113209 from luozhiwenn/personal/etc-host
...
ensure etc-host file permission is 644 whatever umask is
2023-05-16 01:41:35 -07:00
kerthcet
3ac7497361
Chore: cleanup in interpodaffinity
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-05-16 14:46:15 +08:00
Kubernetes Prow Robot
70033bf843
Merge pull request #114606 from tuunit/bugfix-case-sensitive-headers
...
fix: remove case sensitive checking of probe headers
2023-05-15 22:05:36 -07:00
Hao Ruan
19ae103e82
emit warning on deprecated annotation volume.beta.kubernetes.io/storage-class
2023-05-16 10:19:01 +08:00
Kubernetes Prow Robot
ffb4172ff1
Merge pull request #115754 from linxiulei/sched
...
Start informers after leader election
2023-05-15 15:41:36 -07:00
Kubernetes Prow Robot
38652a8c31
Merge pull request #116531 from my-git9/ut-conditions
...
[UT] add ut for pkg/client/conditions
2023-05-15 13:21:35 -07:00
Eric Lin
a52dcd0d9f
Add DelayCacheUntilActive option to start informers after leader election
...
If scheduler fails to be active (elected if leader election is enabled),
setting this option will not start informers so that to avoid memory
overhead.
Signed-off-by: Eric Lin <exlin@google.com >
2023-05-15 19:52:04 +00:00
Kubernetes Prow Robot
1d6158e11b
Merge pull request #117993 from liggitt/shortnames
...
Undo 1.28 shortname additions for now
2023-05-15 11:05:27 -07:00
Kubernetes Prow Robot
1487fc762f
Merge pull request #117982 from jpbetz/sig-roles-jpbetz
...
Add api-machinery TL owners permissions for jpbetz
2023-05-15 09:07:29 -07:00
Joe Betz
f0f92853ad
Add api-machinery TL owners permissions for jpbetz
2023-05-15 11:09:54 -04:00
Humble Chirammal
e4dd6f68dc
remove CSIStorageCapacity featuregate
...
This feature gates were GAed in Kubernetes v1.24 and supposed to be
removed in kubernetes >=v1.26. This commit remove the same.
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-05-15 20:26:42 +05:30
Dan Winship
9ac657bb94
Make NodePortAddresses explicitly IP-family-specific
...
Both proxies handle IPv4 and IPv6 nodeport addresses separately, but
GetNodeAddresses went out of its way to make that difficult. Fix that.
This commit does not change any externally-visible semantics, but it
makes the existing weird semantics more obvious. Specifically, if you
say "--nodeport-addresses 10.0.0.0/8,192.168.0.0/16", then the
dual-stack proxy code would have split that into a list of IPv4 CIDRs
(["10.0.0.0/8", "192.168.0.0/16"]) to pass to the IPv4 proxier, and a
list of IPv6 CIDRs ([]) to pass to the IPv6 proxier, and then the IPv6
proxier would say "well since the list of nodeport addresses is empty,
I'll listen on all IPv6 addresses", which probably isn't what you
meant, but that's what it did.
2023-05-15 10:53:44 -04:00
Dan Winship
f7bb9a9a0a
Remove a mostly-unused variable in the ipvs proxy
...
It probably was used for something else in the past but it's pointless
now.
2023-05-15 10:53:21 -04:00
Kubernetes Prow Robot
52353a2e4a
Merge pull request #117994 from sanposhiho/patch-6
...
cleanup unused variables for v1beta2 component config
2023-05-15 06:01:29 -07:00
Kubernetes Prow Robot
aae20dcb78
Merge pull request #118000 from daman1807/proxy-ipvs-reviewer
...
proxy/ipvs: added daman1807 as reviewer
2023-05-14 13:51:26 -07:00
Kubernetes Prow Robot
11218f10aa
Merge pull request #117061 from AxeZhan/duplicate_validation
...
remove duplicate validation for csi
2023-05-14 12:51:26 -07:00
Daman Arora
a0133b7cc4
proxy/ipvs: added daman1807 as reviewer
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2023-05-14 16:29:43 +05:30
Kubernetes Prow Robot
fda4ca0d8a
Merge pull request #117965 from daman1807/fix/ipvs-ipv6-healthcheck
...
proxy/ipvs: use healthzServer for instantiating the IPVS IPv6 proxier
2023-05-13 12:29:37 -07:00
Kensei Nakada
13cef6a754
cleanup unused variables for v1beta2 component config
2023-05-14 00:22:25 +09:00
Jordan Liggitt
815578295a
Revert "support short name for flowschema and prioritylevelconfiguration"
...
This reverts commit 3dd0c41663 .
2023-05-13 11:11:04 -04:00
Jordan Liggitt
72202f9a00
Revert "add shortnames for mutatingwebhookconfigurations and validatingwebhookconfigurations"
...
This reverts commit 7514d8b333 .
2023-05-13 11:10:55 -04:00
Kubernetes Prow Robot
8479db5876
Merge pull request #117946 from lavalamp/lavalamp-taking-a-break
...
lavalamp is taking a long break
2023-05-12 14:34:47 -07:00
Clayton Coleman
1f16d71185
kubelet: Rename PodManager DeletePod to RemovePod
...
RemovePod is more consistent within the kubelet to be the opposite
of AddPod, and the pod is not being deleted just "removed" from
tracking.
2023-05-12 12:57:27 -04:00
Clayton Coleman
166256f73e
kubelet: Reduce the interface pod.Manager consumers accept
...
Every component that uses a pod.Manager should use a stub interface
(like we do for podWorker) that explicitly describes what methods
they use. This will allow podWorker to implement the minimum set
of manager interfaces.
2023-05-12 12:57:27 -04:00
Clayton Coleman
8bd94dfa76
kubelet: Organize and document kubelet pod-related members
...
Clearly describe core pod related component responsibilities in
the kubelet members. Organize the PodManager interface for clarity.
2023-05-12 12:57:27 -04:00
Clayton Coleman
bb568844b6
kubelet: Separate the MirrorClient from the PodManager
...
The two are not coupled except accidentally. Separate them and
update callsites. This will reduce the scope of PodManager interface
to make exposing the pod worker cleaner.
2023-05-12 12:57:26 -04:00
Clayton Coleman
80b1aca580
kubelet: Remove dispatchWork and inline calls to UpdatePod
...
The HandlePod* methods are all structurally similar, but accrued
subtle differences. In general the only point for Handle is to
process admission and to update the pod worker with the desired
state of the kubelet's config (so that pod worker can make it
the actual state).
Add a new GetPodAndMirrorPod() method that handles when the config
pod is ambiguous (pod or mirror pod) and inline the structure.
Add comments on questionable additions in the config methods for
future improvement.
Move the metric observation of container count closer to where
pods are actually started (in the pod worker). A future change
can likely move it to syncPod.
2023-05-12 12:57:26 -04:00
Clayton Coleman
e7207c8546
kubelet: Merge orphaned mirror pod names into GetPodsAndMirrorPods
...
There is only one caller and both sets of data are part of the
resync operation between kubelet's desired state and the actual
state of the pod workers. Reduces the size of the interface so
that it is easier to create another pod manager.
2023-05-12 12:57:26 -04:00
Clayton Coleman
f8086f2dac
kubelet: Convert IsMirrorOf to a function
...
Shrinks the PodManager interface by one method, no abstraction is
necessary here.
2023-05-12 12:57:26 -04:00