Open OMO-NOSA opened 3 years ago
@OMO-NOSA, can you provide more information?
Please show me the output of the commands kubectl describe pod kube-dump
and kubectl get events | grep kube-dump
for the namespace where pod is running.
@WoozyMasta Here:
kubectl get events | grep kube-dump ==> this command did not return anything
@OMO-NOSA, It looks like everything is working well, have you tried running a dump task?
For example:
kubectl exec -ti -n kube-dump kube-dump -- /kube-dump ns -n kube-dump
Perhaps it was not obvious from the document, I corrected it, I hope it will be clearer this way
8b2135f19e074271742ee2332fb1a56ba0dadb23
@WoozyMasta Getting this Error: Error from server (Forbidden): pods "kube-dump" is forbidden: User "system:serviceaccount:kube-dump:kube-dump" cannot get resource "pods" in API group "" in the namespace "kube-dump"
and this: Error: Found running on kubernetes cluster but attempting connect to API 10.0.0.1:443 failed with code 401 command terminated with exit code 1
@OMO-NOSA, you have exactly set the ClusterRoleBinding from the deploy/cluster-role-view.yaml file?
If so then try this:
It looks like you don't have a standard view role in the cluster. Create this role from the clusterrole-view.yml file.
Or you can issue the cluster-admin role, apply this deploy/cluster-role-admin.yaml file (this is not a good solution to issue the administrator role, I do not recommend doing this in a production environment)
@WoozyMasta all my configuration seems good and up-to-date.
What will you suggest the issue here is? Will saving the files to a git repo be any different? If so, be guide me on the process, as the documentation isn't thorough enough. Thanks
Hello All,
I ran kube-dump as a kubernetes pod within my container and did the configuration to store both on a persistent disk and on a github repo.
I currently do not know the state of this as it is not showing a reasonable log information. Please see attached image.
Thanks![kube-dump](https://user-images.githubusercontent.com/24831235/116938021-07a5a200-ac62-11eb-9249-f9b90687625b.png)