使用 Java 操作 Kubernetes API
最后发布时间 : 2023-12-23 22:25:18
浏览量 :
学习资料
- https://github.com/kubernetes-client/java/
- https://github.com/fabric8io/kubernetes-client
- https://blog.csdn.net/fly910905/article/details/101345091
- https://blog.csdn.net/diyiday/article/details/128605828
查看 apiserver暴露的接口
kubectl api-versions --server=https://127.0.0.1:32774
admissionregistration.k8s.io/v1
apiextensions.k8s.io/v1
apiregistration.k8s.io/v1
apps/v1
authentication.k8s.io/v1
authorization.k8s.io/v1
autoscaling/v1
autoscaling/v2
batch/v1
certificates.k8s.io/v1
coordination.k8s.io/v1
discovery.k8s.io/v1
events.k8s.io/v1
flowcontrol.apiserver.k8s.io/v1beta2
flowcontrol.apiserver.k8s.io/v1beta3
networking.k8s.io/v1
node.k8s.io/v1
policy/v1
rbac.authorization.k8s.io/v1
scheduling.k8s.io/v1
storage.k8s.io/v1
v1
kubectl config current-context --server=http://127.0.0.1:32774
# minikube