Sign inSign up

hereshem/k9s-webshell

By hereshem

Updated 10 months ago

k9s in web for developers

Image
Networking
Developer tools
Web servers
0

1.2K

hereshem/k9s-webshell repository overview

Parameters

  • KUBECONFIG - base 64 encoded kubeconfig file
  • PORT - port in which webshell serves
  • CREDENTIALS - basic authentication for the shell in format "user:password"

Examples

  • Create base64 encoded value from kubeconfig
KCFG_B64=$(base64 -w0 ~/.kube/config)
  • Run docker using the env params
docker run --rm -it --network=host -e PORT="8001" -e KUBECONFIG="$KCFG_B64" -e CREDENTIALS="admin:secret" hereshem/k9s-webshell

Tag summary

Content type

Image

Digest

sha256:5299bb4db

Size

64.7 MB

Last updated

10 months ago

docker pull hereshem/k9s-webshell