Commit 1cac9a2
Add Istio ambient mode support to Helm chart (#1254)
This commit adds support for Istio ambient mode (sidecar-less data
plane) to all Pulsar components in the Helm chart, following the design
from sn-operator/docs/proposals/istio-ambient-mode-design.md.
Changes:
- Add dataplaneMode field to values.yaml istio section (defaults to
empty for backward compatibility)
- Update PulsarBroker template to include dataplaneMode in istio config
- Update PulsarProxy template to include dataplaneMode in istio config
- Add istio section with dataplaneMode to BookKeeperCluster template
- Add istio section with dataplaneMode to ZooKeeperCluster template
Benefits:
- Backward compatible (empty value defaults to sidecar mode via API)
- Enables ~70-80% resource savings with ambient mode
- Supports migration mode with permissive mTLS
- All components (Broker, Proxy, BookKeeper, ZooKeeper) support ambient
mode
Usage:
Set istio.dataplaneMode: "ambient" to enable sidecar-less data plane Set
istio.dataplaneMode: "sidecar" or leave empty for traditional sidecar
mode
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!--
### Contribution Checklist
- Name the pull request in the form "[charts/<chart-name>] Title of the
pull request".
Skip *[charts/<chart-name>]* if the PR doesn't change a specific chart.
E.g. `[docs] Fix typo in README`.
- Fill out the template below to describe the changes contributed by the
pull request. That will give reviewers the context they need to do the
review.
- Each pull request should address only one issue, not mix up code from
multiple issues.
- Each commit in the pull request has a meaningful commit message
- Once all items of the checklist are addressed, remove the above text
and this checklist, leaving only the filled out template below.
**(The sections below can be removed for hotfixes of typos)**
-->
*(If this PR fixes a github issue, please add `Fixes #<xyz>`.)*
Fixes #<xyz>
*(or if this PR is one task of a github issue, please add `Master Issue:
#<xyz>` to link to the master issue.)*
Master Issue: #<xyz>
### Motivation
*Explain here the context, and why you're making that change. What is
the problem you're trying to solve.*
### Modifications
*Describe the modifications you've done.*
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
*(Please pick either of the following options)*
This change is a trivial rework / code cleanup without any test
coverage.
*(or)*
This change is already covered by existing tests, such as *(please
describe tests)*.
*(or)*
This change added tests and can be verified as follows:
*(example:)*
- *Added integration tests for end-to-end deployment with large payloads
(10MB)*
- *Extended integration test for recovery after broker failure*
### Documentation
Check the box below.
Need to update docs?
- [ ] `doc-required`
(If you need help on updating docs, create a doc issue)
- [x] `no-need-doc`
(Please explain why)
- [ ] `doc`
(If this PR contains doc changes)
Co-authored-by: Claude <[email protected]>1 parent 2c7bb46 commit 1cac9a2
File tree
5 files changed
+33
-0
lines changed- charts/sn-platform-slim
- templates
- bookkeeper
- broker
- proxy
- zookeeper
5 files changed
+33
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
179 | 190 | | |
180 | 191 | | |
181 | 192 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
183 | 194 | | |
184 | 195 | | |
185 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2459 | 2459 | | |
2460 | 2460 | | |
2461 | 2461 | | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
2462 | 2467 | | |
2463 | 2468 | | |
2464 | 2469 | | |
| |||
0 commit comments