Open lengcangche-gituhub opened 1 week ago
Hello, that's strange. Could you give me output of kubectl -n cadvisor get pods
?
λ ~/ echo $VERSION
λ ~/ kustomize build "https://github.com/google/cadvisor/deploy/kubernetes/base?ref=${VERSION}" | kubectl apply -f -
# Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
namespace/cadvisor created
serviceaccount/cadvisor created
daemonset.apps/cadvisor created
λ ~/ kubectl -n cadvisor get daemonsets.apps
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
cadvisor 1 1 1 1 1 <none> 5s
λ ~/ kubectl -n cadvisor get pods
NAME READY STATUS RESTARTS AGE
cadvisor-2p4rj 1/1 Running 0 9s
v0.49.0
No resources found in cadvisor namespace.
Could you give me output of kubectl -n cadvisor describe daemonsets.apps
?
I deploy cadvisor following the instructions in https://github.com/google/cadvisor/tree/master/deploy/kubernetes. However, after "kustomize build "https://github.com/google/cadvisor/deploy/kubernetes/base?ref=${VERSION}" | kubectl apply -f -", there is no pod for cadvisor.
Additionally, the output is:
Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically. namespace/cadvisor created serviceaccount/cadvisor created daemonset.apps/cadvisor created