Skip to content

Commit

Permalink
Update quickstart (kubernetes-sigs#127)
Browse files Browse the repository at this point in the history
Commit #10c76a36 moved clusterctl to the cmd/ directory.
  • Loading branch information
dougm authored and k8s-ci-robot committed Nov 20, 2018
1 parent 66d5298 commit 0ba1127
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ $> make
$> cd out
$> sudo cp ./minikube /usr/local/bin (on linux)
sudo cp ./minikube-darwin-amd64 /usr/local/bin/minikube (on Mac)
$> export LATEST_VERSION=$(curl -L -s -H 'Accept: application/json' https://github.com/machine-drivers/docker-machine-driver-vmware/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/') \
&& curl -L -o docker-machine-driver-vmware https://github.com/machine-drivers/docker-machine-driver-vmware/releases/download/$LATEST_VERSION/docker-machine-driver-vmware_darwin_amd64 \
&& chmod +x docker-machine-driver-vmware \
Expand All @@ -37,8 +37,8 @@ $> export LATEST_VERSION=$(curl -L -s -H 'Accept: application/json' https://gith
To run clusterctl on vCenter, you must build the CLI from this repo. The following instruction assumes $GOPATH is defined and $GOPATH/bin is in your current path.

```
$> git clone https://github.com/kubernetes-sigs/cluster-api-provider-vsphere $GOPATH/src/sigs.k8s.io/cluster-api-provider-vsphere
$> cd $GOPATH/src/sigs.k8s.io/cluster-api-provider-vsphere/clusterctl
$> go get sigs.k8s.io/cluster-api-provider-vsphere
$> cd $GOPATH/src/sigs.k8s.io/cluster-api-provider-vsphere/cmd/clusterctl
$> go build && go install
```

Expand All @@ -54,7 +54,7 @@ The current cluster api components and clusterctl CLI assumes two preconditions:

### Prepare cluster definition files

In *$GOPATH/src/sigs.k8s.io/cluster-api-provider-vsphere/clusterctl/examples/vsphere*, there are some example definition files. There is also a generate-yaml.sh file. Run the generate script and copy the .template file to the same name without the .template extensions.
In *$GOPATH/src/sigs.k8s.io/cluster-api-provider-vsphere/cmd/clusterctl/examples/vsphere*, there are some example definition files. There is also a generate-yaml.sh file. Run the generate script and copy the .template file to the same name without the .template extensions.
```
$> ./generate-yaml.sh
$> cp cluster.yaml.template cluster.yaml
Expand Down Expand Up @@ -132,4 +132,4 @@ To delete an existing target cluster, we use the kubeconfig file created during
$> clusterctl delete cluster --kubeconfig ./kubeconfig --cluster kubernetes -p provider-components.yaml --vm-driver vmware
```

The workflow for deleting the cluster is very similar to the workflow for creating the cluster. A bootstrap cluster is created using minikube. The bootstrap cluster is used to then delete the target cluster. On cleanup, the bootstrap cluster is removed.
The workflow for deleting the cluster is very similar to the workflow for creating the cluster. A bootstrap cluster is created using minikube. The bootstrap cluster is used to then delete the target cluster. On cleanup, the bootstrap cluster is removed.

0 comments on commit 0ba1127

Please sign in to comment.