Skip to content

Commit

Permalink
Merge pull request #63 from pdettori/issue-61
Browse files Browse the repository at this point in the history
🐛 fix issue-61 and improve docs
  • Loading branch information
pdettori authored Jul 11, 2023
2 parents 120dc46 + 21a03b6 commit 4753ef8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ A flexible and scalable platform for running Kubernetes control plane APIs.

## Installation

[kind](https://kind.sigs.k8s.io) is required. Note that we plan to add support
for other Kube distros. Note that a hosting kind cluster is created automatically
by the kubeflex CLI.
[kind](https://kind.sigs.k8s.io) and [kubectl](https://kubernetes.io/docs/tasks/tools/) are
required. Note that we plan to add support for other Kube distros. A hosting kind cluster
is created automatically by the kubeflex CLI.

Download the latest kubeflex CLI binary release for your OS/Architecture from the
[release page](https://github.com/kubestellar/kubeflex/releases) and copy it
Expand Down
3 changes: 1 addition & 2 deletions cmd/kflex/init/cluster/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ type KindConfig struct {
}

func checkIfKindInstalled() (bool, error) {
cmd := exec.Command("command", "-v", "kind")
err := cmd.Run()
_, err := exec.LookPath("kind")
if err != nil {
return false, fmt.Errorf("failed to check kind is installed: %v", err)
}
Expand Down
6 changes: 3 additions & 3 deletions docs/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Installation

[kind](https://kind.sigs.k8s.io) is required. Note that we plan to add support
for other Kube distros. A hosting kind cluster is created automatically
by the kubeflex CLI.
[kind](https://kind.sigs.k8s.io) and [kubectl](https://kubernetes.io/docs/tasks/tools/) are
required. Note that we plan to add support for other Kube distros. A hosting kind cluster
is created automatically by the kubeflex CLI.

Download the latest kubeflex CLI binary release for your OS/Architecture from the
[release page](https://github.com/kubestellar/kubeflex/releases) and copy it
Expand Down

0 comments on commit 4753ef8

Please sign in to comment.