Accelerate Istio-CNI with ebpf0 码力 | 15 页 | 658.90 KB | 1 年前3
Using Istio to Build the Next 5G Platform0 码力 | 18 页 | 3.79 MB | 1 年前3
Istio Security Assessmentand use it below in place of $GATEWAY kubectl -n istio-system get service istio-ingressgateway \ -o jsonpath='{.status.loadBalancer.ingress[0].ip}' 3. In a separate namespace, "test" with sidecar auto-injection should be protected. goroutine profile: total 380 32 @ 0x4374a0 0x405f77 0x405c3b 0x135de04 0x4674a1 # 0x135de03 k8s.io/client- go/tools/cache.(*controller).Run.func1+0x33 k8s.io/client- go@v0.18.0/t Reproduction Steps • istioctl install • kubectl -n istio-system get po istiod-{ISTIOD-INSTANCID} -o yaml • Review that the Apparmor and Seccomp profile annotations are not there Recommendation Make Apparmor0 码力 | 51 页 | 849.66 KB | 1 年前3
Istio audit report - ADA Logics - 2023-01-30 - v1.0infrastructure layer applicable to so�ware applications. Istio is platform and language agnostic, but is o�en used on top of Kubernetes. It offers users easy access to features such as observability, traffic into the source tree of dependencies of Istio to subsequently exploit it. Untrusted users Istio will o�en be deployed with the purpose of accepting untrusted input into the service mesh. Untrusted users os.Stat(dir); os.IsNotExist(err) { err := os.Mkdir(dir, 0o755) if err != nil { return "", err } } if err := os.WriteFile(destFile, data, 0o644); err != nil { return destFile, err } return destFile0 码力 | 55 页 | 703.94 KB | 1 年前3
Istio控制平面组件原理解析2. S通知P(Primary process)关闭其管理的端口,由S接管 • 3. S加载配置,开始绑定listen sockets,在这期间使用UDS从P获取合适的listen sockets • 4. S初始化成功,通知P停止监听新的链接并优雅关闭未完成的工作 • 5. 在P优雅关闭过程中,S会从共享内存中获取stats • 5. 到了时间S通知P自行关闭 • 6. S升级为P • 官方博客:Envoy 43a680af", • "172.00.00.000","Thu, 05 Jul 2018 08:12:19 GMT","780", • "bc1f172f-b8e3-4ec0-a070-f2f6de38a24f","718"]转换成属性词汇异步Flush到Adapter ü通过Template润色数据 ü使用Go的协程异步Flush到Adapter üAdapter展示数据 ü响应envoy数据处理完成问题讨论0 码力 | 30 页 | 9.28 MB | 6 月前3
Performance tuning and best practices in a Knative based, large-scale serverless platform with Istioworkload and provides aggregated data of Knative Service ready duration. o Knative Performance Testing Framework 2 Design #IstioCon o Ingress gateway MEM has linear growth, and it consumes ~=750k for 1 Knative Knative Service (#25145). The envoy mem release fix included in Istio 1.6.0+ resolved this issue. o Istiod MEM bumped with large numbers of Knative Services (#25532) Mem usage optimization of pilot resolved Istio scalability issue o Ingress_lb_ready is the duration from Knative Ingress and istio VirtualService are created to Knative probe thinks the configuration works. o [Istio 1.5.4] Istio is picking0 码力 | 23 页 | 2.51 MB | 1 年前3
Envoy原理介绍及线上问题踩坑调度器 工作线程 网络事件 定时器事件 监 听 器 监 听 过 滤 器 释 放 内 存 记 录 s t a t 状 态 更 新 调度器 L 4 网 络 过 滤 L 7 H T T P 过 滤 路 由 处 理 上 游 连 接 池 • 分为Envoy主线程及worker线程: • 主线程: • 负责初始化Envoy并读取解析配置文件 • 启动gRPC监听器,并启动xDS变化监听 a数据接收。 • 对于HTTP协议,将继续经过L7层编解码处理后向上游发 送请求。 • 当请求处理完毕后,将调用deferredDelete删除请求对象 并记录统计观测数据。 • 使用异步I/O方式发送网络数据,降低对线程内其他操作 的阻塞。 Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 15 Envoy过滤器架构 /config_dump > config.json • 查看listener:istioctl pc listener backend-welink-649fdfd55d-2xhzw --port 8123 -o json • 查看endpoint:istioctl pc endpoint backend-welink-649fdfd55d-2xhzw • 运行期日志 • Accesslog:格式 https://www0 码力 | 30 页 | 2.67 MB | 1 年前3
Is Your Virtual Machine Really Ready-to-go with Istio?Service Entry object combined the lifecycles of both the service and the workloads implementing it, w/o giving a first-class representation for the workloads themselves #IstioCon V1.6-1.8 Better VM Automate provisioning a VM's mesh identity (certificate) ■ based on a platform-specific identity ■ w/o a platform-specific identity ● using a short-lived K8s service account token ● Automatic certificate through the gateway to the service ● The data plane traffic ■ Single network ● direct communication w/o requiring intermediate Gateway ■ Multiple networks ● all goes though the Gateway ● via L3 networking0 码力 | 50 页 | 2.19 MB | 1 年前3
Using ECC Workload
Certificates
(pilot-agent environmental variables)restriction that a plugged in CA certificate must use ECC cryptography (using ECDSA P-256) to use this feature ● Only ECDSA P-256 is supported #IstioCon pilot-agent environmental variables Disclaimer: Environmental that workloads within your cluster are using ECC $ istioctl proxy-config secret. -o json | \ jq'.dynamicActiveSecrets[0].secret.tlsCertificate.certificateChain.inlineBytes' | \ sed 's/"//g' pub: … ASN1 OID: prime256v1 NIST CURVE: P-256 istiod will generate a self-signed CA certificate using RSA if plugged in custom CA certificates 0 码力 | 9 页 | 376.10 KB | 1 年前3
Accelerate Istio with ebpfinformation ● Accessed from eBPF programs as well as from applications in user space ● Map type o HASHMAP o SOCKHASH: Hold socket as value Istio Meetup China ebpf Background Knowledge Prog type ● China Work Flow of Acceleration ● sock_ops o Capture socket in specific states and populate the maps ● sk_msg o When socket send a msg, lookup peer socket o Redirect Istio Meetup China Inbound Acceleration0 码力 | 15 页 | 591.60 KB | 1 年前3
共 19 条
- 1
- 2













