<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Sidecar on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/sidecar/</link><description>Recent content in Sidecar on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Tue, 21 Feb 2023 00:01:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/sidecar/atom.xml" rel="self" type="application/rss+xml"/><item><title>Several Ways to Inject a Sidecar in Istio</title><link>https://www.chenshaowen.com/en/blog/several-ways-to%20inject%20Sidecar.html</link><pubDate>Tue, 21 Feb 2023 00:01:00 +0000</pubDate><atom:modified>Tue, 21 Feb 2023 00:01:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/several-ways-to%20inject%20Sidecar.html</guid><description>The template Istio uses to inject a Sidecar lives in the istio-sidecar-injector ConfigMap. Annotations let you customize the Sidecar&amp;rsquo;s various parameters, such as CPU usage, proxyImage, and so on. What follows is mainly a summary of the Sidecar injection methods.
1. Add a label to a namespace -&amp;gt; takes effect for the whole namespace Inject the label 1 kubectl label namespace default istio-injection=enabled --overwrite After the application restarts, the Sidecar container will be injected automatically.</description><dc:creator>WeChat Official Account</dc:creator><category>Istio</category><category>Sidecar</category><category>Kubernetes</category><category>Service Mesh</category><category>Operations</category></item></channel></rss>