تثبيت Apache APISIX من Helm Charts

Fei Han

February 26, 2021

Ecosystem

قبل بضعة أيام، أطلقت API7.ai مستودعًا عبر الإنترنت لـ Helm Charts. يمكن للمستخدمين تثبيت Apache APISIX و Apache apisix-dashboard و Apache apisix-ingress-controller بسهولة منه (بدلاً من استنساخ المشروع المقابل مسبقًا).

كيفية الاستخدام

فقط بضع خطوات لتثبيت Apache APISIX

  1. أضف المستودع واحصل على التحديثات

    helm repo add apisix https://charts.apiseven.com
    helm repo update
    
  2. تحقق من الرسوم البيانية المتاحة في المستودع

    $ 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
    
  3. قم بتثبيت 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: