Simple app to deploy a pod to kubernetes cluster from getting user inputs through UI. It uses kubeconfig from the machine it is accessed.
The motivation for creating this project is to get familiarize with client-go and to learn go web programming.
- Running kubernetes cluster and kube config available in the machine
- Since pre-built binary is not included you need to build yourself hence you need to have go
1.16+
installed in your system
Build the application
git clone https://github.com/kube-go/pod-deployer.git
cd pod-deployer
go build
./pod-deployer
DATE=$(date +"%Y%m%d")
docker build . -t pod-deployer:$DATE
Note: Mounted kube context directory as volume in container
docker run -p 8080:8080 -v $HOME/.kube:/home/deployer/.kube pod-deployer:$DATE
-
Provide exact reason for failure in UI
-
Option to view pod status, description, logs in UI
-
Include binary