I m new to istio, trying to learn how to deploy applications with istio-sidecar. Tried the following steps to install the istio and the sample application(bookinfo) over it
Kindly let me know how to resolve this.
Following are the versions of kubernetes and istio
[root@k8s-master istio-1.4.5]# kubectl version
Client Version: version.Info{Major:“1”, Minor:“17”, GitVersion:“v1.17.2”, GitCommit:“59603c6e503c87169aea6106f57b9f242f64df89”, GitTreeState:“clean”, BuildDate:“2020-01-18T23:30:10Z”, GoVersion:“go1.13.5”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“17”, GitVersion:“v1.17.3”, GitCommit:“06ad960bfd03b39c8310aaf92d1e7c12ce618213”, GitTreeState:“clean”, BuildDate:“2020-02-11T18:07:13Z”, GoVersion:“go1.13.6”, Compiler:“gc”, Platform:“linux/amd64”}
[root@k8s-master istio-1.4.5]# istioctl version
client version: 1.4.5
control plane version: 1.4.5
data plane version: 1.4.5 (2 proxies)
[root@k8s-master istio-1.4.5]#
Usually it is a firewall rule to add between the server and node. You need to make sure your K8s server is able to access the istio pilot pod.
The error is cannot access https://istio-sidecar-injector.istio-system.svc:443 but it is wrong. On earlier version (up to 1.5 I think) this error was linked to the logical url to call and did not reflect the real endpoint the server called. On 1.6 I think I saw an error with the correct url (pod name + port) (the istio injector svc doesn’t exist anymore so url should reflect the correct one directly).
Anyway, you need to check which port your pilot pod listen to (it should be 9443 or 15017). Just check the service “istio-sidecar-injector” in the “istio-system” namespace, you the port to open is the target port linked to the 443 service port.
Did any one made istio work in an on-premise mode using Centos 7? Could this be a certificate issue? If so, does Istio allow webhook with http instead of https?
I get same the error with you and I must open fw on ports 443, 15017, 10250 with source is ip range of master and distination is network tag of node pool. ref here