Skip to content

Commit 63bdb7f

Browse files
Merge pull request #1050 from ironcladlou/trouble-doc
Simplify worker node troubleshooting steps
2 parents 5f357d2 + 21fd1e9 commit 63bdb7f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/user/troubleshooting.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,24 @@ The installer doesn't provision worker nodes directly, like it does with master
1111
The status of the Machine API Operator can be checked by running the following command from the machine used to install the cluster:
1212

1313
```sh
14-
oc --config=${INSTALL_DIR}/auth/kubeconfig --namespace=openshift-cluster-api get pods
14+
oc --config=${INSTALL_DIR}/auth/kubeconfig --namespace=openshift-cluster-api get deployments
1515
```
1616

1717
If the API is unavailable, that will need to be [investigated first](#kubernetes-api-is-unavailable).
1818

1919
The previous command should yield output similar to the following:
2020

2121
```
22-
NAME READY STATUS RESTARTS AGE
23-
clusterapi-manager-controllers-774dc4557-nx5xq 3/3 Running 0 4h
24-
machine-api-operator-7894d8f85-lq2ts 1/1 Running 0 4h
22+
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
23+
cluster-autoscaler-operator 1 1 1 1 1d
24+
clusterapi-manager-controllers 1 1 1 1 1d
25+
machine-api-operator 1 1 1 1 1d
2526
```
2627

27-
The logs for the machine-controller container within the `clusterapi-manager-controllers` pod need to be checked to determine why the workers haven't been created. That can be done with the following (the exact name of the pod will need to be substituted):
28+
Check the machine controller logs with the following command.
2829

2930
```sh
30-
oc --config=${INSTALL_DIR}/auth/kubeconfig --namespace=openshift-cluster-api logs clusterapi-manager-controllers-774dc4557-nx5xq --container=machine-controller
31+
oc --config=${INSTALL_DIR}/auth/kubeconfig --namespace=openshift-cluster-api logs deployments/clusterapi-manager-controllers --container=machine-controller
3132
```
3233

3334
### Kubernetes API is Unavailable

0 commit comments

Comments
 (0)