Apigee istio

Query about apigee adapter/ apigee cloud/ microk8s on localhost/apigee istio

Can anyone please tell that, Is the apigee adapter would be able to handshaking with istio? is it possible or not?

I am getting RPC error while running the HelloWorld service from Apigee edge with istio. Though I am working on the localhost and I am using microk8s.

0 6 333
6 REPLIES 6

sidd-harth
Participant V

I was able to integrate Istio with Apigee using the Apigee Istio Adapter. What do you mean by working on localhost?

Do we need to install istio through helm and tiller? and then after we need to install an apigee istio adapter? or we just need to install apigee istio adapter ? istio is integrated into apigee istio adapter?

If you do not have Istio running, then you can directly use Apigee Istio Adapter which also includes Istio.

But the thing is you need to have Kubernetes cluster to install and use Istio.

Thank you I did it. But getting this error. Could you please help me with it?


[root@k8s-master apigee]# kubectl label namespace default istio-injection=enabled

Error from server (Forbidden): namespaces "default" is forbidden: User "system:node:k8s-master" cannot get resource "namespaces" in API group "" in the namespace "default"

[root@k8s-master apigee]# kubectl get nodes

NAME STATUS ROLES AGE VERSION

k8s-master Ready master 21d v1.17.4

worker-node1 NotReady <none> 21d v1.17.4

Here default is the project/namespace. The user with which you are trying to access has no/limited permissions.

Instead of this you can use any other namespace.

Like create a namespace and use that,

kubectl create namespace istio-demo
kubectl label namespace istio-demo istio-injection=enabled

By doing this Istio will automatically inject the sidecar proxy to your container/app pod.

Alright. Thank you. But now I am facing this issue while deploying the hello-world service. The service has deployed but I am getting the error for gateway.

[root@k8s-master ~]# kubectl apply -f https://raw.githubusercontent.com/istio/istio/master/samples/helloworld/helloworld-gateway.yaml

unable to recognize "https://raw.githubusercontent.com/istio/istio/master/samples/helloworld/helloworld-gateway.yaml": no matches for kind "Gateway" in version "networking.istio.io/v1alpha3"

unable to recognize "https://raw.githubusercontent.com/istio/istio/master/samples/helloworld/helloworld-gateway.yaml": no matches for kind "VirtualService" in version "networking.istio.io/v1alpha3"

[root@k8s-master ~]# kubectl get pods

NAME READY STATUS RESTARTS AGE

helloworld-v1-578dd69f69-vxt4r 1/1 Running 0 58m

helloworld-v2-776f74c475-77s8m 1/1 Running 0 58m