Coder Social home page Coder Social logo

unable to run ktail about ktail HOT 8 CLOSED

atombender avatar atombender commented on May 23, 2024
unable to run ktail

from ktail.

Comments (8)

atombender avatar atombender commented on May 23, 2024 1

I see your problem now; you have two files in your KUBECONFIG path. I've just pushed a fix tagged as 1.3.1 that should fix this. Also, the version printed on --version was out of date.

from ktail.

atombender avatar atombender commented on May 23, 2024

That's an old version. Try installing the latest one.

from ktail.

lakamsani avatar lakamsani commented on May 23, 2024

That run was from the binary installed using hombrew instructions.

Jut pulled the latest from the main branch and built it. Shows the same version and has the same error.

➜  ktail git:(main) git remote -v
origin	https://github.com/atombender/ktail (fetch)
origin	https://github.com/atombender/ktail (push)
➜  ktail git:(main) go build
➜  ktail git:(main) ./ktail --version
ktail 1.0.1

Should I build from a different branch?

from ktail.

lakamsani avatar lakamsani commented on May 23, 2024

Another engineer on my team is seeing the same problem.

from ktail.

atombender avatar atombender commented on May 23, 2024

Your Homebrew must be out of date, and you must have forgotten to do a git pull.

You have to do one of the following:

  • brew up && brew upgrade ktail
  • git pull && go build -o ktail .
  • Download one of the binaries from the releases page

from ktail.

lakamsani avatar lakamsani commented on May 23, 2024

I cloned this repo for the first time today. So git pull is not the issue. https://github.com/atombender/ktail/blob/v1.3.0/version.go#L7 still shows 1.0.1 although the releases directory shows 1.3.0. Anyways, neither local build nor binary download work. We will look into using stern or kubetail unless you have any other suggestions to try. Thanks.

from ktail.

lakamsani avatar lakamsani commented on May 23, 2024

We are using go version go1.19.1 darwin/amd64 btw.

from ktail.

lakamsani avatar lakamsani commented on May 23, 2024

That works. Thank you very much.

from ktail.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.