tnk-studio / lazykube Goto Github PK
View Code? Open in Web Editor NEW⎈ The lazier way to manage kubernetes.
Home Page: https://tnk-studio.github.io/lazykube.tnk-studio.org/
License: Apache License 2.0
⎈ The lazier way to manage kubernetes.
Home Page: https://tnk-studio.github.io/lazykube.tnk-studio.org/
License: Apache License 2.0
Need a way to change the colors and keybindings (similar to lazygit).
问题描述:
日志在一些 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
部署了Sidecar的pod看log不准确
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
replace
directive in go.mod file.clone & go build
.PS:
README.md need be updated: $ go get -u github.com/TNK-Studio/lazykube
doesn't work.
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
目前安装脚本会自动安装在 /usr/bin 下,按照 linux 目前的习惯看,自行安装的软件放在 /usr/local/bin 比较好。
// Todo
I want get a pod the last item log and NO need srcoll to End ,just like linux tail command
你好~
当前生产环境的context: namespaces is forbidden: User "***" cannot list resource "namespaces" in API group "" at the cluster scope
是否可以获得config中context中的namespace设置为lazykube中默认的namespace。否则目前我们生产环境的权限设置无法使用lazykube。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.