Skip to content

Command 'kind' not found, #1553

Closed
Closed
@may101

Description

@may101

I followed installation steps from QuickStart Kind but still have an issue with kind not found.
Here some information :
1- go version go1.10.4 linux/amd64
2-kubectl version --client

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

The issue :

$ kind create cluster

Command 'kind' not found, did you mean:

command 'find' from deb findutils
command 'kino' from deb kino
command 'king' from deb king
command 'kfind' from deb kfind
command 'kid' from deb python-kid

Try: sudo apt install

Any advice on how to solve this issue?

Activity

added
kind/supportCategorizes issue or PR as a support question.
on May 2, 2020
artur-jablonski

artur-jablonski commented on May 2, 2020

@artur-jablonski

This is most likely because you don't have kind on your path.

If you followed the quick start then there's this step:

mv ./kind /some-dir-in-your-PATH/kind

Where did you move it to?

You can try ./kind create cluster from directory where you downloaded kind.

may101

may101 commented on May 2, 2020

@may101
Author

Hi

Thank you for your reply. Still, I am not sure about that
when I installed kind by curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.8.0/kind-$(uname)-amd64
it installed in the same directory, please see the attache image
issue

may101

may101 commented on May 2, 2020

@may101
Author

You can try ./kind create cluster from directory where you downloaded kind.

Yes I tried that it shows the following :
issue2

may101

may101 commented on May 2, 2020

@may101
Author

any advice on how can I solve the issue?

artur-jablonski

artur-jablonski commented on May 2, 2020

@artur-jablonski

You have a typo in your command. It's create not creat

may101

may101 commented on May 2, 2020

@may101
Author

Its works now, I can't believe it was a typo
Thank you so much @artur-jablonski for your help

may101

may101 commented on May 2, 2020

@may101
Author

Still, I couldn't make it to move "kind" to my path

> mv ./kind /some-dir-in-your-PATH/kind
I am not sure how to do this step mv and use kind instead of ./kind ,
Based on previous images of my direct path, can you give me an example of how to move ./kind?

BenTheElder

BenTheElder commented on May 2, 2020

@BenTheElder
Member

replace /some-dir-in-your-PATH with the directory you'd like to install it to which must be in your PATH.

These aren't fully standard so we leave it up to you to choose

artur-jablonski

artur-jablonski commented on May 2, 2020

@artur-jablonski

sudo mv ./kind /usr/local/bin/kind

may101

may101 commented on May 2, 2020

@may101
Author

Thank you all for your help,
Yes ! It works now, I been able now to use kind command instead of ./kind

asok-mirror

asok-mirror commented on Aug 9, 2021

@asok-mirror

wish the document to be updated with the above command.

https://kind.sigs.k8s.io/docs/user/quick-start/

BenTheElder

BenTheElder commented on Aug 9, 2021

@BenTheElder
Member

mv is in the above doc. There isn't technically a universal PATH location however.

mrizwanashiq

mrizwanashiq commented on Mar 16, 2022

@mrizwanashiq

sudo mv ./kind /usr/local/bin/kind

This Worked for me, thanks artur-jablonski

9 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/supportCategorizes issue or PR as a support question.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @BenTheElder@asok-mirror@bryanSME@mrizwanashiq@artur-jablonski

      Issue actions

        Command 'kind' not found, · Issue #1553 · kubernetes-sigs/kind