kubernetes/pkg
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
..
api Merge pull request #99023 from verb/1.21-securitycontext 2021-07-09 20:50:46 -07:00
apis enable verify-golangci-lint.sh 2021-07-14 08:53:33 -04:00
auth Update auth OWNERS files to only use aliases 2021-04-07 10:46:03 -04:00
capabilities initialize capabilities unit test 2021-03-13 10:53:47 +01:00
client Prune stale entries from OWNERS files 2021-04-13 20:54:50 -04:00
cloudprovider Prune stale entries from OWNERS files 2021-04-13 20:54:50 -04:00
cluster/ports refactor: disable insecure serving in controller-manager 2021-05-03 00:01:49 +08:00
controller Revert counting deleted pods as failures for Job 2021-07-14 10:03:20 -04:00
controlplane remove the ssh tunneler implementation from kube-apiserver 2021-06-03 14:30:14 -04:00
credentialprovider fix deadcode issues 2021-07-14 08:41:21 -04:00
features Move feature flag to beta (but leave as false) and remove the feature flag from Kubelet 2021-07-13 14:25:44 -05:00
fieldpath hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
generated enable verify-golangci-lint.sh 2021-07-14 08:53:33 -04:00
kubeapiserver add tracing to webhook requests 2021-07-09 06:30:05 -07:00
kubectl hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
kubelet kubelet: Preserve reason/message when phase changes 2021-07-19 17:54:55 -04:00
kubemark Migrate kube-proxy to use v1 Event API 2021-06-13 18:57:52 +08:00
printers csr: add expirationSeconds field to control cert lifetime 2021-07-01 23:38:15 -04:00
probe Fix test order in /pkg/probe/http/http_test.go 2021-06-05 07:27:34 +00:00
proxy Merge pull request #101047 from jsturtevant/issue-100966-dualstack-windows 2021-07-15 20:30:09 -07:00
quota/v1 Fixed several spelling mistakes 2021-03-30 23:02:09 +02:00
registry fix deadcode issues 2021-07-14 08:41:21 -04:00
routes hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
scheduler Merge pull request #103573 from chendave/fix_index 2021-07-09 08:43:23 -07:00
security Merge pull request #99023 from verb/1.21-securitycontext 2021-07-09 20:50:46 -07:00
securitycontext Kubelet updates for Windows HostProcess Containers 2021-05-19 16:24:14 -07:00
serviceaccount allow multiple of --service-account-issuer 2021-04-19 09:54:11 -07:00
util fix deadcode issues 2021-07-14 08:41:21 -04:00
volume Merge pull request #100567 from jingxu97/mar/mark 2021-07-13 22:20:26 -07:00
windows/service hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
.import-restrictions
OWNERS Sign up dims for additional review roles 2020-08-08 19:08:38 -04:00