K6 Documentation: Change service type of Kubernetes service

Hi there , i can across this article on k6

on how to expose the service , but mentioned command on page is not working

kubectl -n namespace patch svc service -p '{"spec": {"type": "LoadBalancer"}}'

However its working after removing single quotes with double quotes and escaping double quotes with backward slash. Please review and update the page as required .

1 Like

Hi @Shabd

Thanks for reporting this. I’ve opened an issue in our docs to have a look.

Cheers!