Table of Contents
The kubectl Java plugin will make your life easier while developing Java application with k8s:
- find pods that running java application
- jvm thread dump (👨🏻💻 working now)
- export jvm debug port and do port-forward directly
- more future...
- Kubernetes Environment
- Go sdk (optional)
- For developer
git clone [email protected]:Ubisoft-potato/kubectl-java.git
cd kubectl-java
make build
then, you can find executable binary in bin
dir
- find pods that running java application in your cluster
kubectl-java list
output will look like:
context:dev namespace:dev maserURL:https://192.168.123.123:6443
NAME NODE STATUS CONTAINERS JDK
user-service-64d4f59c54-w9rwr dev-01 Running [user-service] openjdk version "1.8.0_232"
order-service-5654856bf6-9qb26 dev-01 Running [order-service] openjdk version "1.8.0_232"
chat-service-58fd5b4bf-gq8wz dev-01 Running [chat-service] openjdk version "1.8.0_232"
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Anti 996-License-1.0 License. See LICENSE
for more information.
Project Link: https://github.com/Ubisoft-potato/kubectl-java