Helm Charts를 사용하여 Apache APISIX 설치하기
Fei Han
February 26, 2021
며칠 전, API7.ai가 온라인 Helm Charts 저장소를 출시했습니다. 사용자는 이 저장소에서 Apache APISIX, Apache apisix-dashboard 및 Apache apisix-ingress-controller를 쉽게 설치할 수 있습니다 (사전에 해당 프로젝트를 클론할 필요 없이).
사용 방법
Apache APISIX를 설치하는 데는 몇 단계만 거치면 됩니다.
-
저장소를 추가하고 업데이트를 가져옵니다.
helm repo add apisix https://charts.apiseven.com helm repo update
-
저장소에서 사용 가능한 차트를 확인합니다.
$ helm search repo apisix NAME CHART VERSION APP VERSION DESCRIPTION apisix/apisix 0.1.2 2.1.0 A Helm chart for Apache APISIX apisix/apisix-dashboard 0.1.0 2.3.0 A Helm chart for Apache APISIX Dashboard
-
Apache APISIX를 Kubernetes 클러스터에 설치합니다.
$ helm install apisix-gw apisix/apisix --namespace default NAME: apisix-gw LAST DEPLOYED: Fri Feb 19 11:34:14 2021 NAMESPACE: default STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: 1. Get the application URL by running these commands: export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services apisix-gw-gateway) export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}") echo http://$NODE_IP:$NODE_PORT
참고 자료
Tags: