-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The deployment method for kubernetes isn't effective #3617
Comments
Hello, that's strange. Could you give me output of λ ~/ 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 |
Another strange thing: I haven't do anything, and this time I input "kubectl -n cadvisor get pods", the output is: However, I input "kubectl -n cadvisor get daemonsets.apps", the output is: Normal SuccessfulCreate 38s daemonset-controller Created pod: cadvisor-6tmn5 and I input "kubectl -n cadvisor describe pods cadvisor-6tmn5", part of the output is: |
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
The text was updated successfully, but these errors were encountered: