{"id":16953321,"url":"https://github.com/1046102779/istio-learning","last_synced_at":"2025-10-11T05:06:46.791Z","repository":{"id":58042911,"uuid":"162059850","full_name":"1046102779/istio-learning","owner":"1046102779","description":"istio框架及数据流和代码分析，了解整个istio的数据模型等","archived":false,"fork":false,"pushed_at":"2019-08-02T01:26:22.000Z","size":160,"stargazers_count":21,"open_issues_count":7,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T21:25:04.135Z","etag":null,"topics":["golang","grpc","istio","mixer","pilot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1046102779.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-17T01:47:15.000Z","updated_at":"2022-08-28T03:52:18.000Z","dependencies_parsed_at":"2022-09-01T07:20:57.050Z","dependency_job_id":null,"html_url":"https://github.com/1046102779/istio-learning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1046102779/istio-learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1046102779%2Fistio-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1046102779%2Fistio-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1046102779%2Fistio-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1046102779%2Fistio-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1046102779","download_url":"https://codeload.github.com/1046102779/istio-learning/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1046102779%2Fistio-learning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006334,"owners_count":26084083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","grpc","istio","mixer","pilot"],"created_at":"2024-10-13T22:06:52.788Z","updated_at":"2025-10-11T05:06:46.772Z","avatar_url":"https://github.com/1046102779.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# istio源码阅读分析\n\n## mixer\n\n1. [mixer server实例初始化](mixer/arch.md)\n2. [校验内置的adapters与templates的HandlBuilder接口关系](mixer/adapters-and-templates.md)\n3. [后端存储配置的client初始化](mixer/backend-store.md)\n4. [runtime环境的初始化，非常重要](mixer/runtime.md)\n5. [mixc调用mixs的处理流程](mixer/envoy-proxy-call-grpcclient.md)\n6. [手把手编写template和adapter](mixer/demo)\n\n## pilot\n\n## etcd v3实用命令\n\n```shell\n# 列出所有的key, \n#  1. --keys-only=true, 只显示key。不显示对应的value值;\n#  2. --limit=100, 列出的key数量限制在1000\nETCDCTL_API=3 etcdctl get / --limit=1000 --prefix --keys-only=true \u003e tmp\n\n# 列出所有与mixer server相关配置文件的keys\nETCDCTL_API=3 etcdctl --prefix=true get /registry/config.istio.io --keys-only=true\n\n# 列出自定义的adapter={myperson}\nETCDCTL_API=3 etcdctl get /registry/config.istio.io/adapters/istio-system/myperson\n\n# 列出自定义的template={person}\nETCDCTL_API=3 etcdctl get /registry/config.istio.io/templates/istio-system/person\n```\n\n下面展示自定义template与adapter作为配置文件存储在k8s中的所有相关key\n\n```shell\n/registry/config.istio.io/adapters/istio-system/myperson\n/registry/config.istio.io/attributemanifests/istio-system/istio-proxy\n/registry/config.istio.io/attributemanifests/istio-system/istioproxy\n/registry/config.istio.io/attributemanifests/istio-system/kubernetes\n/registry/config.istio.io/handlers/istio-system/h1\n/registry/config.istio.io/instances/istio-system/i1\n/registry/config.istio.io/kubernetesenvs/istio-system/handler\n/registry/config.istio.io/kuberneteses/istio-system/attributes\n/registry/config.istio.io/logentries/istio-system/accesslog\n/registry/config.istio.io/logentries/istio-system/tcpaccesslog\n/registry/config.istio.io/metrics/istio-system/requestcount\n/registry/config.istio.io/metrics/istio-system/requestduration\n/registry/config.istio.io/metrics/istio-system/requestsize\n/registry/config.istio.io/metrics/istio-system/responsesize\n/registry/config.istio.io/metrics/istio-system/tcpbytereceived\n/registry/config.istio.io/metrics/istio-system/tcpbytesent\n/registry/config.istio.io/prometheuses/istio-system/handler\n/registry/config.istio.io/rules/istio-system/kubeattrgenrulerule\n/registry/config.istio.io/rules/istio-system/promhttp\n/registry/config.istio.io/rules/istio-system/promtcp\n/registry/config.istio.io/rules/istio-system/r1\n/registry/config.istio.io/rules/istio-system/stdio\n/registry/config.istio.io/rules/istio-system/stdiotcp\n/registry/config.istio.io/rules/istio-system/tcpkubeattrgenrulerule\n/registry/config.istio.io/stdios/istio-system/handler\n/registry/config.istio.io/templates/istio-system/person\n```\n\n## 参考文献\n\n[mixer遥测报告](https://segmentfault.com/a/1190000015685943)\n\n## 说明\n\n\u003e 希望与大家一起成长，有任何该服务运行或者代码问题，可以及时找我沟通，喜欢开源，热爱开源, 欢迎多交流\n\u003e 联系方式：cdh_cjx@163.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1046102779%2Fistio-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1046102779%2Fistio-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1046102779%2Fistio-learning/lists"}