Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: load images from CDN #810

Merged
merged 3 commits into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Apache Way 是被无数开源项目证实的社区成功之道,那么对于开

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Apache APISIX 从开源项目到商业化之路。

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
2 changes: 1 addition & 1 deletion website/articles/Apache-APISIX-Incubator-Journey.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Apache APISIX 的孵化过程。

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
2 changes: 1 addition & 1 deletion website/articles/Apache-APISIX-Kubernetes-Ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ description: 介绍基于 Apache APISIX 的 Kubernetes Ingress 的优势以及 A

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
2 changes: 1 addition & 1 deletion website/articles/Apache-APISIX-in-China-Mobile-Cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ description: 该演讲主题主要是讲述 Apache APISIX 在中国移动公有

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ description: 在这个主题中将介绍 apisix-mesh-agent 项目,它有一些

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ description: 在过去的一年里,APISIX 已经成为全世界最活跃的 AP

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ description: 通过以下方式分析了开源资源库的情况:1.贡献者

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
2 changes: 1 addition & 1 deletion website/articles/Speed-Limiting-With-Apache-APISIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ description: 本次分享将带来如何使用 Apache APISIX 来实现动态、

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Apache APISIX 是领先的 API 网关 OSS 之一。为了确保一切按计划

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
2 changes: 1 addition & 1 deletion website/articles/The-Appeal-of-OpenSource.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Apache 软件基金会顶级项目 Apache APISIX 以及子项目,在过去 30

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../static/img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" width="200px" />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" width="200px" />
2 changes: 1 addition & 1 deletion website/articles/The-Evolution-of-Apache-APISIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Apache APISIX 是最受欢迎的 API 网关之一:https://github.com/apache/ap

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ description: 认证和授权是 API 网关中非常必要的功能。这样一

关注 Apache APISIX 公众号,回复“ApacheCon”下载 PPT。

<img src="../img/blog_img/APISIX-wechat.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
<img src="https://static.apiseven.com/202108/1639468506819-7f829080-19de-4d94-b103-e1d967e0baea.png" alt="Apache APISIX WeChat" style={{width: "200px"}} />
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Pengcheng Wang is a senior security consultant in PwC South China data security

The first CVE for Apache APISIX: Apache APISIX Admin API Default Token Vulnerability (CVE-2020-13945), see [Security Vulnerability Details](https://nvd.nist.gov/vuln/detail/CVE-2020-13945) for detail.

![2021-01-11-1](/img/blog_img/2021-01-11-1.png)
![2021-01-11-1](https://static.apiseven.com/202108/1639461621848-2d567a42-7cab-44ab-8afc-a9c80c8a3ab8.png)
2 changes: 1 addition & 1 deletion website/blog/2021/05/25/Apache APISIX 2.6.0-Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ For example, developers are not familiar with Lua and want to write plugins in a

Starting from version 2.6, APISIX supports running plugins written in languages other than Lua with the help of plugin runner. The architecture diagram is as follows.

![2021-05-25-1](/img/blog_img/2021-05-25-1.png)
![2021-05-25-1](https://static.apiseven.com/202108/1639462480260-86431748-7dcd-4643-816b-92104ec5a666.png)

APISIX will run the plugin runner as a sidecar.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ The next two user feedback scenarios are used as examples to introduce the proce

#### Scenario 1

![2021-06-16-1](/img/blog_img/2021-06-16-1.png)
![2021-06-16-1](https://static.apiseven.com/202108/1639462804552-8d51872f-3419-4e64-b365-4ef7cbb2a388.png)

Describe this scenario in a diagram. Against the five steps above, you first need to find quantifiable metrics that measure the proper functioning of Apache APISIX. The primary method of testing is to use Grafana to monitor Apache APISIX performance metrics. Once measurable metrics are found, the data can be extracted separately from Prometheus in the CI for comparison. Another point is that the logs need to be analyzed. Another point is the need to analyze logs, which for Apache APISIX is to look at Nginx error.log to determine whether errors are reported and whether they are expected.

In the control group, before Chaos was introduced, we tested that set/get route was successful, etcd was connectable, and recorded the RPS at that time. There is no significant change in RPS compared to before. The experiment is as expected.

#### Scenario 2

![2021-06-16-2](/img/blog_img/2021-06-16-2.png)
![2021-06-16-2](https://static.apiseven.com/202108/1639462935848-b87400d3-e59b-4e6d-84f9-25c2771d48d3.png)

Introducing pod-kill chaos after performing the same control group experiment reproduces the expected error. In the case of randomly deleting a few etcd nodes in the cluster, etcd connectivity exhibited sporadic behavior, and the logs printed a large number of connection denied errors. More interestingly, the setup route returned normally when deleting the first or third node in the etcd endpoint list, and only when deleting the second node in the etcd endpoint list did the setup route report the error "connection refused".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ CVE details: https://nvd.nist.gov/vuln/detail/CVE-2021-33190

This vulnerability was discovered by Vern at Ping An Technology Galaxy Security Lab and reported to the Apache Software Foundation. Thanks to Vern and Ping An Technology Galaxy Security Lab for their contributions to the Apache APISIX community.

![2021-06-17-1](/img/blog_img/2021-06-17-1.jpeg)
![2021-06-17-1](https://static.apiseven.com/202108/1639463130837-f27bf7bf-28b9-4742-a40f-ee43ebf5a7a8.jpeg)

## Expanded Reading

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Supports controlling external traffic access to services deployed in Kubernetes

The overall architecture is as follows.

![Apache APISIX Ingress Controller Architecture Diagram](/img/blog_img/2021-06-18-1.png)
![Apache APISIX Ingress Controller Architecture Diagram](https://static.apiseven.com/202108/1639464578081-06d7c64a-b597-444f-a59f-0217676e1ffc.png)

## v1.0 latest features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Now, Apache APISIX supports multi-language development plugins. More importantly

### Multiple Programming Languages Architecture Diagram

![Multiple Programming Languages Architecture Diagram](/img/blog_img/2021-06-21-1.png)
![Multiple Programming Languages Architecture Diagram](https://static.apiseven.com/202108/1639464774923-50cebc94-6344-4ea6-88a6-2b424c5f8567.png)

The left side of the diagram shows the workflow of Apache APISIX. The right side of the diagram is the plugin runner, which is a generic term for projects with multiple programming languages support. The apisix-java-plugin-runner is a plugin runner that supports the Java language.

Expand Down Expand Up @@ -69,7 +69,7 @@ Before starting the `Mainclass(org.apache.apisix.plugin.runner.PluginRunnerAppli

If you are using IDEA for development, the configured environment variables are shown below.

![configured environment](/img/blog_img/2021-06-21-2.png)
![configured environment](https://static.apiseven.com/202108/1639464890287-ee6bbc3a-3f8b-4de7-9ce4-7670fb0c3f64.png)

apisix-java-plugin-runner is equivalent to the server side and will actively create the `/tmp/runner.sock` file at startup and communicate with Apache APISIX on this file for Unix Domain Socket.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ Visit Rancher’s Tools — Catalogs page.

Click “Edit Catalog”, enter https://github.com/apache/apisix-helm-chart in “Catalog URL” to add the Helm repository for Apache APISIX in Rancher.

![2021-06-23-1](/img/blog_img/2021-06-23-1.png)
![2021-06-23-1](https://static.apiseven.com/202108/1639464984786-20a73a62-1e9d-463b-aac3-26ac18ab5228.png)

Click “Save” to save the changes.

Select the Apps page, select Launch to see the Apache APISIX repository information. Here we can directly select “apisix” to deploy Apache APISIX.

![2021-06-23-2](/img/blog_img/2021-06-23-2.png)
![2021-06-23-2](https://static.apiseven.com/202108/1639465059361-aa11ab87-11f7-45b6-964f-d285d41e8a39.png)

![2021-06-23-3](/img/blog_img/2021-06-23-3.png)
![2021-06-23-3](https://static.apiseven.com/202108/1639465129809-bf86383f-bab5-459d-bb02-e7d45e3b4c51.png)

Since we want to **deploy APISIX Ingress controller at the same time**, fill in the `ingress-controller.enabled=true` in the Answers at the bottom. Then click 'Save" to complete the deployment.

![2021-06-23-4](/img/blog_img/2021-06-23-4.png)
![2021-06-23-4](https://static.apiseven.com/202108/1639465197713-4ba6e7a2-8824-42e6-bf27-1d49f4e60ce5.png)

Wait a few moments for the deployment to complete.

![2021-06-23-5](/img/blog_img/2021-06-23-5.png)
![2021-06-23-5](https://static.apiseven.com/202108/1639465259396-fc1104e9-289d-41b6-ae23-d6e05da066b1.png)

## Step 2: Deploy an Example Project

We use `kennethreitz/httpbin` as a sample project for demonstration purpose. The deployment is also done directly in Rancher.

![2021-06-23-6](/img/blog_img/2021-06-23-6.png)
![2021-06-23-6](https://static.apiseven.com/202108/1639465331864-d8160567-d30c-427a-b0e5-425df6657879.png)

## Step 3: Use Apache APISIX as an API Gateway to Proxy Services

Expand Down Expand Up @@ -137,13 +137,13 @@ As you can see, **Apache APISIX is able to proxy services within a Kubernetes cl

We can add Ingress directly to Rancher and the Apache APISIX Ingress controller will automatically synchronize the routing rules to Apache APISIX to complete the proxy for the service.

![2021-06-23-7](/img/blog_img/2021-06-23-7.png)
![2021-06-23-7](https://static.apiseven.com/202108/1639465402058-3f41e8de-033b-4888-a835-30969251e402.png)

Note in the bottom right corner, we have added the annotation configuration `kubernetes.io/ingress.class: apisix` to support multiple ingress-controller scenarios in the cluster.

After saving, you can see the following screen.

![2021-06-23-8](/img/blog_img/2021-06-23-8.png)
![2021-06-23-8](https://static.apiseven.com/202108/1639465466581-db8c19d7-9c8f-402c-9270-34e327908caa.png)

Test if the proxy is successful under the terminal:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ One idea was to use incremental synchronization to simulate full synchronization
Another idea is to modify etcd. If you can remove the restrictions in etcdctl, why not treat gRPC-gateway the same way? The same change can be made to gRPC-gateway.
We’ve adopted the second option, and have given etcd a PR: [PR #13077](https://github.com/etcd-io/etcd/pull/13077).

![2021-06-30-1](/img/blog_img/2021-06-30-1.png)
![2021-06-30-1](https://static.apiseven.com/202108/1639465584634-26435c89-3e1c-4fb9-b094-057fce0f769d.png)

The latest release of v3.5.0 includes this change that we contributed. If you encounter “grpc: received message larger than max”, you may want to try this version. This change has also been back-ported to the 3.4 branch by the etcd developers, and the next release of the 3.4 branch will carry this change as well.

Expand Down Expand Up @@ -94,7 +94,7 @@ Note the “TLS Web Server Authentication” here, if we change it to “TLS Web
There is also an issue about this problem on etcd’s repository: Issue [#9785](https://github.com/etcd-io/etcd/issues/9785
).

![2021-06-30-2](/img/blog_img/2021-06-30-2.png)
![2021-06-30-2](https://static.apiseven.com/202108/1639465662863-30bc4fa9-8b7c-47d9-a73e-810bd690a588.png)

## Summary

Expand Down
16 changes: 8 additions & 8 deletions website/blog/2021/07/25/apachecon-asia.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This talk is about the application and practice of Apache APISIX in China Mobile

### Sharing Guests

![Yanshan Chen](/img/blog_img/2021-07-25-2.png)
![Yanshan Chen](https://static.apiseven.com/202108/1639465900639-ce850138-e0f5-4264-a902-be8ca94b93c0.png)

Yanshan Chen - After graduation, he has been working on distributed storage software development and architecture design, and has been deeply involved in the construction process of mobile cloud, focusing on the selection of major technology solutions and landing development and construction work related to object storage. At the same time, he has rich practical experience in the field of distributed object storage, and is currently thinking about implementing object storage traffic governance based on APISIX seven-tier gateway to achieve further architectural upgrade.

Expand All @@ -54,7 +54,7 @@ This session will show how to use Apache APISIX to achieve dynamic, fine-grained

### Guest Speakers

![Junxu Chen](/img/blog_img/2021-07-25-3.png)
![Junxu Chen](https://static.apiseven.com/202108/1639465952917-9089d8e8-4509-4d14-91d9-84b587cb5e7d.png)

Junxu Chen - Internet veteran, worked in Sina, Xunlei, 360 and other well-known Internet companies, Apache APISIX Committer.

Expand All @@ -70,7 +70,7 @@ Therefore, here we use Chaos Mesh, a Kubernetes-based chaos engineering platform

### Sharing Guests

![Shuyang Wu](/img/blog_img/2021-07-25-4.png)
![Shuyang Wu](https://static.apiseven.com/202108/1639466011014-75736153-f109-4318-a693-38e3bb59cbdd.png)

Shuyang Wu - Committer for Apache APISIX and Chaos Mesh, he leads the integration of Chaos Mesh with Apache APISIX CI.

Expand All @@ -84,7 +84,7 @@ Authentication and authorization are very necessary features in API gateways. Th

### Sharing Guests

![Xinxin Zhu](/img/blog_img/2021-07-25-5.png)
![Xinxin Zhu](https://static.apiseven.com/202108/1639466066729-9b4d07e2-47f3-4725-99d5-5266864e1c73.png)

Xinxin Zhu - Apache APISIX Committer, with years of CDN experience and familiar with gateways.

Expand All @@ -98,7 +98,7 @@ In the past year, Apahce APISIX has become the most active API gateway project i

### Guest Speakers

![Yuansheng Wang](/img/blog_img/2021-07-25-6.png)
![Yuansheng Wang](https://static.apiseven.com/202108/1639466127487-bc14552c-5326-43f6-8753-c0df363c3922.png)

Yuansheng Wang - Founder and PMC member of open source enthusiast Apache APISIX.

Expand All @@ -112,7 +112,7 @@ In this topic I will introduce the apisix-mesh-agent project, which has some cap

### Sharing Guests

![Chao Zhang](/img/blog_img/2021-07-25-7.png)
![Chao Zhang](https://static.apiseven.com/202108/1639466178896-23fb5c6e-ccb1-46e0-ac02-55fef1b3bedf.png)

Chao Zhang - Apache APISIX PMC, OpenResty contributor, open source enthusiast, now working on Service Mesh, Kubernetes and API Gateway.

Expand All @@ -130,7 +130,7 @@ Apache APISIX is one of the most popular API gateways: https://github.com/apache

### Sharing Guests

![Zexuan Luo](/img/blog_img/2021-07-25-8.png)
![Zexuan Luo](https://static.apiseven.com/202108/1639466430768-b416eea2-e8e3-4a50-91b9-2d6b05aead10.png)

Zexuan Luo - Apache APISIX PMC, OpenResty developer.

Expand All @@ -144,7 +144,7 @@ Introducing the benefits of Apache APISIX-based Kubernetes Ingress and the featu

### Sharing Guests

![Jin Wei](/img/blog_img/2021-07-25-9.png)
![Jin Wei](https://static.apiseven.com/202108/1639466497596-7e4b91a9-2367-457a-ad33-0c5db7b87c24.png)

Wei Jin - Apache APISIX PMC, Apache apisix-ingress-controller Founder, Apache Skywalking Committer.

Expand Down
Loading