Kubernetes

Kubernetes REST API

2019-11-28  本文已影响0人  王勇1024

API列表

/api
/api/v1
/apis
/apis/
/apis/admissionregistration.k8s.io
/apis/admissionregistration.k8s.io/v1beta1
/apis/apiextensions.k8s.io
/apis/apiextensions.k8s.io/v1beta1
/apis/apiregistration.k8s.io
/apis/apiregistration.k8s.io/v1
/apis/apiregistration.k8s.io/v1beta1
/apis/apps
/apis/apps/v1
/apis/apps/v1beta1
/apis/apps/v1beta2
/apis/authentication.k8s.io
/apis/authentication.k8s.io/v1
/apis/authentication.k8s.io/v1beta1
/apis/authorization.k8s.io
/apis/authorization.k8s.io/v1
/apis/authorization.k8s.io/v1beta1
/apis/autoscaling
/apis/autoscaling/v1
/apis/autoscaling/v2beta1
/apis/autoscaling/v2beta2
/apis/batch
/apis/batch/v1
/apis/batch/v1beta1
/apis/certificates.k8s.io
/apis/certificates.k8s.io/v1beta1
/apis/coordination.k8s.io
/apis/coordination.k8s.io/v1beta1
/apis/events.k8s.io
/apis/events.k8s.io/v1beta1
/apis/extensions
/apis/extensions/v1beta1
/apis/networking.k8s.io
/apis/networking.k8s.io/v1
/apis/policy
/apis/policy/v1beta1
/apis/rbac.authorization.k8s.io
/apis/rbac.authorization.k8s.io/v1
/apis/rbac.authorization.k8s.io/v1beta1
/apis/scheduling.k8s.io
/apis/scheduling.k8s.io/v1beta1
/apis/storage.k8s.io
/apis/storage.k8s.io/v1
/apis/storage.k8s.io/v1beta1
/healthz
/healthz/autoregister-completion
/healthz/etcd
/healthz/log
/healthz/ping
/healthz/poststarthook/apiservice-openapi-controller
/healthz/poststarthook/apiservice-registration-controller
/healthz/poststarthook/apiservice-status-available-controller
/healthz/poststarthook/bootstrap-controller
/healthz/poststarthook/ca-registration
/healthz/poststarthook/generic-apiserver-start-informers
/healthz/poststarthook/kube-apiserver-autoregistration
/healthz/poststarthook/rbac/bootstrap-roles
/healthz/poststarthook/scheduling/bootstrap-system-priority-classes
/healthz/poststarthook/start-apiextensions-controllers
/healthz/poststarthook/start-apiextensions-informers
/healthz/poststarthook/start-kube-aggregator-informers
/healthz/poststarthook/start-kube-apiserver-admission-initializer
/logs
/metrics
/openapi/v2
/swagger-2.0.0.json
/swagger-2.0.0.pb-v1
/swagger-2.0.0.pb-v1.gz
/swagger.json
/swaggerapi
/version

/api/v1

path 说明 操作
/api
/api/v1 所有HTTP API
/api/v1/bindings 绑定信息 create
/api/v1/componentstatuses 组件状态 get,list
/api/v1/configmaps 配置信息 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/endpoints 站点 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/events 事件 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/limitranges 限制条件 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/namespaces 命名空间 create,delete,get,list,patch,update,watch
/api/v1/namespaces/finalize 命名空间 update
/api/v1/namespaces/{namespace}/status 命名空间 get,patch,update
/api/v1/nodes 节点 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/nodes/proxy 节点代理 create,delete,get,patch,update
/api/v1/nodes/{node_name}/status 节点状态 get,patch,update
/api/v1/persistentvolumeclaims 磁盘卷 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/persistentvolumeclaims/status 磁盘卷状态 get,patch,update
/api/v1/persistentvolumes 磁盘卷 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/persistentvolumes/status 磁盘卷状态 get,patch,update
/api/v1/pods Pod create,delete,deletecollection,get,list,patch,update,watch
/api/v1/namespaces/{namespace}/pods/{pod_name} Pod create,delete,get,patch,update
/api/v1/pods/attach Pod绑定 create,get
/api/v1/pods/binding Pod绑定 create
/api/v1/pods/eviction Pod迁移 create
/api/v1/pods/exec Pod绑定 create,get
/api/v1/pods/log Pod日志 get
/api/v1/pods/portforward Pod日志 create,get
/api/v1/pods/proxy Pod create,delete,get,patch,update
/api/v1/pods/status Pod get,patch,update
/api/v1/podtemplates Pod模板 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/replicationcontrollers 副本控制器 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/replicationcontrollers/scale 扩容和缩容 get,patch,update
/api/v1/replicationcontrollers/status 副本控制器状态 get,patch,update
/api/v1/resourcequotas 资源配额控制器 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/resourcequotas/status 资源配额控制器状态 get,patch,update
/api/v1/secrets 秘钥 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/serviceaccounts 服务账户 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/services 服务 create,delete,deletecollection,get,list,patch,update,watch
/api/v1/services/proxy 服务代理 create,delete,get,patch,update
/api/v1/services/status 服务状态 get,patch,update
上一篇下一篇

猜你喜欢

热点阅读