Code Monkey home page Code Monkey logo

istio-guide's Introduction

istio 实践指南

关于本书

本书为电子书形式,内容为本人多年的云原生与 istio 实战经验进行系统性整理的结果,不废话,纯干货。

在线阅读

地址:https://imroc.cc/istio

评论与互动

本书已集成 giscus 评论系统,欢迎对感兴趣的文章进行评论与交流。

贡献

本书使用 docusaurus 构建,已集成自动构建和发布,欢迎 Fork 并 PR 来贡献干货内容 (点击左下角 编辑此页 按钮可快速修改文章)。

许可证

您可以使用 署名 - 非商业性使用 - 相同方式共享 4.0 (CC BY-NC-SA 4.0) 协议共享。

istio-guide's People

Contributors

imroc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

istio-guide's Issues

你好,关于headlessservice相关问题当中介绍的pod 重建后访问失败,在istio1.14.1当中也未能得到解决

你好,关于headlessservice相关问题当中介绍的pod 重建后访问失败,在istio1.14.1当中也未能得到解决

k8s version: k3s+v1.24.4
istio version: 1.14.1

链路: 内部nginx网关 -》server
现象:

  1. 网关(sidecar) -> server(sidecar), 重启server后网关502
  2. 网关(sidecar) -> server(no sidecar), 重启server后网关502
  3. 网关(no sidecar) -> server(no sidecar), 重启server后网关ok

这是正常请求下,网关istio-proxy的日志

{
    "downstream_remote_address":"10.42.0.0:0",
    "duration":0,
    "upstream_transport_failure_reason":null,
    "protocol":"HTTP/1.1",
    "requested_server_name":"outbound_.80_.release-k3s_.orange-gateway-a.sopei-biz.svc.cluster.local",
    "connection_termination_details":null,
    "bytes_sent":0,
    "upstream_host":"10.42.2.212:80",
    "response_code":304,
    "user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
    "upstream_service_time":"0",
    "response_code_details":"via_upstream",
    "start_time":"2022-12-14T02:17:13.015Z",
    "path":"/",
    "downstream_local_address":"10.42.2.212:80",
    "upstream_cluster":"inbound|80||",
    "response_flags":"-",
    "authority":"<my remoteAddr>",
    "upstream_local_address":"127.0.0.6:35737",
    "route_name":"default",
    "x_forwarded_for":"xxx,10.42.0.0",
    "method":"GET",
    "request_id":"ede72a4a-c171-4ec0-99bd-f07e05e66c62",
    "bytes_received":0
}

这是非正常请求下,网关istio-proxy的日志

{
    "path":"/socket.io/?EIO=3&transport=websocket",
    "method":"GET",
    "upstream_cluster":"inbound|80||",
    "authority":"<my remoteAddr>",
    "response_code":502,
    "duration":6217,
    "bytes_received":0,
    "request_id":"fdf17622-247d-9e5d-bafc-6140d355e78f",
    "connection_termination_details":null,
    "upstream_service_time":null,
    "upstream_local_address":"127.0.0.6:53377",
    "downstream_local_address":"10.42.2.212:80",
    "upstream_transport_failure_reason":null,
    "route_name":"default",
    "user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
    "start_time":"2022-12-14T02:20:25.703Z",
    "protocol":"HTTP/1.1",
    "x_forwarded_for":"xxx,10.42.1.0",
    "response_flags":"-",
    "bytes_sent":556,
    "upstream_host":"10.42.2.212:80",
    "downstream_remote_address":"10.42.1.0:0",
    "response_code_details":"via_upstream",
    "requested_server_name":"outbound_.80_.release-k3s_.orange-gateway-a.sopei-biz.svc.cluster.local"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.