Open n0madic opened 5 years ago
Hello, thanks for reporting!
By the way follow tracker is deprecated, it is better to use multitracker: https://github.com/flant/kubedog#multitracker-cli. It has a minimal viable cli support thought and namespace should be specified fully also. I think this problem also affects multitracker.
hmm, it seems the multitracker does not show logs at all ...
Pods logs (logs from program, not kube events) are shown by default and kube events and other system stuff is not shown by default. Try option ShowServiceMessages
to show system messages:
cat << EOF | kubedog multitrack
{
"Deployments": [
{
"ResourceName": "mydeploy22",
"Namespace": "myns"
"ShowServiceMessages": true,
}
]
}
EOF
There are many options available for multitracker: https://github.com/flant/kubedog/blob/master/pkg/trackers/rollout/multitrack/multitrack.go#L57 (for now source code is the documentation).
I missed "Namespace" :)
The tracker does not display logs if the namespace is empty (default)
Reproduce the problem: