cloud-bulldozer / k8s-netperf

Running Networking Performance Tests against K8s
Apache License 2.0
28 stars 18 forks source link

integrating with go-commons opensearch #63

Closed vishnuchalla closed 1 year ago

vishnuchalla commented 1 year ago

Description

Integrating with opensearch client in go-commons.

Testing

Tested integrating with commons.

[vchalla@vchalla k8s-netperf]$ ./bin/amd64/k8s-netperf --search "https://search-perfscale-dev-chmf5l4sh66lvxbnadi4bznl3a.us-west-2.es.amazonaws.com:443" --uuid "vchalla-test"
INFO[2023-04-26 11:42:03] 📒 Reading netperf.yml file.                  
INFO[2023-04-26 11:42:03] 🔬 openshift-monitoring namespace found       
WARN[2023-04-26 11:42:05] ⚠️  Single node per zone                     
INFO[2023-04-26 11:42:05] Deploying in us-west-2c zone                 
INFO[2023-04-26 11:42:05] ♻️  Using existing Service                   
INFO[2023-04-26 11:42:05] ♻️  Using existing Service                   
INFO[2023-04-26 11:42:06] ♻️  Using existing Deployment                
INFO[2023-04-26 11:42:06] ⏰ Checking for client-across Pods to become ready... 
INFO[2023-04-26 11:42:07] ♻️  Using existing Deployment                
INFO[2023-04-26 11:42:07] ⏰ Checking for server Pods to become ready... 
INFO[2023-04-26 11:42:08] 🗒️  Running netperf TCP_STREAM (service false) for 10s 
INFO[2023-04-26 11:42:26] 📁 Creating indexer: opensearch               
INFO[2023-04-26 11:42:28] Connected to : https://search-perfscale-dev-chmf5l4sh66lvxbnadi4bznl3a.us-west-2.es.amazonaws.com:443 
INFO[2023-04-26 11:42:28] Indexing [1] documents in k8s-netperf        
INFO[2023-04-26 11:42:28] Indexing finished in 111ms: created=1        
+-------------------+---------+------------+-------------+--------------+---------+--------------+-----------+----------+---------+--------------------+--------------------------+
|    RESULT TYPE    | DRIVER  |  SCENARIO  | PARALLELISM | HOST NETWORK | SERVICE | MESSAGE SIZE | SAME NODE | DURATION | SAMPLES |     AVG VALUE      | 95% CONFIDENCE INTERVAL  |
+-------------------+---------+------------+-------------+--------------+---------+--------------+-----------+----------+---------+--------------------+--------------------------+
| 📊 Stream Results | netperf | TCP_STREAM | 1           | false        | false   | 1024         | false     | 10       | 1       | 4808.110000 (Mb/s) | 0.000000-0.000000 (Mb/s) |
+-------------------+---------+------------+-------------+--------------+---------+--------------+-----------+----------+---------+--------------------+--------------------------+
vishnuchalla commented 1 year ago

lgtm, need to test locally.

You mention TODO is that still relevant?

TODO is not relevant anymore. Updated the description. Please go ahead with the local testing.