Kubernetes Prow Robot
359b722c19
Merge pull request #102882 from fromanirh/device-manager-checkpoints
...
devicemanager: checkpoint: support pre-1.20 data
2021-11-02 16:56:57 -07:00
Kubernetes Prow Robot
5aacb15a19
Merge pull request #105913 from aholic/master
...
add condition pre-check for pod uid and pod resource version in bind api
2021-11-02 14:27:53 -07:00
Kubernetes Prow Robot
3fdeb490e0
Merge pull request #105510 from damemi/wire-contexts-bootstrap
...
Wire contexts to Bootstrap controllers
2021-11-02 14:27:42 -07:00
Jonathan Dobson
082cb15648
Move CSIVolumeFSGroupPolicy feature to GA
2021-11-02 15:22:33 -06:00
Konstantin Misyutin
808c8f42d5
Remove StorageObjectInUseProtection feature gate logic
...
This feature has graduated to GA in v1.11 and will always be
enabled. So no longe need to check if enabled.
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com >
2021-11-03 00:13:50 +03:00
Skyler Clark
d3ae0a381a
prevents garbage collection from removing pinned images
2021-11-02 14:43:02 -04:00
Kubernetes Prow Robot
ec8e6e8778
Merge pull request #106002 from kerthcet/feature/refactor-NodeResourcesFit-plugin
...
refactor scheudler's node resource plugins
2021-11-02 10:52:34 -07:00
kerthcet
e5dd375b14
refactor scheudler's node resource plugins
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2021-11-03 00:52:23 +08:00
Jordan Liggitt
94d0c0f78e
Simplify kubelet file config field allowlists
2021-11-02 10:23:54 -04:00
Kubernetes Prow Robot
9be67806cd
Merge pull request #102945 from chenchun/fake
...
Pass DeleteOptions down to the Reactor
2021-11-02 07:14:58 -07:00
Jordan Liggitt
01fa142ef5
PodSecurity: promote to beta
2021-11-02 09:43:24 -04:00
Kubernetes Prow Robot
2a821d787b
Merge pull request #105525 from damemi/wire-contexts-core
...
Wire contexts to Core controllers
2021-11-02 03:32:58 -07:00
Kubernetes Prow Robot
6ebd6f38b9
Merge pull request #104909 from pacoxu/kubectl-qos
...
kubectl: include init containers when determining pod QoS
2021-11-01 20:00:58 -07:00
Chun Chen
621970476f
Pass DeleteOptions down to the Reactor
...
Co-authored-by: Mo Khan <theenjeru@gmail.com >
2021-11-02 10:04:48 +08:00
Ruochen Xu
6cc9bedfab
add condition pre-check for pod uid and pod resource version in bind api
2021-11-02 09:51:15 +08:00
Mark Rossetti
d16c1f1004
Move WindowsHostProcessContainers feature-gate to Beta
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com >
2021-11-01 14:48:56 -07:00
evertrain
9ceb226c06
Bugfix prevent daemon controller to adopt controller revisions of other namespaces
2021-11-02 00:14:26 +08:00
Mike Dame
4960d0976a
Wire contexts to Core controllers
2021-11-01 10:29:00 -04:00
Jan Safranek
bc0c1bf1c5
Fixed unit test SELinux support
...
Previously, an error from GetSELinuxSupport was treated as a filesystem did
not support SELinux. Now the error is treated separately.
2021-11-01 15:11:40 +01:00
Jan Safranek
7b07b1ef0e
Add shortcut for SELinux detection
...
Skip parsing of /proc/mounts if SELinux is disabled on the machine.
2021-11-01 14:32:48 +01:00
Mengjiao Liu
e262e3ad2f
Migrate assume_cache.go to structured logging
2021-11-01 17:43:39 +08:00
jyz0309
07bf08690c
migrate log to structure log
...
Signed-off-by: jyz0309 <45495947@qq.com >
add klog.Kobj
Signed-off-by: jyz0309 <45495947@qq.com >
use KObj
Signed-off-by: jyz0309 <45495947@qq.com >
address comment
Signed-off-by: jyz0309 <45495947@qq.com >
remove useless var
Signed-off-by: jyz0309 <45495947@qq.com >
format code
Signed-off-by: jyz0309 <45495947@qq.com >
address comment
Signed-off-by: jyz0309 <45495947@qq.com >
use err key
Signed-off-by: jyz0309 <45495947@qq.com >
use PVC
Signed-off-by: jyz0309 <45495947@qq.com >
improve log message
Signed-off-by: jyz0309 <45495947@qq.com >
address comment
Signed-off-by: jyz0309 <45495947@qq.com >
use pod instead podName
Signed-off-by: jyz0309 <45495947@qq.com >
2021-10-31 21:11:26 +08:00
Kubernetes Prow Robot
08bf54678e
Merge pull request #101909 from nolancon/cpu-mgr-testing
...
Additional cases for reconcileState testing
2021-10-30 00:01:17 -07:00
Ahmad Diaa
a2c37bfd09
use original requests in NodeResourcesBalancedAllocation instead of NonZero ( #105845 )
2021-10-29 19:04:14 -07:00
Kubernetes Prow Robot
36e69a3303
Merge pull request #105980 from ahg-g/ahg-mutable
...
Make job pod template annotations and labels mutable for suspended jobs that never started
2021-10-29 13:15:23 -07:00
Tim Hockin
11a25bfeb6
De-share the Handler struct in core API ( #105979 )
...
* De-share the Handler struct in core API
An upcoming PR adds a handler that only applies on one of these paths.
Having fields that don't work seems bad.
This never should have been shared. Lifecycle hooks are like a "write"
while probes are more like a "read". HTTPGet and TCPSocket don't really
make sense as lifecycle hooks (but I can't take that back). When we add
gRPC, it is EXPLICITLY a health check (defined by gRPC) not an arbitrary
RPC - so a probe makes sense but a hook does not.
In the future I can also see adding lifecycle hooks that don't make
sense as probes. E.g. 'sleep' is a common lifecycle request. The only
option is `exec`, which requires having a sleep binary in your image.
* Run update scripts
2021-10-29 13:15:11 -07:00
ml
a2441a256b
fix multiple typos
2021-10-29 21:43:52 +02:00
Kubernetes Prow Robot
adff4a75ad
Merge pull request #105931 from mengjiao-liu/structured_logging_scheduler_part2
...
Migrate scheduler files `interpodaffinity/filtering.go`,`podtopologyspread/filtering.go`, `volume_zone.go` to structured logging
2021-10-29 12:13:23 -07:00
Shivanshu Raj Shrivastava
c2fba6b84d
referenced the V1Secret type ( #105901 )
2021-10-29 12:13:11 -07:00
Rob Scott
794f0cb7f1
Fixing how EndpointSlice Mirroring handles Service selector transitions
2021-10-29 11:03:28 -07:00
Peter Hunt
6b3f8e5662
kubelet: fallback to partial CRI stats if full fails
...
This is partially to allow the kube alpha tests to pass until CRI implementations have support, but also to handle this error situation a bit more elegantly
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-10-29 09:40:20 -04:00
Peter Hunt
feb5f5e0ed
kubelet: use helper function to check for nil fields in sandbox stats
...
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-10-29 09:40:20 -04:00
Peter Hunt
85e8a4bf73
kubelet stats: use UsageNanoCores if available
...
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-10-29 09:40:20 -04:00
Peter Hunt
ffdb4b9c4a
kubelet: slightly move around some cri stats functions
...
to reduce duplication and add clarity
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-10-29 09:40:20 -04:00
Peter Hunt
d2c436700e
kubelet stats: add support for podAndContainerStatsFromCRI
...
This commit adds an initial implementation of translating from the new CRI fields
to the /stats/summary PodStats object
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-10-29 09:40:20 -04:00
Peter Hunt
7866287ba1
kubelet stats: wire up podAndContainerStatsFromCRI feature gate
...
though it is currently unused
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-10-29 09:40:20 -04:00
Peter Hunt
cd85d4b3fb
features: add podAndContainerStatsFromCRI
...
to allow users to specify whether the Kubelet should pull pod and container stats
strictly from the CRI, rather than a mixture of CRI and cAdvsior
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-10-29 09:40:19 -04:00
Kubernetes Prow Robot
bb24c265ce
Merge pull request #104693 from ravisantoshgudimetla/add-podOS-field
...
Add pod os field
2021-10-28 21:38:50 -07:00
Mengjiao Liu
2783ddc227
Migrate scheduler files interpodaffinity/filtering.go
,podtopologyspread/filtering.go
, volume_zone.go
to structured logging
2021-10-29 11:41:02 +08:00
Kubernetes Prow Robot
c592bd40f2
Merge pull request #105609 from pohly/generic-ephemeral-volume-ga
...
generic ephemeral volume GA
2021-10-28 17:36:50 -07:00
Kubernetes Prow Robot
8e37a3b324
Merge pull request #103868 from qingsenLi/210723-forget
...
Merge conditional assignment into variable declaration
2021-10-28 16:32:50 -07:00
Kubernetes Prow Robot
8e8bf06f15
Merge pull request #105796 from sanposhiho/move/parallelizer-to-non-internal
...
Fix: move parallelize package to non-internal file
2021-10-28 15:31:00 -07:00
ravisantoshgudimetla
41f8f95fc5
generated: Add os field to Pod Spec
2021-10-28 17:31:52 -04:00
ravisantoshgudimetla
d7d0beb65f
api: Handle validation of PodOS field presence
2021-10-28 17:31:52 -04:00
ravisantoshgudimetla
8d97eaf48c
feature: Add podOS featuregate
2021-10-28 17:31:52 -04:00
ravisantoshgudimetla
3b936d310c
api: Introduce os field to pod spec
2021-10-28 17:31:52 -04:00
Abdullah Gharaibeh
f466ab0989
Make job pod template annotations and labels mutable for suspended jobs that never started
2021-10-28 14:53:15 -04:00
Kubernetes Prow Robot
525b094d97
Merge pull request #105917 from enj/enj/i/sa_err_print
...
serviceaccount/claims: include validation failure error in the log
2021-10-28 09:20:50 -07:00
Kubernetes Prow Robot
6edcb60d9f
Merge pull request #104915 from alculquicondor/job-ready
...
Track ready pods in Job status
2021-10-28 09:20:26 -07:00
Patrick Ohly
d55f7c85ef
psp: remove unused PodSecurityPolicyValidationOptions
...
Since the only member of that struct is gone, the struct itself can also be
removed. If for whatever reason the struct is needed again, then this commit
can be reverted to bring it back.
2021-10-28 17:25:07 +02:00