Network Test UI provides a user-friendly, web-based interface for essential network diagnostics, allowing users to Check connectivity, ports, HTTP status, domains, and databases without needing CLI expertise.
This was a personal project aimed at assessing connectivity across subnetworks once firewall access was authorized and implemented. The container image makes it easy to deploy it on managed services such as EKS, AKS, App Services & ECS.
You can run it directly on your local machine either using Docker/Podman or by executing Go commands.
go run main.go
docker run -it --rm -p 9091:9091 ghcr.io/rdev2021/network-test:latest
http://localhost:9091/home/ to launch the home page of the application.
The sample below shows NodePort services however use proper Ingress in an actual K8s environment.
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: network-test
spec:
replicas: 1
selector:
matchLabels:
app: network-test
template:
metadata:
labels:
app: network-test
spec:
containers:
- name: network-test
image: ghcr.io/rdev2021/network-test:latest
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: network-test-service
spec:
type: NodePort
selector:
app: network-test
ports:
- port: 80
targetPort: 80
nodePort: 30007 # Change to desired NodePort in the range 30000-32767