Every request fails with `dial tcp: lookup checkout on 10.96.0.10:53: no such host`.
BeginnerTroubleshootingk6 Load Testing
Answer
Likely causes → The hostname does not resolve from where k6 runs: running locally against an in-cluster Service name, wrong namespace (needs checkout.shop.svc.cluster.local from another namespace), or the Service does not exist.
Diagnose →
kubectl get svc -n shop checkout
kubectl run dns-test --rm -it --image=busybox:1.36 --restart=Never -- nslookup checkout.shop.svc.cluster.local
Fix → Use the fully qualified Service name when running in-cluster, or port-forward / use an ingress URL when running outside.
Prevent → Pass BASE_URL via -e and validate it with a smoke test stage before the main scenario.
More on k6 Load Testing
k6 prints `WARN[0030] Insufficient VUs, reached 100 active VUs and cannot initialize more executor=constant-arrival-rate scenario=steady`.AdvancedCI fails with `ERRO[0602] thresholds on metrics 'http_req_duration' have been crossed` and exit code 99.BeginnerMany requests fail with `request timeout` after exactly 60 seconds.IntermediateThe test starts fine, then errors switch to `dial tcp 10.96.41.12:8080: connect: connection refused`.IntermediateThe k6 load generator logs `socket: too many open files`.IntermediateAt high rates, k6 errors with `dial tcp 10.0.3.15:443: connect: cannot assign requested address`.Advanced