代理路由
在 DC/OS 代理节点上运行的 Admin Router。
在 DC/OS 代理节点上运行的 Admin Router 代理。它公开以下 API 路由。
-
Admin Router 代理侦听端口
61001
(HTTP)。 -
DC/OS Enterprise 添加了组件通信的可选 SSL 加密,选用之后,Admin Router 代理也会侦听端口
61002
(HTTPS)。
-
## Authentication
Show/Hide
-
### Proxy/internal/acs/api/v1/internal/policyquery
Access Control Service policy query (internal-only)
Rewrite: Regex: ^/internal/(.)
Replacement: /$1
Type: break
Proxy: Path: $upstream_iam
-
### Proxy/internal/acs/api/v1/internal/policyquery
Access Control Service policy query (internal-only)
-
## Metadata
Show/Hide
-
### File/dcos-metadata/dcos-version.json
DC/OS version (unauthenticated)
Path: /opt/mesosphere/active/dcos-metadata/etc/dcos-version.json
-
### File/dcos-metadata/dcos-version.json
DC/OS version (unauthenticated)
-
## Pkgpanda
Show/Hide
-
### Proxy/pkgpanda/
DC/OS component package management
Path: http://$backend
Server: unix:/run/dcos/pkgpanda-api.sock
Backend: DC/OS Component Package Manager (Pkgpanda) API Reference: https://docs.d2iq.com/mesosphere/dcos/2.0/administering-clusters/component-management/
-
### Proxy/pkgpanda/
DC/OS component package management
-
## System
Show/Hide
-
### Proxy/system/health/v1
Component service status
Path: http://$backend
Server: unix:/run/dcos/dcos-diagnostics.sock
Backend: DC/OS Diagnostics API Reference: https://docs.d2iq.com/mesosphere/dcos/2.0/monitoring/#system-health-http-api-endpoint -
### Proxy/system/v1/logs/
Node, component service, and container (task) logs
Path: http://$backend
Server: unix:/run/dcos/dcos-log.sock
Backend: DC/OS Log API Reference: https://docs.d2iq.com/mesosphere/dcos/2.0/monitoring/logging/logging-reference/ -
### Proxy/system/v1/logs/v1/(?<type>range|stream)/framework/(?<framework>.?)/executor/(?<executor>.?)/container/(?<container>.?)
Container (task) logs
Path: http://$backend
Server: unix:/run/dcos/dcos-log.sock
Backend: DC/OS Log API Reference: https://docs.d2iq.com/mesosphere/dcos/2.0/monitoring/logging/logging-reference/ -
### Proxy/system/v1/metrics/
Node, container, and application metrics
Path: http://$backend
Server: unix:/run/dcos/dcos-metrics-agent.sock
Backend: DC/OS Metrics API Reference: https://docs.d2iq.com/mesosphere/dcos/2.0/metrics/metrics-api/
-
### Proxy/system/health/v1
Component service status