mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
local-up: Add option to guess binary path
This commit is contained in:
@@ -102,6 +102,12 @@ hack/local-up-cluster.sh
|
||||
This will build and start a lightweight local cluster, consisting of a master
|
||||
and a single node. Type Control-C to shut it down.
|
||||
|
||||
If you've already compiled the Kubernetes components, then you can avoid rebuilding them with this script by using the `-O` flag.
|
||||
|
||||
```sh
|
||||
./hack/local-up-cluster.sh -O
|
||||
```
|
||||
|
||||
You can use the cluster/kubectl.sh script to interact with the local cluster. hack/local-up-cluster.sh will
|
||||
print the commands to run to point kubectl at the local cluster.
|
||||
|
||||
|
Reference in New Issue
Block a user