ncepuwanghui commented on issue #33:
URL: 
https://github.com/apache/apisix-helm-chart/issues/33#issuecomment-785748621


   I found the cause of the above problem.
   The reason is that the cluster domain name of apisix which set by "--set 
gateway.k8s_domain", is inconsistent with the domain of etcd chart which is 
dependent on `apisix-helm-chart`.
   
   [`clusterDomain` in values.yaml of etcd 
chart](https://github.com/bitnami/charts/blob/master/bitnami/etcd/values.yaml#L188)
 
   [`gateway.k8s_domain` in values.yaml of 
apisix-helm-chart](https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L45)
   
   The cluster domain of etcd chart can be specified by `--set 
etcd.clusterDomain="your-custom-cluster-domain"`, when installing 
apisix-helm-chart. As follows:
   ```
   helm install apisix ./charts/apisix --namespace ingress-apisix --set 
gateway.type=NodePort --set gateway.k8s_domain="custom.cluster.domain" --set 
etcd.clusterDomain="your-custom-cluster-domain" --set 
allow.ipList="{10.42.0.0/16}" 
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to