Skip to content

Kubernetes service to list nodes in descending order by number of pods

License

Notifications You must be signed in to change notification settings

m4dh4tt3r/nodes-svc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a kubernetes service that runs in a pod and listens on port 80.
When the service is queried, it lists the nodes in a kubernetes cluster
in descneding order by number of pods running.

To build and package the app as a docker container, execute the following:

$ GOOS=linux go build -o app k8s-nodes-svc.go
$ docker build -t nodes-svc .

About

Kubernetes service to list nodes in descending order by number of pods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published