# Replace kong-zj with the IP address or domain name of the self-built Cloud Native API Gateway.deck --kong-addr http://kong-zj:8001/ dump
kong.yaml file.# Note that the kong.yaml content will be different from the actual situation.cat kong.yaml
_format_version: "1.1"plugins:- config:per_consumer: falseenabled: truename: prometheusprotocols:- grpc- grpcs- http- httpsservices:- connect_timeout: 60000host: 127.0.0.1name: admin-apipath: /port: 8001protocol: httpread_timeout: 60000retries: 5routes:- https_redirect_status_code: 426name: admin-apipath_handling: v1paths:- /admin-apipreserve_host: falseprotocols:- http- httpsregex_priority: 0request_buffering: trueresponse_buffering: truestrip_path: truewrite_timeout: 60000- connect_timeout: 60000host: www.tencent.comname: tencentpath: /port: 80protocol: httpread_timeout: 60000retries: 5routes:- https_redirect_status_code: 426id: 040b0c62-4d31-4286-a595-1832e55bf568path_handling: v1paths:- /preserve_host: falseprotocols:- http- httpsregex_priority: 0request_buffering: trueresponse_buffering: truestrip_path: truewrite_timeout: 60000
Kong.yaml and the Cloud Native Kong Gateway.# Replace kong-tencent with the proxy address of the Tencent Cloud Cloud Native Gateway Kong.deck --kong-addr http://kong-tencent/admin-api diffcreating service tencentcreating route 040b0c62-4d31-4286-a595-1832e55bf568creating plugin prometheus (global)Summary:Created: 3Updated: 0Deleted: 0
Kong.yaml into Cloud Native API Gateway.# Replace kong-tencent with the proxy address of the Tencent Cloud Cloud Native Gateway Kong.deck --kong-addr http://kong-tencent/admin-api synccreating service tencentcreating route 040b0c62-4d31-4286-a595-1832e55bf568creating plugin prometheus (global)Summary:Created: 3Updated: 0Deleted: 0



Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários