Comments (4)
@qiujian16 thx, here's a few subcommands around cluster-proxy i can think of:
clusteradm proxy status
: listing the current installation status of anp servers/agent. not only the healthiness of the agents/servers will be display, but also the cluster-proxy addon-agent will be reporting the stats to each of cluster namespace by scraping the prometheus metrics.
a sample of agent's metrics will be:
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.005"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.025"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.1"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.5"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="2.5"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="10"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="30"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="+Inf"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_sum 0.07393422000000001
konnectivity_network_proxy_agent_dial_duration_seconds_count 18
as for the server, a sample will be:
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="1e-06"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="1e-05"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.0001"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.005"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.025"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.1"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.5"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="2.5"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="12.5"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="+Inf"} 19
konnectivity_network_proxy_server_dial_duration_seconds_sum 0.16960626900000003
konnectivity_network_proxy_server_dial_duration_seconds_count 19
# HELP konnectivity_network_proxy_server_frontend_write_duration_seconds Latency of write to the frontend in seconds
# TYPE konnectivity_network_proxy_server_frontend_write_duration_seconds histogram
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="1e-06"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="1e-05"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.0001"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.005"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.025"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.1"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.5"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="2.5"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="12.5"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="+Inf"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_sum 3.202300000000001e-05
konnectivity_network_proxy_server_frontend_write_duration_seconds_count 168
# HELP konnectivity_network_proxy_server_grpc_connections Number of current grpc connections, partitioned by service method.
# TYPE konnectivity_network_proxy_server_grpc_connections gauge
konnectivity_network_proxy_server_grpc_connections{service_method="Connect"} 3
konnectivity_network_proxy_server_grpc_connections{service_method="Proxy"} 0
# HELP konnectivity_network_proxy_server_http_connections Number of current HTTP CONNECT connections
# TYPE konnectivity_network_proxy_server_http_connections gauge
konnectivity_network_proxy_server_http_connections 0
# HELP konnectivity_network_proxy_server_pending_backend_dials Current number of pending backend dial requests
# TYPE konnectivity_network_proxy_server_pending_backend_dials gauge
konnectivity_network_proxy_server_pending_backend_dials 0
# HELP konnectivity_network_proxy_server_ready_backend_connections Number of konnectivity agent connected to the proxy server
# TYPE konnectivity_network_proxy_server_ready_backend_connections gauge
konnectivity_network_proxy_server_ready_backend_connections 3
clusteradm proxy health <clustername>
: probing the/healthz
via the cluster-proxyclusteradm proxy top
: similar tokubectl top node/pod
, but in the dimension of managed clusters
from clusteradm.
/assign @yue9944882
/assign @xuezhaojun
from clusteradm.
this has been done actually
/close
from clusteradm.
@qiujian16: Closing this issue.
In response to this:
this has been done actually
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from clusteradm.
Related Issues (20)
- Support proxy settings between hub and managed cluster HOT 2
- clusteradm proxy kubectl does not allow multiple clusters HOT 1
- clusteradm proxy kubectl does not work HOT 1
- Support join cluster with auto-approve HOT 4
- Re-init doesn't work well HOT 3
- Support grant extra permisson for the work agent
- upgrade fails with exception
- Bogus warning "cluster.open-cluster-management.io/v1beta1 ManagedClusterSet is deprecated" HOT 5
- Make `clusteradm accept` idempotent
- clusteradm join --wait does not wait until the cluster is joined HOT 3
- `clusteradm join --dry-run` error and output missing manifests HOT 5
- Support a dependencies table in release page
- Support `clusteradm update` for CLI itself
- Creation of Agent Namespace is different from rest of the Klusterlet resources HOT 4
- Can the hub be imported as a managed cluster? HOT 4
- Clusteradm connectivity through alternative proxy, failing for v8.2 HOT 5
- Failed to sync secrets to clusterManager namespace open-cluster-management-hub HOT 4
- warning event of FailedToRetrieveImagePullSecret HOT 1
- Support passing `enable-sync-labels` flag HOT 2
- Add --client-cert-expiration-seconds option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clusteradm.