I cannot install Apigee Hybrid 1.4.2 on EKS. ,I get an error installing Apigee Hybrid 1.4.2 on EKS

jlopez
New Member

When y apply overrides.yaml, I get a timeout error in a webhook

> apigeectl apply -f overrides/overrides.yaml......
...
...
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mapigeedatastore.apigee.cloud.google.com": Post https://apigee-webhook-service.apigee-system.svc:443/mutate-apigee-cloud-goo                                                                                gle-com-v1alpha1-apigeedatastore?timeout=30s: context deadline exceeded

Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mapigeeorganization.apigee.cloud.google.com": Post https://apigee-webhook-service.apigee-system.svc:443/mutate-apigee-cloud-                                                                                google-com-v1alpha1-apigeeorganization?timeout=30s: context deadline exceeded

Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mapigeeenvironment.apigee.cloud.google.com": Post https://apigee-webhook-service.apigee-system.svc:443/mutate-apigee-cloud-g                                                                                oogle-com-v1alpha1-apigeeenvironment?timeout=30s: dial tcp 10.213.220.83:9443: i/o timeout

Error: unable to exec kubectl: error applying k8s config via kubectl: exit status 1
,

I'm installing Apigee hybrid 1.4.2 on a EKS.

When I execute apigeectl apply -f overrides/overrides.yaml

I get this error:

Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mapigeedatastore.apigee.cloud.google.com": Post https://apigee-webhook-service.apigee-system.svc:443/mutate-apigee-cloud-goo gle-com-v1alpha1-apigeedatastore?timeout=30s: context deadline exceeded Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mapigeeorganization.apigee.cloud.google.com": Post https://apigee-webhook-service.apigee-system.svc:443/mutate-apigee-cloud- google-com-v1alpha1-apigeeorganization?timeout=30s: context deadline exceeded Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mapigeeenvironment.apigee.cloud.google.com": Post https://apigee-webhook-service.apigee-system.svc:443/mutate-apigee-cloud-g oogle-com-v1alpha1-apigeeenvironment?timeout=30s: dial tcp 10.213.220.83:9443: i/o timeout Error: unable to exec kubectl: error applying k8s config via kubectl: exit status 1

0 2 1,279
2 REPLIES 2

Hi Jorge, as you figured out apigee is relying on a number of webhooks that are required to validate and respond to changes in Apigee Custom Resources.

If you are using EKS with any non-VPC CNI like Calico then the service that runs on a pod cannot be reached from your master nodes because its IP is not known.

For your specific setup you could switch the CNI back to VPC which of course comes at a larger IP address footprint and a number of other restrictions. Never the less this option should be preferred as it does not require you to make any manual adaptions of the Apigee resources.

jlopez
New Member

Merci, Daniel, We will eval these options.