新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
6
learn/learn-kubernetes-master/kiamol/ch19/loadpi.ps1
Normal file
6
learn/learn-kubernetes-master/kiamol/ch19/loadpi.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
# pi @ 100K do is hard on CPU:
|
||||
$url = $(kubectl get svc pi-web -o jsonpath='http://{.status.loadBalancer.ingress[0].*}:8031/?dp=100000')
|
||||
|
||||
# two calls is enough to trigger HPA:
|
||||
Start-Process -NoNewWindow curl $url
|
||||
Start-Process -NoNewWindow curl $url
|
||||
Reference in New Issue
Block a user