一款云原生声明式网关!
以下简介摘自官方:
Apache APISIX 是 Apache 软件基金会下的顶级项目,由 API7.ai 开发并捐赠。它是一个具有动态、实时、高性能等特点的云原生 API 网关。
你可以使用 APISIX 网关作为所有业务的流量入口,它提供了动态路由、动态上游、动态证书、A/B 测试、灰度发布(金丝雀发布)、蓝绿部署、限速、防攻击、收集指标、监控报警、可观测、服务治理等功能。
操作系统环境 Ubuntu22.04LTS
内核版本 5.15.0-106-generi
root@gentlewok:/opt/ingress-apisix-1.7.0# uname -r
5.15.0-106-generic
root@gentlewok:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
用sealos启动一个单节点的kubernetes
#安装sealos
$ VERSION=v4.
3.7
$ curl -sfL https:
//mirror.ghproxy.com/https://raw.githubusercontent.com/labring/sealos/main/scripts/install.sh | PROXY_PREFIX=https://mirror.ghproxy.com sh -s ${VERSION} labring/sealos
sealos run registry.cn-shanghai.aliyuncs.com/labring/kubernetes-docker:v1.27.7 registry.cn-shanghai.aliyuncs.com/labring/cilium:v1.13.4--single
安装成功标志
kubectl get node
kubectl get pod --all-namespaces
git clone --depth 1--branch 1.7.0 https://github.com/apache/apisix-ingress-controller.git ingress-apisix-1.7.0
cd ingress-apisix-1.7.0
kubectl apply -k samples/deploy/crd/v1/
kubectl apply -f samples/deploy/composite.yaml
安装成功标志
kubectl get pod -n ingress-apisix
变为 Running
则表示apisix-ingress-controller安装成功
CRI-O
, 为方便理解,本文采用大家都熟悉的 Docker
容器运行时,对应的镜像是这个( registry.cn-shanghai.aliyuncs.com/labring/kubernetes-docker:v1.27.7)Sealos一键拉起一个kubernetes , 真香 ,作为测试使用,笔者认为比minikube好用多了,一家之言,兼听~
有了本文的环境后,后续将围绕 apisix
写一系列教程,敬请关注~
相关链接:
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有