qianyugang / kong-docs-cn Goto Github PK
View Code? Open in Web Editor NEW微服务 Api 网关 Kong 最新文档中文版
微服务 Api 网关 Kong 最新文档中文版
最近在学习kong,有幸拜读了这篇文章,阅读了很多章节
实际使用过程中,也遇到了一个棘手的问题,希望能得到您的解答
我们是在kubernetes中使用了kong,并且使用了他服务网格的部分
在使用kong-mash的过程中发现pod不能请求外部资源,比如外部的数据库,外部的一个api服务
在istio中这块可以使用setting: istio-sidecar-injector global.proxy.includeIPRanges设置来解决
但是在kong中并没有找到对应的设置,请问这个问题您有没有解决方案和思路
谢谢
感谢
大量报
[lua] balancer.lua:316: [healthchecks] failed setting peer status (upstream: 3eb0b3ee-3322-4509-bc9b-ad5c19351aed:testHealthy): no peer found by name 'dcdev.definesys.cn' and address 39.103.230.188:30816, context: ngx.timer
upstream如下:{
"client_certificate": null,
"id": "061c28de-a59e-4ef8-b353-b6602bfebb81",
"hash_on_header": null,
"healthchecks": {
"passive": {
"type": "http",
"unhealthy": {
"http_statuses": [
429,
500,
503
],
"tcp_failures": 0,
"timeouts": 0,
"http_failures": 0
},
"healthy": {
"http_statuses": [
200,
201,
202,
203,
204,
205,
206,
207,
208,
226,
300,
301,
302,
303,
304,
305,
306,
307,
308
],
"successes": 0
}
},
"threshold": 0,
"active": {
"type": "http",
"http_path": "/data",
"https_sni": null,
"timeout": 2,
"healthy": {
"interval": 10,
"http_statuses": [
200,
302
],
"successes": 2
},
"unhealthy": {
"interval": 3,
"tcp_failures": 1,
"timeouts": 1,
"http_failures": 0,
"http_statuses": [
429,
404,
500,
501,
502,
503,
504,
505
]
},
"https_verify_certificate": false,
"concurrency": 10
}
},
"hash_fallback_header": null,
"hash_on": "none",
"created_at": 1637840050,
"hash_on_cookie": null,
"hash_on_cookie_path": "/",
"hash_fallback": "none",
"algorithm": "round-robin",
"tags": null,
"name": "testHealthy",
"host_header": null,
"slots": 1000
}
如题
或者说如何让kong支持,同一个域名 能代理到http和https
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.