-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
Error from server (InternalError): error when creating "emqx.yaml": Internal error occurred: failed calling webhook "mutating.apps.emqx.io": failed to call webhook: Post "https://emqx-operator-webhook-service.emqx-operator-system.svc:443/mutate-apps-emqx-io-v2beta1-emqx?timeout=10s": Address is not allowed
Background:
AWS EKS calls webhooks from the Control Plane, which in case of a CNI other than the default VPC CNI results in Pod IPs not reachable from the control plane.
To Reproduce
- AWS EKS Cluster
- Use Cilium as CNI
- Install EMQX Operator
- Create EMQX Instance
- Error Message as above.
Expected behavior
Expected the EMQX Cluster to be created
Anything else we need to know?:
Environment details::
- Kubernetes version: 1.25.6 EKS
- Cloud-provider/provisioner: EKS + Terraform
- emqx-operator version: 2.2.0
- Install method: Helm
Potential Fix:
It would be good to include a mode to enable HostNetwork for the controller-manager in order to allow the EKS control plane to reach the pod.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request