Skip to content

Commit

Permalink
change README.md (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
JWDobken authored Feb 24, 2021
1 parent 4e5a429 commit 649f851
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,16 @@ output "kubeconfig" {

Initialize the directory with `terraform init` and create the cluster with `terraform apply`.

![cluster deploy](./deployed-servers.png)

When the cluster is deployed, the `kubeconfig` to reach the cluster is available from the output. There are many ways to continue, but you can store it to file:

```cmd
terraform output -raw kubeconfig > demo-cluster.config
terraform output -raw kubeconfig > demo-cluster.conf
```

and check the access by viewing the created cluster nodes:

```cmd
$ kubectl get nodes --kubeconfig=demo-cluster.config
$ kubectl get nodes --kubeconfig=demo-cluster.conf
NAME STATUS ROLES AGE VERSION
master-1 Ready master 95s v1.18.9
worker-1 Ready <none> 72s v1.18.9
Expand Down
Binary file removed deployed-servers.png
Binary file not shown.

0 comments on commit 649f851

Please sign in to comment.