Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information on how to set $MASTER_URI is missing #553

Open
eugen-nw opened this issue Jun 9, 2023 · 2 comments
Open

Information on how to set $MASTER_URI is missing #553

eugen-nw opened this issue Jun 9, 2023 · 2 comments

Comments

@eugen-nw
Copy link

eugen-nw commented Jun 9, 2023

Describe the Issue
The https://github.com/virtual-kubelet/azure-aci/tree/master/charts/virtual-kubelet page uses the $MASTER_URI variable yet there are no instructions on how to set it.

Steps To Reproduce
Please check the above mentioned page.

Expected behavior
There are instructions on how to set the variable.

Virtual-kubelet version

Kubernetes version

Additional context

@helayoty
Copy link
Member

Thanks, @eugen-nw, for raising the issue. We had this step added for the downgrade/upgrade documents. We will update the helm README as well. For now, you can use the following command or refer to upgrade README.

export MASTER_URI=$(kubectl cluster-info | awk '/Kubernetes control plane/{print $7}' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g")

@eugen-nw
Copy link
Author

Thank you. This is a Linux command. Could you please provide and document the PowerShell equivalent for the Windows users?

For PowerShell people who experience this issue, this is what I did:

  1. Ran the kubectl cluster-info command.
  2. Set $MASTER_URI to the URL on the Kubernetes control plane... line. The first line in the output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants