标签: kong-plugin

Kong API网关的最佳日志记录插件,可利用现有的ELK堆栈日志

谁能帮我从所有可用选项(如 Tcp Log、Udp Log、Http Log、File Log、Syslog、Statsd、Loggly 等)中选择一个可以利用现有 ELK 堆栈日志的 Kong API Gateway 日志插件?

kong kong-plugin elk

3
推荐指数
1
解决办法
5340
查看次数

KongIngress 对象中的 strip_path 和 preserve_host 属性。他们在做什么?

我有一个KongIngress关于 Ingress 资源的对象配置属性,它调用 kong 作为 Ingress 控制器。我实际上有这个配置:

apiVersion: configuration.konghq.com/v1
kind: KongIngress
metadata:
  name: echo-site-ingress
  namespace: hello-world
  annotations:
    kubernetes.io/ingress.class: "kong"
proxy:
  protocols:
    - http
    - https
#  path: /
route:
  methods:
    - POST
    - GET
  strip_path: true
  preserve_host: true
---
#My Ingress resource
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    kubernetes.io/ingress.class: kong
    plugins.konghq.com: helloworld-customer-acceptance-basic-auth, hello-world-customer-acceptance-acl
  name: echo-site-ingress
  namespace: hello-world
spec:
  rules:
  - host: hello-world.bgarcial.me
    http:
      paths:
      - backend:
          serviceName: echo
          servicePort: 80
        path: /
  tls: 
  - hosts:
    - …
Run Code Online (Sandbox Code Playgroud)

basic-authentication kong kubernetes-ingress kong-plugin kong-ingress

0
推荐指数
1
解决办法
3007
查看次数