MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.31k stars 21.49k forks source link

Problems with istioctl command on windows #45252

Closed aelmanaa closed 4 years ago

aelmanaa commented 4 years ago

Hello ,

as explained in https://github.com/istio/istio/issues/19020 , there are some issues with current istioctl command lines on windows.

Here is my workaround:

to install:

istioctl manifest apply -f istio-aks.yaml --logtostderr --set installPackagePath=<istio-version>/install/kubernetes/operator/charts

Uninstall istioctl manifest generate -f istio-aks.yaml --logtostderr --set installPackagePath=<istio-version>/insta ll/kubernetes/operator/charts > output/man.yaml

Kubectl delete -f output/man.yaml


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jakaruna-MSFT commented 4 years ago

@aelmanaa Thanks for the feedback! We are currently investigating and will update you shortly.

jakaruna-MSFT commented 4 years ago

@aelmanaa Thanks for reporting.

I am able to reproduce the issue. I will update the document.

During the uninstall command, Command wrote logs also to the output/man.yaml

aelmanaa commented 4 years ago

@jakaruna-MSFT yes indeed.had to manually cleanup the logs before runnin "kubectl apply -f output/man.yaml" . I'm not istioctl , maybe there is a better way ;)

jakaruna-MSFT commented 4 years ago

@aelmanaa Thats fine.

We can use the -o option for istioctl manifest generate

jakaruna-MSFT commented 4 years ago

@aelmanaa submitted a PR. Changes should reflect in few hours

@paulbouwer please check the updates and provide your comments