https://github.com/GoogleCloudPlatform/microservices-demo https://github.com/GoogleCloudPlatform/microservices-demo/blob/main/release/kubernetes-manifests.yaml
https://github.com/didier-durand/microservices-on-cloud-kubernetes
kubectl create ns store
kubectl apply -f https://raw.githubusercontent.com/paurosello/demoappskustomize/main/pss.yaml
kustomize build github.com/paurosello/demoappskustomize//kustomize-store | kubectl apply -n store -f -
kubectl create ns store
kubectl apply -f pss.yaml
kustomize build kustomize-store/ | kubectl apply -n store -f -
kubectl logs -n store -l app=loadgenerator -c main | grep Aggregated | awk '{print $2}'
kubectl logs -n store -l app=loadgenerator -c main | grep Aggregated | awk '{print $3}' | sed "s/[(][^)]*[)]//g"
while true
do
kubectl get nodes >> /tmp/error_logs
kubectl logs -l app=loadgenerator -c main | grep Aggregated | awk '{print $2} {print $3}' >> /tmp/error_logs
cat /tmp/error_logs
sleep 10
done
docker run -it -e FRONTEND_ADDR=frontend.domain -e USERS=2 gcr.io/google-samples/microservices-demo/loadgenerator:v0.10.0
k6 run --env BASE_URL=https://frontend.domain script.js