Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

Question: host wildcards possible? #372

Open
bfleming-ciena opened this issue Jun 5, 2018 · 4 comments
Open

Question: host wildcards possible? #372

bfleming-ciena opened this issue Jun 5, 2018 · 4 comments

Comments

@bfleming-ciena
Copy link

bfleming-ciena commented Jun 5, 2018

0.8.0

With istioctl my serviceentry object chokes on the wildcard.

Error: configuration is invalid: invalid host *

I used kubectl to create the serviceentry object with * and it's fine. So I guess that's how it's done?

Also, in general, is it possible to just allow all hosts and all ports? I wanted to add this to an existing k8s cluster but it will take some time to find all the possible external hosts and ports and add them into a serviceentry object. I rather open it up entirely and then start nailing it down, so I can at least do some performance testing with istio in place.

Thanks

@vadimeisenbergibm
Copy link

You have to put a host with wild card in double quotes: "*".

@bfleming-ciena
Copy link
Author

@vadimeisenbergibm - Thanks, yeah that works fine if I use kubetl, not istioctl.

How about allowing all ports? Or is the best option to add the envoy option to ignore a given subnet of IPs? That might work in my case, I just want my k8s cluster to have the ability to communicate with any EC2 instance in my VPC.

thank you very much!

@wansuiye
Copy link

@stonefury hi, can the serviceentry with a host "*" work well?

@bfleming-ciena
Copy link
Author

bfleming-ciena commented Nov 7, 2018

@stonefury hi, can the serviceentry with a host "*" work well?

Thanks for the reply @wansuiye. Honestly, I am no longer exploring this. So I can't confirm if that would work. It would be nice if someone could confirm that to either resolve or keep this open as a feature request.

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

No branches or pull requests

4 participants