In the "Configure Helm" chapter I think there is an error with this command:
' helm init --service-account tiller --node-selectors "beta.kubernetes.io/os"="linux" '
On windows 'helm init' use these arguments:
--node-selectors string
--service-account string
I received an error with the command on the guide (Error: This command does not accept arguments) and I fix it running:
' helm init --service-account tiller --node-selectors "beta.kubernetes.io/os=linux" '
HTH
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Ettores88 Thanks for the feedback! We are currently investigating and will update you shortly.
@Ettores88 I am able to reproduce the issue and your workaround helps.
In the official documentation of helm, node selector example is provided like this only.
Providing node selector like this "beta.kubernetes.io/os=linux" works well in both linux and windows.
But providing like this "beta.kubernetes.io/os"="linux" works only in linux.
@zr-msft Please add your comments
Thank you for your feedback @Ettores88
The issue that you saw is due to a platform difference and the doc commands were written to be run on bash. FYI you may also have to account for platform changes on commands that have line breaks.
Most helpful comment
@Ettores88 I am able to reproduce the issue and your workaround helps.
In the official documentation of helm, node selector example is provided like this only.
Providing node selector like this
"beta.kubernetes.io/os=linux"works well in both linux and windows.But providing like this
"beta.kubernetes.io/os"="linux"works only in linux.@zr-msft Please add your comments