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

error during demo profile install #19102

Closed
tpham00 opened this issue Nov 20, 2019 · 7 comments
Closed

error during demo profile install #19102

tpham00 opened this issue Nov 20, 2019 · 7 comments

Comments

@tpham00
Copy link

tpham00 commented Nov 20, 2019

Bug description
I'm getting this error when running "istioctl manifest apply --set profile=demo":
Component IngressGateway failed install:

Error: error running kubectl: exit status 1

Error detail:

Error from server (NotFound): error when creating "STDIN": the server could not find the requested resource (post gatewaies.networking.istio.io) (repeated 1 times)

Expected behavior

Steps to reproduce the bug
Following https://istio.io/docs/setup/getting-started/
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
$ istioctl version --remote
client version: 1.4.0
control plane version: 1.4.0
data plane version: none
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-18T11:37:06Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T16:14:56Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
https://istio.io/docs/setup/getting-started/
Environment where bug was observed (cloud vendor, OS, etc)

@howardjohn
Copy link
Member

Error from server (NotFound): error when creating "STDIN": the server could not find the requested resource (post gatewaies.networking.istio.io) (repeated 1 times)

did you make a typo here or was it actually logging gatewaies.networking.istio.io (rather than gateways.networking.istio.io)?

Anyhow seems like the CRD is not created properly

@rvennam
Copy link
Contributor

rvennam commented Nov 21, 2019

We've seen this before...#8096 knative/serving#1500

Can you update your kubectl version and try again?

@tpham00
Copy link
Author

tpham00 commented Nov 21, 2019

Specifically what version of kubectl?

@tpham00
Copy link
Author

tpham00 commented Nov 21, 2019

Im running:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-18T11:37:06Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}

@rvennam
Copy link
Contributor

rvennam commented Nov 21, 2019

Your server is 1.14, so I recommend 1.14 or higher. https://kubernetes.io/docs/tasks/tools/install-kubectl/

@tpham00 tpham00 closed this as completed Nov 21, 2019
@tzakrajs
Copy link

tzakrajs commented Nov 26, 2019

This is happening to me on 1.16.3 (Ubuntu 18.04 with fresh kubeadm init)

The manifests used below were generated by istioctl manifest generate --set profile=default from binaries shipped with istio 1.4.0:

$ kaf gateway-crd.yml
customresourcedefinition "gateways.networking.istio.io" configured
$ kaf ingressgateway.yml
Error from server (NotFound): error when creating "ingressgateway.yml": the server could not find the requested resource (post gatewaies.networking.istio.io)

@jasonwzm
Copy link
Member

@tzakrajs are you still seeing the issue? I tried on my local and could not reproduce the issue.

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

6 participants