Skip to content

Commit b7c3f8b

Browse files
committed
Doc: fix getting log
Since capo-controller has two containers, kubectl logs needs -c option.
1 parent 96c681e commit b7c3f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This guide (based on Minikube but others should be similar) explains general inf
1717
## Get logs of Cluster API controller containers
1818

1919
```bash
20-
kubectl --kubeconfig minikube.kubeconfig -n capo-system logs -l control-plane=capo-controller-manager
20+
kubectl --kubeconfig minikube.kubeconfig -n capo-system logs -l control-plane=capo-controller-manager -c manager
2121
```
2222

2323
Similarly, the logs of the other controllers in the namespaces `capi-system` and `cabpk-system` can be retrieved.

0 commit comments

Comments
 (0)