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
Kubernetes Prow Robot
2075b20b28
Merge pull request #114909 from aimuz/fix-114402
...
fix: kubectl expose fails for apps with same-port, different-protocol
2023-07-06 03:27:03 -07:00
Mskxn
132d477cb7
use stopCh to avoid goroutine leak in tests
2023-07-06 16:35:52 +08:00
Kubernetes Prow Robot
d48fc2ad2d
Merge pull request #119035 from saschagrunert/critical-pod
...
Fix `should be able to create and delete a critical pod` test
2023-07-06 00:51:03 -07:00
Sascha Grunert
20a25cbfcf
Add user specified image to CRI ContainerConfig
...
The container config image references either an image ID or a digest,
but not the original image from the container config. We require the
image for signature verification to ensure that we actually verify the
correct image.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-07-06 08:40:09 +02:00
Kubernetes Prow Robot
fbb2f89668
Merge pull request #118960 from MikeSpreitzer/add-seat-occupancy-metric
...
Introduce apiserver_flowcontrol_current_executing_seats metric
2023-07-05 23:17:05 -07:00
Mike Spreitzer
65e818d4ec
Introduce apiserver_flowcontrol_current_executing_seats metric
...
This is a duplicate of
`apiserver_flowcontrol_request_concurrency_in_use` but with a better
name. Hopefully we can later remove the copy with the inferior name.
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2023-07-06 00:50:11 -04:00
Kubernetes Prow Robot
e5efa0a5ee
Merge pull request #117108 from pohly/test-integration-race-detection-component-base-logs
...
component-base/logs: improve handling of re-applying a configuration
2023-07-05 21:29:08 -07:00
Kubernetes Prow Robot
cd32adebd9
Merge pull request #118386 from Richabanker/enhance-storage-version
...
Add servedVersions info in StorageVersion API
2023-07-05 19:23:02 -07:00
Kubernetes Prow Robot
77ad8a516d
Merge pull request #119025 from ii/remove-csidriver-test
...
Remove conformance test for StorageV1CSIDriver Endpoints
2023-07-05 17:53:02 -07:00
tangwz
1bf2f6c9c0
feat(NodePorts): return Skip status in PreFilter
2023-07-06 08:42:08 +08:00
Ziqi Zhao
dfc1838379
Migrated pkg/controller/volume|util|replicaset|nodeipam to contextual logging
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2023-07-06 07:39:52 +08:00
xin.li
6c0387d004
Migrated pkg/controller/endpoint to contextual logging
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-07-06 07:36:51 +08:00
xin.li
3cf2822bc5
Migrated pkg/controller/garbagecollector to contextual logging
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-07-06 07:36:51 +08:00