commit | 5879d371b8102a25d44a1392a6d1e06d1e9b6515 | [log] [tgz] |
---|---|---|
author | Clark CC <1055215279@qq.com> | Tue Jan 26 14:40:12 2021 +0800 |
committer | GitHub <noreply@github.com> | Tue Jan 26 14:40:12 2021 +0800 |
tree | fbd68431bfcb03f17f7b1a32377f1550945ece85 | |
parent | 7dce1da72e6b5f6a8eb56429932d1bfa6ff041df [diff] |
chore: Modify Helm template to support multiple etcdhost, add anti-affinity (#20)
Update the dependency chart
$ helm repo add bitnami https://charts.bitnami.com/bitnami $ helm dependency update ./chart/apisix
$ helm install apisix ./chart/apisix -n default
helm uninstall apisix ./chart/apisix -n default
The Charts will install etcd 3.4.14 by default. If you want to install Apache APISIX only, please set etcd.enabled=false
and set etcd.host={http://your_etcd_address:2379}
.
Please use the FQDN address or the IP of the etcd.
# if etcd export by kubernetes service need spell fully qualified name $ helm install apisix ./chart/apisix -n default \ --set etcd.enabled=false \ --set etcd.host={http://etcd_node_1:2379\,http://etcd_node_2:2379}
We can define allow.ipList
in CIDR.
$ helm install apisix ./chart/apisix -n default \ --set allow.ipList="10.22.100.12/8" \ --set allow.ipList="172.0.0.0/24"
If you want to allow all IPs for a quick test, just set allow.ipList=""
$ helm install apisix ./chart/apisix -n default \ --set allow.ipList=""
#apisix
on our Slack to meet the team and ask questions#ApacheAPISIX