gxthrj commented on a change in pull request #183: URL: https://github.com/apache/apisix-ingress-controller/pull/183#discussion_r560722168
########## File path: docs/deployments/ack.md ########## @@ -0,0 +1,76 @@ +<!-- +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +--> + +# Install Ingress APISIX on ACK + +This document explains how to install Ingress APISIX on [ali-cloud ACK](https://www.aliyun.com/product/kubernetes). + +## Prerequisites + +* Create an ACK Service on ali-cloud. +* Download the kube config for your ACK, follow the [introduction](https://www.alibabacloud.com/help/zh/doc-detail/86378.html). +* Install [Helm](https://helm.sh/). +* Clone [Apache APISIX Charts](https://github.com/apache/apisix-helm-chart). +* Clone [apisix-ingress-controller](https://github.com/apache/apisix-ingress-controller). +* Make sure your target namespace exists, `kubectl` operations thorough this document will be executed in namespace `ingress-apisix`. + +## Install APISIX + +[Apache APISIX](http://apisix.apache.org/) as the proxy plane of apisix-ingress-controller, should be deployed in advance. + +```shell +cd /path/to/apisix-helm-chart +helm repo add bitnami https://charts.bitnami.com/bitnami +helm dependency update ./chart/apisix +helm install apisix ./chart/apisix \ + --set gateway.type=LoadBalancer \ + --set allow.ipList="{0.0.0.0/0}" \ + --namespace ingress-apisix \ +kubectl get service --namespace ingress-apisix +``` + +Two Service resources were created, one is `apisix-gateway`, which processes the real traffic; another is `apisix-admin`, which acts as the control plane to process all the configuration changes. + +The gateway service type is set to `LoadBalancer` (See [Access services through SLB](https://help.aliyun.com/document_detail/182218.html) for more details), so that clients can access Apache APISIX through a load balancer. You can find the load balancer hostname by running: Review comment: Done. ---------------------------------------------------------------- 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