Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

K8S 控制台, 配备: kubectl/helm/stern/rbac-lookup/kubectx/kube-ps1等https://gitee.com/infrastlabs/kube-cmd

License

NotificationsYou must be signed in to change notification settings

infrastlabs/kube-cmd

Repository files navigation

软件配套

  • kubectl
  • kubectx
  • kube-ps1
  • helm
  • stern
组件版本URL链接说明
kubectlv1.14.6https://github.com/kubernetes/kubectl简写kc,AutoCompletion,-k 支持kustomize
kubectxmasterhttps://github.com/ahmetb/kubectxkkx/kkn 切换集群 切换NS
kube-ps1masterhttps://github.com/jonmosco/kube-ps1控制台信息显示
helmv2.14.3https://github.com/helm/helm简写hm,AutoCompletion, tiller本地模式
sternv1.10.0https://github.com/wercker/stern简写sn,AutoCompletion, 多POD日志实时查看

update

KUBE_LATEST_VERSION=v1.23.15#v1.17.5 #v1.14.1 #v1.11.6RBAC_VER="0.5.0"# HELM_VERSION="v2.16.6" #"v2.14.3" #"v2.9.1"# STERN_VER="1.11.0" #1.10.0# KUSZ_VER="v3.5.4" #2.0.3

QuickStart

  • 临时用:在Master节点挂着kubeconfig,命令拉起容器 直接操作

    • docker run -it --rm -v /root/.kube/:/root/.kube --net=host --entrypoint=bash registry.cn-shenzhen.aliyuncs.com/infrastlabs/kube-cmd:v1.0 #207.277 MB
    • docker run -it --rm -v /root/.kube:/root/.kube --net=host --entrypoint=bash registry.cn-shenzhen.aliyuncs.com/infrastlabs/kube-cmd:v2.0 #75.612 MB
  • 正式用:结合rbac-auth生成的多用户配置,docker-compose拉起容器,容器内跑ssh,配备多用户与集群用户对应

    • dcp up -d 通过docker-compose拉起

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp