Kubernetes Prow Robot
bc01306c98
Merge pull request #116738 from AxeZhan/TopologyManagerPolicy
...
When TopologyManagerPolicy is None, skip checks in NewManager.
2023-07-11 04:53:13 -07:00
Marek Siarkowicz
98461be8ff
Implement conditionalProgressRequester that allows requesting watch progress notification if watch cache is not fresh
2023-07-11 13:03:13 +02:00
Kubernetes Prow Robot
50782ce5ab
Merge pull request #119198 from jadhaj/fix-115385
...
Document address family of listening INET sockets
2023-07-11 03:19:23 -07:00
Kubernetes Prow Robot
8f1852bb44
Merge pull request #115295 from Namanl2001/pkg/controller/endpointslice
...
Migrated `pkg/controller/endpointslice` and `pkg/controller/endpointslicemirroring` to contextual logging
2023-07-11 03:19:12 -07:00
Evan Lezar
cd14e97ea8
Add a builder for ContainerAllocateResponse objects
...
This chagne introduces a helper to construct ContainerAllocateResponse instances.
Test cases are updated to use a new constructor accepting functional options
allowing the response contents to be set based on the test requirements.
This can then be extended to also test additional fields in the device plugin API
such as annotations which are not currently covered or new fields.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-07-11 11:48:26 +02:00
Evan Lezar
db2a1edbdd
Generate empty cdi annotations
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-07-11 11:48:24 +02:00
Evan Lezar
f0e3c32fe5
Move CDI annotation code to utils package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-07-11 11:47:53 +02:00
Jan Safranek
354b6c409f
Rename updateReconstructedFromAPIServer
...
to be in sync with volumesNeedUpdateFromNodeStatus.
2023-07-11 11:25:43 +02:00
Jan Safranek
1903f5aa2a
Rename volumesNeedDevicePath
...
To volumesNeedUpdateFromNodeStatus - because both devicePath and uncertain
attach-ability needs to be fixed from node status.
2023-07-11 11:15:24 +02:00
Jan Safranek
7cd60df4aa
Update volumesInUse after attachability is confirmed
...
node.status.volumesInUse should report only attachable volumes, therefore
it needs to wait for the reconciler to update uncertain attachability of
volumes from the API server.
2023-07-11 10:32:22 +02:00
Jan Safranek
0a2272dc68
Add uncertain state of volume attach-ability
...
During CSI volume reconstruction it's not possible to tell, if the volume
is attachable or not - CSIDriver instance may not be available, because
kubelet may not have connection to the API server at that time.
Adding uncertain state during reconstruction + adding a correct state when
the API server is available.
2023-07-11 10:32:22 +02:00
Michal Wozniak
bf48165232
Remarks to syncJobCtx
2023-07-11 09:44:08 +02:00
Michal Wozniak
990339d4c3
Introduce syncJobContext to limit the number of function parameters
2023-07-11 09:27:21 +02:00
cpanato
94b782680c
Update publishing-bot rules for release branches to Go 1.20.5
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-07-11 09:21:33 +02:00
carlory
f443c458af
move non-graceful node shutdown to GA
2023-07-11 13:51:51 +08:00
Kubernetes Prow Robot
ad72319ece
Merge pull request #115122 from r-erema/110782-oidc-test-coverage
...
add integration tests for OIDC authenticator
2023-07-10 15:29:10 -07:00
Kubernetes Prow Robot
986171d388
Merge pull request #119185 from xing-yang/metrics_attach
...
Add reason to force detach metric
2023-07-10 14:03:18 -07:00
Kubernetes Prow Robot
42e1e72105
Merge pull request #119130 from SataQiu/clean-sheduler-20230706
...
Remove deprecated scheduler CLI flags
2023-07-10 14:03:11 -07:00
Naman
645cb90732
migrated pkg/controller/endpointslicemirroring to contextual logging
...
Signed-off-by: Naman <namanlakhwani@gmail.com>
2023-07-11 01:43:30 +05:30
Daniel Vega-Myhre
98c6e25c37
update name of pod index label
2023-07-10 20:11:52 +00:00
Naman
09849b09cf
migrated pkg/controller/endpointslice to contextual logging
...
Signed-off-by: Naman <namanlakhwani@gmail.com>
2023-07-11 01:28:22 +05:30
Kubernetes Prow Robot
c95b16b280
Merge pull request #118608 from utam0k/podtopologyspread-prescore-skip
...
Return Skip in PodTopologySpread#PreScore under specific conditions
2023-07-10 09:27:07 -07:00
Kubernetes Prow Robot
10a12165de
Merge pull request #116755 from my-git9/feat/endpoint/logging
...
Migrated `pkg/controller/endpoint` to contextual logging
2023-07-10 05:37:05 -07:00
Jad Haj Yahya
de07643095
Document address family of listening INET sockets
2023-07-10 15:01:13 +03:00
Kubernetes Prow Robot
64939b66c6
Merge pull request #119146 from xuexu6666/xuexu6666/ControllerUtilUseCmpDiff
...
Use cmp diff in controller_util_test.go
2023-07-10 02:41:18 -07:00
Kubernetes Prow Robot
80dab4127b
Merge pull request #116720 from soltysh/remove_short_version
...
Remove long/golang version information making short the default
2023-07-10 02:41:06 -07:00
Alexander Constantinescu
08dd657a71
Implement metrics agreed on the KEP
2023-07-10 10:32:02 +02:00
Alexander Constantinescu
9b1c4c7b57
Implement KEP-3836
...
TL;DR: we want to start failing the LB HC if a node is tainted with ToBeDeletedByClusterAutoscaler.
This field might need refinement, but currently is deemed our best way of understanding if
a node is about to get deleted. We want to do this only for eTP:Cluster services.
The goal is to connection draining terminating nodes
2023-07-10 10:30:54 +02:00
xing-yang
cca6601106
Add reason to force detach metric
2023-07-10 06:30:05 +00:00
Kubernetes Prow Robot
0ae9aaacfa
Merge pull request #118271 from tangwz/add_nodeports_prefilter_skip_status
...
feat(NodePorts): return Skip status in PreFilter
2023-07-09 20:49:04 -07:00
Jiahui Feng
e655931274
expended type checking.
2023-07-09 19:41:44 -07:00
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