Could not install Istio demo profile. Error: Could not configure logs

11/19/2019

I have installed Minikube on my laptop. I am trying to run the Istio. I have followed the instructions given here. https://istio.io/docs/setup/getting-started/

My setup is as below.

  • Microsoft Windows 10 Pro
  • Minikube version 1.5.2
  • Kubernetes version 1.16.2
  • Istio version 1.4

When I run the command as given in the documentation

  istioctl manifest apply --set profile=demo

It fails immediately giving below error.

Could not configure logs: couldn't open sink "/dev/null": open /dev/null: The system cannot find the path specified.

Anybody has faced the issue? Thanks in advance for any pointers.

-- Shashank Dixit
istio
kubernetes
minikube

2 Answers

11/19/2019

I checked istio github and there is same issue reported 3 days ago.

As i could read there

The issue is windows specific,should be fixed in 1.4.1 release in about 2 weeks

For now i would suggest to use helm instead of istioctl, like @lain mentioned in his answer.

EDIT

There is workaround for istio 1.4.0 provided in github link above

Finally got my hands on a windows machine. Workaround for 1.4.0(folder from the Istio release archive):

istioctl manifest apply --set profile=demo --logtostderr --set installPackagePath=install/kubernetes/operator/charts 
-- jt97
Source: StackOverflow

11/19/2019

Try adding flag --logtostderr.

istioctl manifest apply --set profile=demo --logtostderr
-- Iain
Source: StackOverflow