Gunju Kim
8fb5b6eb4c
node-e2e: Add container lifecycle e2e tests for preStop hook
...
This ensures that the container's pre-stop hook is invoked if the
startup or liveness probe fails.
2023-07-10 08:55:48 +09:00
Kubernetes Prow Robot
d653dcab5a
Merge pull request #119048 from pohly/scheduler-perf-metrics-for-perfdash
...
scheduler-perf: metrics for perfdash
2023-07-09 09:27:04 -07:00
Kubernetes Prow Robot
09899b986f
Merge pull request #118926 from mengjiao-liu/improve-scheduler-use-cmp.Diff
...
scheduler test: Use cmp.Diff instead of reflect.DeepEqual for pkg/scheduler/internal/cache
2023-07-08 21:51:04 -07:00
Kubernetes Prow Robot
19a25bac05
Merge pull request #119159 from alculquicondor/fix-job-uncounted
...
Only declare job as finished after removing all finalizers
2023-07-08 01:55:03 -07:00
Kubernetes Prow Robot
63e6d81314
Merge pull request #119170 from kerthcet/cleanup/remove-codes
...
Remove indirect reference to the util packages
2023-07-07 22:57:03 -07:00
kerthcet
47ef977ddd
Direct reference to the packages
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-07-08 12:03:46 +08:00
Kubernetes Prow Robot
c2d1593cf9
Merge pull request #117806 from danwinship/gcp-kubeproxyversion
...
Remove gcp cloud-provider checks for kubelet version >= 1.7.2
2023-07-07 20:37:16 -07:00
Kubernetes Prow Robot
1e0b4c84cf
Merge pull request #116879 from lzhecheng/fix-generateAPIPodStatus-dualstack
...
[Dual-stack] Fix generateAPIPodStatus() of kubelet handling Secondary IP
2023-07-07 20:37:04 -07:00
Kubernetes Prow Robot
0e14098333
Merge pull request #116429 from SergeyKanzhelev/sidecar
...
Add SidecarContainers feature
2023-07-07 17:39:03 -07:00
Kubernetes Prow Robot
2d42274ac7
Merge pull request #118999 from cezarygerard/health-service
...
kube-proxy service health: add new header with number of local endpoints
2023-07-07 15:49:05 -07:00
Gunju Kim
7286d122fb
Mark pods with restartable init containers as UnschedulableAndUnresolvable
...
This marks the pods with restartable init containers as
`UnschedulableAndUnresolvable` if the feature gate is disabled to avoid
the inconsistency in resource calculation between the scheduler and the
older kubelet.
2023-07-08 07:26:13 +09:00
Gunju Kim
0a98707912
Sidecar: Update printPod to show restartable init container information
2023-07-08 07:26:13 +09:00
Todd Neal
ea1eb7f8f7
implement sidecar resource calculation
2023-07-08 07:26:13 +09:00
Gunju Kim
03c2217687
Sidecar: Add e2e tests
...
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2023-07-08 07:26:12 +09:00
Gunju Kim
b94fa250c2
Sidecar: Implement lifecycle of the restartable init container
...
- Implement `computeInitContainerActions` to sets the actions for the
init containers, including those with `RestartPolicyAlways`.
- Allow StartupProbe on the restartable init containers.
- Update PodPhase considering the restartable init containers.
- Update PodInitialized status and status manager considering the
restartable init containers.
Co-authored-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2023-07-08 07:26:12 +09:00
Gunju Kim
c187b38117
Sidecar: Generated code
2023-07-07 21:39:35 +00:00
Gunju Kim
5d26bcd468
Sidecar: API changes
...
- Add SidecarContaienrs feature gate
- Add ContainerRestartPolicy type
- Add RestartPolicy field to the Container
- Drop RestartPolicy field if the feature is disabled
- Add validation for the SidecarContainers
- Allow restartable init containaers to have a startup probe
2023-07-07 21:39:34 +00:00
Kubernetes Prow Robot
16e3980c08
Merge pull request #119158 from dims/skip-GracefulNodeShutdown-tests-on-older-systemd-versions
...
Skip GracefulNodeShutdown on older systemd versions
2023-07-07 14:13:04 -07:00
Davanum Srinivas
10dc1ca084
Skip GracefulNodeShutdown on older systemd versions
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-07-07 16:08:42 -04:00
Kubernetes Prow Robot
c17601fa18
Merge pull request #118529 from kerthcet/feat/record-failed-plugins
...
Record failed plugins in Reserver Plugin
2023-07-07 11:09:03 -07:00
Aldo Culquicondor
f7a1fb76f4
Only declare job as finished after removing all finalizers
...
Change-Id: Id4b01b0e6fabe24134e57e687356e0fc613cead4
2023-07-07 14:08:19 -04:00
Maciej Szulik
3f07fc3acc
Remove long/golang version information making short the default
2023-07-07 18:46:34 +02:00
SataQiu
3a5268502f
Remove deprecated scheduler CLI flags
2023-07-07 23:33:33 +08:00
Kubernetes Prow Robot
7581ae8123
Merge pull request #116739 from moshe010/clone-cdi-devices
...
kubelet dra: lock before getting claimInfo CDIDevices and annotations fields
2023-07-07 06:31:04 -07:00
Dan Winship
68ed020b2a
Split IptablesRulesTotal metric into two different metrics
...
Historically, IptablesRulesTotal could have been intepreted as either
"the total number of iptables rules kube-proxy is responsible for" or
"the number of iptables rules kube-proxy rewrote on the last sync".
Post-MinimizeIPTablesRestore, these are very different things (and
IptablesRulesTotal unintentionally became the latter).
Fix IptablesRulesTotal (sync_proxy_rules_iptables_total) to be "the
total number of iptables rules kube-proxy is responsible for" and add
IptablesRulesLastSync (sync_proxy_rules_iptables_last) to be "the
number of iptables rules kube-proxy rewrote on the last sync".
2023-07-07 09:04:04 -04:00
Kubernetes Prow Robot
ddb2013363
Merge pull request #119103 from pohly/e2e-unexpected-args
...
e2e: detect unexpected command line arguments
2023-07-07 04:37:04 -07:00
aimuz
bc059817dc
fix: Add "metav1.CauseType" to "field.ErrorType" map
...
Signed-off-by: aimuz <mr.imuz@gmail.com>
2023-07-07 18:26:59 +08:00
kerthcet
c0eb0caf4a
Support fine-gained rescheduling in ReservePlugin
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-07-07 13:30:29 +08:00
xuexu6666
d7708e79d3
Use cmp diff
2023-07-06 23:01:06 -05:00
Kubernetes Prow Robot
b07a843cb5
Merge pull request #119046 from kerthcet/fix/handle-unschedule-plugins
...
Fix fitError in Permit plugin not handled perfectly
2023-07-06 21:01:03 -07:00
kerthcet
278a8376e1
Fix: fiterror in permit plugin not handled perfectly
...
We only added failed plulgins, but actually this will not work unless
we make the status with a fitError because we only copy the failured plugins
to podInfo if it is a fitError
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-07-07 10:35:59 +08:00
Kubernetes Release Robot
14bd9bc127
CHANGELOG: Update directory for v1.28.0-alpha.4 release
2023-07-07 00:15:00 +00:00
Kubernetes Prow Robot
4c7cda3e55
Merge pull request #119127 from Mskxn/fix_leak
...
use stopCh to avoid goroutine leak in tests
2023-07-06 14:39:25 -07:00
Kubernetes Prow Robot
40956a7977
Merge pull request #118879 from atiratree/fix-openapi-apiservices
...
make apiservices.apiregistration.k8s.io discoverable in openapi/v3
2023-07-06 14:39:17 -07:00
Heba Elayoty
2fe38f93e5
feat: Append job creation timestamp to cronjob annotations ( #118137 )
...
* Append job name to job annotations
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
* Update annotation description, remove timezone, and fix time
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
* Remove unused ctx
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
* code review comments
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
* code review comments
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
* Add timezone back
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
---------
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
2023-07-06 14:39:04 -07:00
Kubernetes Prow Robot
aeed7da616
Merge pull request #119077 from sanposhiho/follow-up-hint
...
clean up the implementation around QueueingHintFn
2023-07-06 13:39:15 -07:00
Anish Ramasekar
1acdb4ae86
[KMSv2] Mark KMS v1beta1 as deprecated with no further fixes ( #119007 )
...
* add feature gate
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
* add validation and warning in load config
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
* mark v1beta1 proto message deprecated
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
---------
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-07-06 13:39:03 -07:00
Dan Winship
02c59710ea
Test the IptablesRulesTotal metric in TestSyncProxyRulesRepeated
...
This required fixing a small bug in the metric, where it had
previously been counting the "-X" lines that had been passed to
iptables-restore to delete stale chains, rather than only counting the
actual rules.
2023-07-06 15:48:48 -04:00
Kubernetes Prow Robot
d02d8ba635
Merge pull request #118862 from byako/batching-dra-calls
...
DRA controller: batch resource claims for Allocate
2023-07-06 11:33:03 -07:00
Daniel Vega-Myhre
ecf0cee91c
update comment on feature flag
2023-07-06 17:33:11 +00:00
Daniel Vega-Myhre
3a02ecb341
check test case param instead of feature flag in unit test code
2023-07-06 17:30:40 +00:00
Kubernetes Prow Robot
6f9d1d38d8
Merge pull request #118817 from pohly/dra-delete-claims
...
DRA: improve handling of completed pods
2023-07-06 10:15:15 -07:00
Kubernetes Prow Robot
f66ba8c604
Merge pull request #118652 from saschagrunert/cri-container-config-user-defined-image
...
Add user specified image to CRI `ContainerConfig`
2023-07-06 10:15:03 -07:00
Alexey Fomenko
b10cc642b5
DRA controller: batch resource claims for Allocate
...
Signed-off-by: Alexey Fomenko <alexey.fomenko@intel.com>
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2023-07-06 19:31:45 +03:00
Kubernetes Prow Robot
7e5506de8d
Merge pull request #119111 from kannon92/remove-equal-ready-job
...
remove equalReady and replace with k8 util function
2023-07-06 09:13:16 -07:00
Kubernetes Prow Robot
823e0f77e8
Merge pull request #118010 from aimuz/cleanup
...
cleanup: duplicate request_test TestRequestAbsPathPreservesTrailingSlash
2023-07-06 09:13:04 -07:00
Kensei Nakada
be0db3f93d
clean up the implementation around QueueingHintFn
2023-07-06 16:07:39 +00:00
Kubernetes Prow Robot
8c1bf4f461
Merge pull request #116930 from fatsheep9146/contextual-logging-cleanup
...
contextual logging cleanup
2023-07-06 07:39:03 -07:00
Alexander Constantinescu
5175752df7
Issue 4230: remove readiness check for cache exclusion
2023-07-06 12:40:35 +02:00
Stephen Finucane
f2fa6d5f6b
Document PVLabeler as deprecated
...
This has no callers outside of the deprecated PersistentVolumeLabel
admission controller, and it does not appear to be intended for
implementation by external cloud provider implementations. The CSI
topology feature, while not an exact equivalent, fulfils a very similar
role. Indicate this.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-07-06 11:34:50 +01:00