Difference between revisions of "Loadbalancers"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 34: Line 34:
 
# Simple k8s metrics
 
# Simple k8s metrics
  
kubectl top node/pod
+
# kubectl top node/pod
 +
 
 +
```
 +
while true; do kubectl top node; sleep 1; done
 +
while true; do kubectl top pod -n default; sleep 1; done
 +
while true; do kubectl top pod -A; sleep 1; done
 +
```
 +
 
 
```
 
```
 
CPU(cores)
 
CPU(cores)

Revision as of 21:19, 17 February 2023

Performance & Comparisons

Perf Tests

Migrations

Repsonces

haproxy

HTTP(S) Performance Testing Tools

Apache Benchmark Tool

apt-get install apache2-utils
ab -c 2500 -n 5000 https://demo.uvoo.io/

ddosify

Simple k8s metrics

kubectl top node/pod

while true; do kubectl top node; sleep 1; done
while true; do kubectl top pod -n default; sleep 1; done
while true; do kubectl top pod -A; sleep 1; done
CPU(cores)
338m means 338 millicpu. 1000m is equal to 1 CPU, hence 338m means 33.8% of 1 CPU.
CPU%
It is displayed only for nodes, and it stands for the total CPU usage percentage of that node.
Memory
Memory being used by that node
Memory%
It is also displayed only for nodes, and it stands for total memory usage percentage of that node.