Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/
Apache License 2.0
5.08k
stars
1k
forks
source link
tests: Use selector rather than pod name for kubectl logs/describe #9862
Since #9785 was introduced, the following error was observed during the deployment of nydus snapshotter:
Error from server (NotFound):
the server could not find the requested resource ( pods/log nydus-snapshotter-5v82v)
'kubectl logs nydus-snapshotter-5v82v -n nydus-system' failed after 3 tries
Error: Process completed with exit code 1.
This error can occur when a pod is re-created by a daemonset during the retry interval.
This commit addresses the issue by using --selector rather than the pod name
for kubectl logs/describe.
Since #9785 was introduced, the following error was observed during the deployment of nydus snapshotter:
This error can occur when a pod is re-created by a daemonset during the retry interval. This commit addresses the issue by using
--selector
rather than the pod name forkubectl logs/describe
.Signed-off-by: Hyounggyu Choi Hyounggyu.Choi@ibm.com