Skip to content
forked from diginex/ca

Docker image to admin Kubernetes Cluster currently support Amazon EKS.

Notifications You must be signed in to change notification settings

josiahchoi/k8s-admin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Cluster admin docker

Supported Cluster

  • Amazon EKS

Supported Cluster Command

  • aws
  • kubectl
  • helm
  • linkerd

Configure

// todo docker run -it diginex/k8s-admin init | sh

Usage

docker run -it -v $HOME/.k8s-admin/cluster.conf:/conf/cluster.conf diginex/k8s-admin <<command>>

Example Command

docker run -it -v $HOME/.k8s-admin/cluster.conf:/conf/cluster.conf diginex/k8s-admin kubectl get pods
docker run -it -v $HOME/.k8s-admin/cluster.conf:/conf/cluster.conf diginex/k8s-admin linkerd version
docker run -it -v $HOME/.k8s-admin/cluster.conf:/conf/cluster.conf diginex/k8s-admin aws
docker run -it -v $HOME/.k8s-admin/cluster.conf:/conf/cluster.conf diginex/k8s-admin helm version

// todo see if we can do docker run diginex/k8s-admin | sh kubectl get pods to eliminate the need of mount and -it.

Proxy connection to the cluster

docker run -it -v $HOME/.k8s-admin/cluster.conf:/conf/cluster.conf -p 8080:8080 diginex/k8s-admin kubectl proxy --address 0.0.0.0 --accept-hosts '.*' --port 8080

// todo see if we can do something like this: docker run diginex/k8s-admin proxy | sh

Dashbaord

Linkerd

http://127.0.0.1:8080/api/v1/namespaces/linkerd/services/web:http/proxy/

Grafana

http://127.0.0.1:8080/api/v1/namespaces/linkerd/services/grafana:http/proxy/

About

Docker image to admin Kubernetes Cluster currently support Amazon EKS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 50.2%
  • Shell 49.8%