安装部署
MacOS安装RabbitMQ
API网关部署
Centos安装Chrome浏览器
gitlab
gitlab-cicd
gitlab-runner安装配置
Gitlab-CICD实践篇
gitlab维护
gitlab备份-异地恢复-升级
gitlab从13.10.2升级至14.4.1出现的问题
Let's Encrypt
Let's Encrypt 申请证书
certbot发起web认证请求流程
安装CMDBUILD
vim配置
keepalived
配置样例
wine tips
supervisord
kafka
zookeeper
minio
django
jupyter
supervisor管理的kafka zookeeper集群部署
dnsmasq
apisix
APISIX结合skywalking对各个服务的访问情况进行监控
APISIX通过consul动态发现服务
Grafana Labs
Loki(stack)
etcd
redis
mongodb
mongodb添加仲裁节点
consul
sqlite更新升級
openssl安裝升級
emby
inotify-tools
caddy
caddy规则
ohmyzsh tips
debian-nvidia-container-runtime
openwrt+802.1x+freeradius+casdoor
本文档使用 MrDoc 发布
-
+
首页
apisix
项目主页:[GitHub - apache/apisix: The Cloud-Native API Gateway](https://github.com/apache/apisix/blob/master/docs/en/latest/how-to-build.md "GitHub - apache/apisix: The Cloud-Native API Gateway") Apache APISIX 是一个动态、实时、高性能的API网关!基于openrestry+etcd实现,相比于nginx+lua扩展了更多的功能,且易用。可以通过手动添加节点、CONSUL动态发现等方式添加服务节点,方便服务的横向扩容。结合skywalking可以对代理的各个服务进行监控,并且没有入侵性。 部署文档:[apisix/how-to-build.md at master · apache/apisix · GitHub](https://github.com/apache/apisix/blob/master/docs/en/latest/how-to-build.md "apisix/how-to-build.md at master · apache/apisix · GitHub") --- # 虚拟机简要部署方式(Centos7 yum) ``` # 安装apisix源并安装apisix和apsix-dashboard # apisix安装路径/usr/local/apisix/ # dashborad安装路径/usr/local/apisix/dashboard/ $ sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm $ sudo yum install -y apisix apisix-dashboard ``` ``` # 安装etcd $ ETCD_VERSION='3.4.13' $ wget https://github.com/etcd-io/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-linux-amd64.tar.gz $ tar -xvf etcd-v${ETCD_VERSION}-linux-amd64.tar.gz && \ cd etcd-v${ETCD_VERSION}-linux-amd64 && \ sudo cp -a etcd etcdctl /usr/bin/ $ nohup etcd & ``` ``` # 初始化apisix和nginx配置文件 $ apisix init # 初始化apisix-dashboard配置与服务 $ manager-api install $ systemctl start apisix && systemctl enable apisix # 添加你的ip到acl中然后再启动dashboard $ sed -i '/allow_list:/a\ - ${your_ip}' /usr/local/apisix/dashboard/conf/conf.yaml $ systemctl start apisix-dashborad && systemctl enable apisix-dashborad ``` * 默认dashboard访问端口:9090 * apisix默认服务端口9080、9443,管理端口:127.0.0.1:9000 TODO: - [ ] 通过一个apisix-dashboard管理集群化部署的apisix - [ ] 集群化部署etcd防止单节点带来的数据可用性问题 - [ ] 通过consul动态发现服务 - [ ] 结合skywalking对各个服务的访问情况进行监控
zhangky
2021年12月30日 15:35
分享文档
收藏文档
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码