perf-tests icon indicating copy to clipboard operation
perf-tests copied to clipboard

ClusterLoader:need to suport get etcd mtrics by cert file

Open keontang opened this issue 6 years ago • 6 comments

I have a v1.11.2 k8s cluster with an etcd cluster which enables auth by cert file. When i run clusterloader2, EtcdMetrics measurement failed to get etcd metrics by http:

https://github.com/kubernetes/perf-tests/blob/f7ae8630a0d06f5ecd141d5d08d3bfdb9cec4e88/clusterloader2/pkg/measurement/common/etcd_metrics.go#L100

func getEtcdMetrics(provider, host string) ([]*model.Sample, error) {

	...
       cmd := "curl http://localhost:2379/metrics"
	...

}

so, i think maybe we need to suport get etcd mtrics by cert file.

keontang avatar Oct 16 '18 14:10 keontang

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar Jan 14 '19 15:01 fejta-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten

fejta-bot avatar Feb 13 '19 15:02 fejta-bot

/remove-lifecycle rotten

wojtek-t avatar Feb 14 '19 19:02 wojtek-t

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot avatar May 15 '19 20:05 fejta-bot

/remove-lifecycle stale /lifecycle frozen

wojtek-t avatar May 16 '19 06:05 wojtek-t

If you use kubeadm to build the cluster, the metric port may not 2379. In my machine, it's 2381. you can use “ps aux | grep -P '/etc[d] ' ” to get in detail( pay attention to the “--listen-metrics-urls=”)

WangEP avatar Aug 03 '20 06:08 WangEP