GithubHelp home page GithubHelp logo

tnk-studio / lazykube Goto Github PK

View Code? Open in Web Editor NEW
512.0 9.0 44.0 3.63 MB

⎈ The lazier way to manage kubernetes.

Home Page: https://tnk-studio.github.io/lazykube.tnk-studio.org/

License: Apache License 2.0

Go 99.35% Shell 0.65%
kubernetes tools terminal console gui lazy mouse management

lazykube's Introduction

lazykube

lazykube

Go Report Card GitHub repo size GitHub all releases GitHub tag (latest by date) (English Document | 中文文档)

gif

You can see more examples here. (More Demo)

Installation

Mac Homebrew

Install

$ brew install tnk-studio/tools/lazykube

Upgrade

$ brew upgrade tnk-studio/tools/lazykube

Linux

$ curl https://raw.githubusercontent.com/TNK-Studio/lazykube/main/scripts/install_update_linux.sh | bash

Windows

Release page download (link).

Go get

$ go get -u github.com/TNK-Studio/lazykube

How to use

$ lazykube

FAQ

  • When using iterm2 as a terminal, mouse clicks cannot be used ?

iterm2-enable-mouse-reporting

Change log

CHANGELOG

lazykube's People

Contributors

elfgzp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lazykube's Issues

How to install lazykube with go command

I want to install lazykube with go command and find these issue:

➜ go install github.com/TNK-Studio/lazykube/cmd/lazykube@latest
go install github.com/TNK-Studio/lazykube/cmd/lazykube@latest: github.com/TNK-Studio/[email protected]
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

~
➜ go get github.com/TNK-Studio/lazykube/cmd/lazykube
# github.com/TNK-Studio/lazykube/pkg/gui
9tool/go/pkg/mod/github.com/!t!n!k-!studio/[email protected]/pkg/gui/view.go:97:9: view.v.MouseDisable undefined (type *gocui.View has no field or method MouseDisable)
9tool/go/pkg/mod/github.com/!t!n!k-!studio/[email protected]/pkg/gui/view.go:99:9: view.v.OnCursorChange undefined (type *gocui.View has no field or method OnCursorChange)
# github.com/moby/term
9tool/go/pkg/mod/github.com/moby/[email protected]/tc.go:13:28: undefined: unix.SYS_IOCTL
9tool/go/pkg/mod/github.com/moby/[email protected]/tc.go:18:28: undefined: unix.SYS_IOCTL
9tool/go/pkg/mod/github.com/moby/[email protected]/termios_bsd.go:24:31: undefined: unix.SYS_IOCTL
9tool/go/pkg/mod/github.com/moby/[email protected]/termios_bsd.go:37:31: undefined: unix.SYS_IOCTL

~ took 8s
➜ go version
go version go1.16 darwin/amd64
  1. go install command seems like it doesn't allow replace directive in go.mod file.
  2. go get command seems like Mouse, Cursor ... gui things which i don't know, and can't find solution with google.
    I have done it by clone & go build.

PS:
README.md need be updated: $ go get -u github.com/TNK-Studio/lazykube doesn't work.

Config file

Need a way to change the colors and keybindings (similar to lazygit).

How get pod log

I want get a pod the last item log and NO need srcoll to End ,just like linux tail command

How to specify the right server and port?

A93D6548-4B06-4515-B0EF-7944001835F8
FA3272DC-3255-4EFD-B38E-06EFECEC0CC1

as the pic shows, I have a k3s node, but the lazykube connect to 8080, which caused the connection refused. Doesn't it need to listen 6443 as default or some ports else? How can I fix this situation

bug: 在某些情况下,日志会不停闪烁

问题描述:
日志在一些 pod 上显示异常,不停 “闪烁”
有 sidecar 的pod 均会出现这样的状况

问题触发:
有 sidecar 的 pod (包括 Istio sidecar 和 mongo sidecar)
calico 的日志

也许有用的解决方案:
也许可以通过:设定某个 pod 单独显示某个 container 的日志,来解决问题

使用环境:
Ubuntu: 18.04
Kubernetes: v1.18.0
Istio: v1.7.2
bash: zsh with oh-my-zsh
shell-software: windows-terminal
font-face: Cascadia Code PL

Respect KUBECONFIG

I have set env variable to define k8s paths

export KUBECACHEDIR="${XDG_CACHE_DIR}/kube"
export KUBECONFIG="${XDG_CONFIG_DIR}/kube/config"

but after lazykube opened, it created those dirs in my home dir

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.