Skip to content

Commit

Permalink
Merge pull request #93 from cgwalters/doc-kubectl-master
Browse files Browse the repository at this point in the history
docs: Note how to auth kubectl on the master
  • Loading branch information
openshift-merge-robot authored Aug 2, 2018
2 parents 1f451ef + 04266e2 commit ee5e296
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/dev/libvirt-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ export KUBECONFIG=$(pwd)/$CLUSTER_NAME/generated/auth/kubeconfig
kubectl get -n tectonic-system pods
```

Alternatively, if you didn't set up DNS on the host (or you want to
do things from the node for other reasons), on the master you can
```sh
host# virsh domifaddr master0 # to get the master IP
host# ssh core@<ip of master>
master0# export KUBECONFIG=/var/opt/tectonic/auth/kubeconfig
master0# kubectl get -n tectonic-system pods
```

## Connect to the cluster console
This will take ~30 minutes to be available. Simply go to `https://${CLUSTER_NAME}-api.${BASE_DOMAIN}:6443/console/` (e.g. `test1.tt.testing`) and log in using the credentials above.

Expand Down

0 comments on commit ee5e296

Please sign in to comment.