Skip to content

Container image with network tools for troubleshooting Kubernetes clusters

License

Notifications You must be signed in to change notification settings

taraszka/nettools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

nettools

Works out of the box for x86 and arm64

Container image with network tools for troubleshooting Kubernetes clusters

To check some networking issues in a cluster:

kubectl run -it --image=ktaraszk/nettools nettools --restart=Never --namespace=default

Or you can keep the following yaml file handy and run it in a pod

kubectl apply -f nettools.yaml

and login to the container

kubectl exec -it nettools bash --namespace=default

Pod template example:

apiVersion: v1
kind: Pod
metadata:
  name: nettools
  namespace: default
spec:
  containers:
  - name: nettools
    image: ktaraszk/nettools:latest
    command:
      - sleep
      - "3600"
    imagePullPolicy: IfNotPresent
  restartPolicy: Never

If you just want to use the network tools on a docker host:

docker run -it ktaraszk/nettools

About

Container image with network tools for troubleshooting Kubernetes clusters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%