Kubernetes Prow Robot
fa1d682bd7
Merge pull request #103353 from njuptlzf/fix_datarace
...
fix data race for Test_Run_Positive_VolumeMountControllerAttachEnabledRace
2021-08-04 19:00:23 -07:00
Kubernetes Prow Robot
a674fb496c
Merge pull request #103261 from markusthoemmes/kubelet-volume-logs
...
Add pod context to volume lifecycle logs
2021-08-04 19:00:15 -07:00
Kubernetes Prow Robot
06ae9a2ad7
Merge pull request #103259 from mamil/fix-typo
...
fix typo for daemon_controller_test.go
2021-08-04 19:00:07 -07:00
Kubernetes Prow Robot
d1479ea431
Merge pull request #103231 from n4j/bug/CredentialProviderFailsOnECR
...
Appended OS's environment variables to the ones configured in Credent…
2021-08-04 18:59:59 -07:00
Kubernetes Prow Robot
4b2f2a0cd8
Merge pull request #102789 from haircommander/add-summary-stats-to-cri
...
CRI: add fields for pod level stats to satisfy the /stats/summary API
2021-08-04 18:59:43 -07:00
Wesley Williams
ff165c8823
Replace usage of Whitelist with Allowlist within Kubelet's sysctl package ( #102298 )
...
* Change uses of whitelist to allowlist in kubelet sysctl
* Rename whitelist files to allowlist in Kubelet sysctl
* Further renames of whitelist to allowlist in Kubelet
* Rename podsecuritypolicy uses of whitelist to allowlist
* Update pkg/kubelet/kubelet.go
Co-authored-by: Danielle <dani@builds.terrible.systems >
Co-authored-by: Danielle <dani@builds.terrible.systems >
2021-08-04 18:59:35 -07:00
Kubernetes Prow Robot
41fdc193ff
Merge pull request #101370 from RyanAoh/master
...
Set out.TargetCPUUtilizationPercentage correctly when converting autscaling_HorizontalPodAutoscalerSpec to v1_HorizontalPodAutoscalerSpec
2021-08-04 18:59:02 -07:00
Kubernetes Prow Robot
f136e80269
Merge pull request #100226 from houjun41544/20210315-nodeaffinity
...
Fix wrong log
2021-08-04 18:58:38 -07:00
Markus Thömmes
c820824711
Add pod context to volume lifecycle logs
2021-08-03 13:12:22 +02:00
Elana Hashman
b5f24c334e
Bump DynamicKubeConfig metric deprecation to 1.23
2021-07-28 09:29:57 -07:00
njuptlzf
1555877cc5
fix data race for Test_Run_Positive_VolumeMountControllerAttachEnabledRace
2021-07-26 17:17:16 +08:00
houjun
8dc091ef2e
Fix wrong log
2021-07-26 11:38:02 +08:00
Kubernetes Prow Robot
47e1df8f4e
Merge pull request #103743 from kolyshkin/runc-1.0.1
...
vendor: bump runc to v1.0.1
2021-07-23 15:16:33 -07:00
Neeraj Shah
75f0007d2b
Overlaid OS's environment variables with the ones specified in the CredentialProviderConfig
...
- Removed dependency with cmd.Run's stub
- Added test cases
Signed-off-by: Neeraj Shah <neerajx86@gmail.com >
2021-07-23 09:45:19 +05:30
Jordan Liggitt
236e72cf8a
Make CSR cleaner tolerate objects with invalid status.certificate
2021-07-21 10:35:17 -04:00
Kubernetes Prow Robot
9f47110aa2
Merge pull request #103785 from smarterclayton/preserve_reason
...
Ensure that Reason and Message are preserved on pod status
2021-07-20 15:21:26 -07:00
Kubernetes Prow Robot
7303b2ce4e
Merge pull request #103747 from mattcary/noapi
...
Revert #99378
2021-07-20 07:19:31 -07:00
Kubernetes Prow Robot
6aa160f3ba
Merge pull request #103181 from 249043822/bugfix-volumemanager
...
Add sync reconstructed volume from desired state of world for volumemanager
2021-07-19 15:04:52 -07:00
Clayton Coleman
d7ee024cc5
kubelet: Make condition processing in one spot
...
The list of status conditions should be calculated all together,
this made review more complex. Readability only.
2021-07-19 17:56:22 -04:00
Clayton Coleman
c2a6d07b8f
kubelet: Avoid allocating multiple times during status
...
Noticed while reviewing this code path. We can assume the
temporary slice should be about the same size as it was previously.
2021-07-19 17:55:18 -04:00
Clayton Coleman
9efd40d72a
kubelet: Preserve reason/message when phase changes
...
The Kubelet always clears reason and message in generateAPIPodStatus
even when the phase is unchanged. It is reasonable that we preserve
the previous values when the phase does not change, and clear it
when the phase does change.
When a pod is evicted, this ensurse that the eviction message and
reason are propagated even in the face of subsequent updates. It also
preserves the message and reason if components beyond the Kubelet
choose to set that value.
To preserve the value we need to know the old phase, which requires
a change to convertStatusToAPIStatus so that both methods have
access to it.
2021-07-19 17:54:55 -04:00
Kir Kolyshkin
e5b434e990
kubelet/cm: don't set Devices
...
Since runc 1.0.0 it is now sufficient to have SkipDevices: true.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
2021-07-16 12:45:35 -07:00
Matthew Cary
aeb82243fc
Revert "tests for statefulset PersistentVolumeClaimDeletePolicy api change"
...
This reverts commit b259686b36 .
Change-Id: I25cc8ae8a9aa77d0bc483147d3f8fb65616a2b2b
2021-07-16 11:51:35 -07:00
Kubernetes Prow Robot
76b0906136
Merge pull request #101047 from jsturtevant/issue-100966-dualstack-windows
...
[sig-windows] update winkernel to only use dualstack if the node and config supports it
2021-07-15 20:30:09 -07:00
Aohan Yang
4101c8b3cb
Set out.TargetCPUUtilizationPercentage correctly when converting autoscaling_HorizontalPodAutoscalerSpec to v1_HorizontalPodAutoscalerSpec
2021-07-16 11:29:22 +08:00
Matthew Cary
10a3cc815b
Revert "statefulset PersistentVolumeClaimDeletePolicy api change"
...
This reverts commit e4e735cd1c .
Change-Id: I3e17aa585fd9ae4f9e74b97326ae6b9fadd2a94c
2021-07-15 17:14:19 -07:00
Matthew Cary
fb5b966a88
Revert "Add StatefulSetAutoDeletePVC feature gate"
...
This reverts commit 0feba0c4ee .
2021-07-15 17:03:53 -07:00
Kubernetes Prow Robot
02355e22b3
Merge pull request #103650 from dims/get-golangci-lint-back-on-its-feet
...
Get golangci lint back on its feet
2021-07-15 02:06:48 -07:00
Kubernetes Prow Robot
68922e3deb
Merge pull request #103644 from alculquicondor/tracking-deleted-pods
...
Revert counting deleted pods as failures for Job
2021-07-14 09:02:28 -07:00
Aldo Culquicondor
5e1b5ec398
Revert counting deleted pods as failures for Job
...
When JobTrackingWithFinalizers is disabled. To preserve existing behavior.
Change-Id: Id1752f96feed322911712fe9e918e91e42eca809
2021-07-14 10:03:20 -04:00
Davanum Srinivas
75748c185e
enable verify-golangci-lint.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-07-14 08:53:33 -04:00
Davanum Srinivas
07332ad398
fix ineffassign and varcheck
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-07-14 08:41:22 -04:00
Davanum Srinivas
26cc8e40a8
fix deadcode issues
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-07-14 08:41:21 -04:00
Kubernetes Prow Robot
2da4d48e6d
Merge pull request #100567 from jingxu97/mar/mark
...
Mark volume mount as uncertain in case of volume expansion fails
2021-07-13 22:20:26 -07:00
Kubernetes Prow Robot
d6f2473d08
Merge pull request #103668 from smarterclayton/panic_in_pod_worker
...
kubelet: Prevent runtime-only pods from going into terminated phase
2021-07-13 17:42:26 -07:00
Clayton Coleman
de9cdab5ae
kubelet: Prevent runtime-only pods from going into terminated phase
...
If a pod is already in terminated and the housekeeping loop sees an
out of date cache entry for a running container, the pod worker
should ignore that running pod termination request. Once the worker
completes, a subsequent housekeeping invocation will then invoke
terminating because the worker is no longer processing any pod
with that UID.
This does leave the possibility of syncTerminatedPod being blocked
if a container in the pod is started after killPod successfully
completes but before syncTerminatedPod can exit successfully,
perhaps because the terminated flow (detach volumes) is blocked on
that running container. A future change will address that issue.
2021-07-13 15:41:49 -04:00
Elana Hashman
aaa7de0ac6
Update API description for probe.terminationGracePeriodSeconds
2021-07-13 14:28:06 -05:00
rarashid
bf2ae14501
Move feature flag to beta (but leave as false) and remove the feature flag from Kubelet
2021-07-13 14:25:44 -05:00
Kubernetes Prow Robot
e375563732
Merge pull request #103245 from wzshiming/fix/prober-termination
...
Add validation for Prober TerminationGracePeriodSeconds
2021-07-13 09:30:30 -07:00
KeZhang
65618bfd69
Add sync reconstructed volume from desired state of world for volumemanager
2021-07-13 12:51:37 +08:00
Kubernetes Prow Robot
04ef2b115d
Merge pull request #90216 from DataDog/nayef/fix-container-statuses-race
...
Avoid overwriting podStatus ContainerStatuses in convertToAPIContainerStatuses
2021-07-12 17:02:29 -07:00
Kubernetes Prow Robot
584658a17d
Merge pull request #103601 from dashpole/webhook_tracing
...
Add tracing to admission webhook requests
2021-07-12 10:22:47 -07:00
Kubernetes Prow Robot
e799d7b191
Merge pull request #99023 from verb/1.21-securitycontext
...
Allow setting securityContext in ephemeral containers
2021-07-09 20:50:46 -07:00
Kubernetes Prow Robot
de0670ca0d
Merge pull request #103553 from ehashman/rename-node-ff
...
Rename NodeSwapEnabled flag to NodeSwap
2021-07-09 16:49:30 -07:00
Kubernetes Prow Robot
60756214d8
Merge pull request #103533 from jiahuif/feature/leader-migration/to-beta
...
KEP-2436 Leader Migration: to beta
2021-07-09 12:15:00 -07:00
Elana Hashman
642eff0c69
Rename NodeSwapEnabled flag to NodeSwap
2021-07-09 11:39:52 -07:00
Kubernetes Prow Robot
2423813207
Merge pull request #103573 from chendave/fix_index
...
Fix index out of range if multiple default plugins are overridden
2021-07-09 08:43:23 -07:00
Kubernetes Prow Robot
a6c2cd7d18
Merge pull request #103291 from wzshiming/fix/nodeshutdown-restart
...
Fix Data Race in nodeshutdown restart
2021-07-09 08:43:14 -07:00
Kubernetes Prow Robot
03fa68099e
Merge pull request #98238 from alculquicondor/job-completion
...
Track Job completion through Pod finalizers and status
2021-07-09 08:42:54 -07:00
David Ashpole
9dd59017c4
add tracing to webhook requests
2021-07-09 06:30:05 -07:00