Refer to https://github.com/knative/docs/blob/master/install/Knative-with-Minikube.md instruction to install knative. Executing kubectl apply to install istio should success without error.
curl -L https://github.com/knative/serving/releases/download/v0.3.0/istio.yaml \\
| sed 's/LoadBalancer/NodePort/' \\
| kubectl apply --filename -
The kubectl apply only partial succeeded. The following errors are observed. Running the 'kubectl apply` command again can work around the issue.
unable to recognize "STDIN": no matches for kind "Gateway" in version "networking.istio.io/v1alpha3"
unable to recognize "STDIN": no matches for kind "attributemanifest" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "attributemanifest" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "stdio" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "logentry" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "logentry" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "rule" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "rule" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "metric" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "metric" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "metric" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "metric" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "metric" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "metric" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "prometheus" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "rule" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "rule" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "kubernetesenv" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "rule" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "rule" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "kubernetes" in version "config.istio.io/v1alpha2"
unable to recognize "STDIN": no matches for kind "DestinationRule" in version "networking.istio.io/v1alpha3"
unable to recognize "STDIN": no matches for kind "DestinationRule" in version "networking.istio.io/v1alpha3"
We have a seperate istio-crds.yaml to solve this issue I think. Is this a matter of adjusting the documentation to reference that?
For now, yes - I believe we just need to adjust the docs.
cc @RichieEscarez @samodell
This issue seems like it belongs in knative/docs, but I'm not sure if documenting how to install Istio is a feature or a bug :)
I ran:
curl -L https://github.com/knative/serving/releases/download/v0.3.0/istio-crds.yaml \
| kubectl apply --filename -
Then:
curl -L https://github.com/knative/serving/releases/download/v0.3.0/istio.yaml \
| sed 's/LoadBalancer/NodePort/' \
| kubectl apply --filename -
And everything came up correctly this time.
Most helpful comment
I ran:
Then:
And everything came up correctly this time.