पार्श्वयानधर्मः। वस्तुभण्डारे (२१ अक्टो) गृहम्। अत्र सहयानं किं करोति। sidecar, lifecycle, mesh। न विस्मृतप्रॉक्सी; पार्श्वधर्मः।
English (minimizable)
After object storage (21 Oct), this post covers sidecars: cross-cutting duties, lifecycle coupling, resource sums, blast radius, admin ports, version skew, fail open/closed and gateway contrast.
पूर्ण-शीर्षकम् / Full title
पार्श्वयानधर्मः: A Metrical Codification of the Sidecar Pattern (with English glosses)
English · overview and topics (minimizable)
What this post is about
A sidecar is a colocated helper container/process that implements shared platform concerns beside the app.
Topics covered
- Cross-cutting without every language rewrite
- Shared birth/death order
- Resource accounting for both containers
- Blast radius of proxy bugs
- Typical duties (mTLS metrics)
- Admin interface exposure
- App/sidecar version skew
- Fail open vs closed
- Operate the sidecar itself
- Gateway vs sidecar planes
Sanskrit title
पार्श्वयानधर्मः = pārśva-yāna-dharmaḥ “dharma of the side-vehicle / sidecar”.
English
Minimizable; Sanskrit-first.
परम्परा-सन्धिः / Series links
| पूर्वं / Prior | अत्र / Adds | न पुनः / Does not repeat |
|---|---|---|
| परस्परप्रत्ययः (१४ अक्टो) | mTLS | often in sidecar |
| द्वारपालसेवा (१२ अगस्त) | edge gateway | pod-side cousin |
| स्वास्थ्यप्रबोधः (११ अक्टो) | probes | multi-container ready |
| संसाधनमात्रा (१० सितम्बे) | requests/limits | sum both containers |
| इदम् | sidecar lifecycle blast ops | - |
ग्राह्य-त्याज्य-विवेकः / Keep and avoid
ग्राह्यम् / Keep
१. defined start/stop: and volume shares
२. request sum: app+sidecar
३. canary proxy upgrades: mesh rollouts
४. localhost admin: not LAN open
५. compat matrix: app vs proxy versions
६. explicit fail mode: open vs closed
७. sidecar SLOs: cpu restarts cert age
त्याज्यम् / Avoid
- forget sidecar memory in capacity plans
- one bad proxy to 100 percent fleet with no canary
- expose envoy admin to the pod network
अध्याय-योजना / Chapter plan
| प्रकरणम् | विषयः | छन्दः | श्लोकाः |
|---|---|---|---|
| १ | मङ्गलं बीजं च / Opening | अनुष्टुभ् | २ |
| २ | मूलतत्त्वानि / Core | अनुष्टुभ् | २ |
| ३ | मुख्यविधिः / Method | उपजाति | १ |
| ४ | रक्षा · विधिः / Guards | अनुष्टुभ् | २ |
| ५ | विवेक · सीमा / Judgment | अनुष्टुभ् | २ |
| ६ | पूर्वसन्धिः / Series links | उपजाति | १ |
| ७ | उपसंहारः / Close | अनुष्टुभ् | २ |
पारिभाषिक-कोशः / Glossary
| Modern English | संस्कृतम् | Note |
|---|---|---|
| sidecar | पार्श्वयानम् / सहयानम् | |
| service mesh | सेवाजालम् | |
| data plane | दत्तांशसमतलम् | |
| control plane | नियन्त्रणसमतलम् | |
| iptables redirect | मार्गपरिवर्तनम् | |
| ambient mesh | (class) | optional |
| pod | पात्रसमूहः | |
| shared volume | साझखण्डः | |
| proxy | प्रतिनिधिः | |
| injection | निवेशनम् |
श्लोकः १ (अनुष्टुभ्)
पार्श्वयानधर्मस्तस्माद् बाह्यसेवकः ॥१॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
अनुप्रयोगे यदि सर्वं धर्मं लिखेत् तदा भाषा बध्यते ।
पार्श्वयानधर्मस्तस्माद् बाह्यसेवकः ॥१॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| अनुप्रयोगे | in the app |
| सर्वम् | all |
| धर्मम् | duty |
| लिखेत् | if written |
| भाषा | language |
| बध्यते | is bound |
| पार्श्वयानधर्मः | sidecar dharma |
| बाह्यसेवकः | outer servant |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| सर्वं धर्मम् | every cross-cutting concern |
| पार्श्वयानधर्मः | sidecar dharma |
| बाह्यसेवकः | helper process |
English sense
A sidecar is a helper process colocated with the app that takes cross-cutting duties (proxy mTLS metrics) so many languages share one implementation.
Context / topic
Topic: why sidecars.
वृत्तमिति: ८-८-८-८।
श्लोकः २ (अनुष्टुभ्)
अनाथsidecar प्रेतः ॥२॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
lifecycle साथं जन्म मृत्युः ।
अनाथsidecar प्रेतः ॥२॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| lifecycle | lifecycle |
| साथम् | together |
| जन्म | birth |
| मृत्युः | death |
| अनाथsidecar | orphan sidecar |
| प्रेतः | ghost |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| lifecycle साथम् | shared pod lifecycle |
| अनाथsidecar | orphaned helper |
English sense
Start order stop order and shared volumes must be defined. A sidecar that outlives or pre-dies wrong breaks probes.
Context / topic
Topic: lifecycle coupling. Links to health probes.
वृत्तमिति: ८-८-८-८।
श्लोकः ३ (अनुष्टुभ्)
विस्मृतsidecar node thrash ॥३॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
resource requests sidecar+app योगः ।
विस्मृतsidecar node thrash ॥३॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| resource | resource |
| requests | requests |
| sidecar | sidecar |
| app | app |
| योगः | sum |
| विस्मृतsidecar | forgotten sidecar |
| node | node |
| thrash | thrash |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| योगः | sum of both |
| विस्मृतsidecar | forgotten sidecar CPU |
English sense
Schedule on the sum of app and sidecar resources. Ignoring sidecar CPU/memory strands nodes.
Context / topic
Topic: resources. Links to resource quanta.
वृत्तमिति: ८-८-८-८।
श्लोकः ४ (अनुष्टुभ्)
canary mesh विवेकः ॥४॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
blast radius: sidecar bug सर्वान् हन्ति ।
canary mesh विवेकः ॥४॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| blast | blast |
| radius | radius |
| sidecar | sidecar |
| bug | bug |
| सर्वान् | all |
| हन्ति | hurts |
| canary | canary |
| mesh | mesh |
| विवेकः | judgment |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| sidecar bug | shared proxy defect |
| canary mesh | gradual mesh rollout |
English sense
A bad proxy version can fail every language at once. Roll mesh/sidecar updates as carefully as data planes.
Context / topic
Topic: blast radius. Links to canary/experiments.
वृत्तमिति: ८-८-८-८।
श्लोकः ५ (उपजाति)
प्रायः पार्श्वे ।
app code
लघुः तिष्ठेत् ॥५॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
mTLS metrics logging
प्रायः पार्श्वे ।
app code
लघुः तिष्ठेत् ॥५॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| mTLS | mTLS |
| metrics | metrics |
| logging | logging |
| प्रायः | often |
| पार्श्वे | in the side |
| app | app |
| code | code |
| लघुः | light |
| तिष्ठेत् | should stay |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| mTLS metrics logging | cross-cuts |
| लघुः | thin app |
English sense
Classic sidecar jobs: traffic policy, mTLS, telemetry export. Keep business logic in the app container.
Context / topic
Topic: duties split.
सन्धिः: परस्परप्रत्ययः + अवलोकनम्.
वृत्तमिति: एकादशाक्षराः पादाः।
श्लोकः ६ (अनुष्टुभ्)
sidecar admin विश्वे मा ॥६॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
localhost only admin ports ।
sidecar admin विश्वे मा ॥६॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| localhost | localhost |
| only | only |
| admin | admin |
| ports | ports |
| sidecar | sidecar |
| admin | admin |
| विश्वे | to the world |
| मा | not |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| admin ports | debug interfaces |
| विश्वे | on the pod IP public |
English sense
Bind sidecar admin/debug interfaces to localhost or mesh policy not to every pod IP on the LAN.
Context / topic
Topic: admin exposure.
वृत्तमिति: ८-८-८-८।
श्लोकः ७ (अनुष्टुभ्)
matrix परीक्षणम् ॥७॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
version skew app vs sidecar ।
matrix परीक्षणम् ॥७॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| version | version |
| skew | skew |
| app | app |
| vs | vs |
| sidecar | sidecar |
| matrix | matrix |
| परीक्षणम् | testing |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| version skew | incompatible pair |
| matrix | compatibility matrix |
English sense
Publish which app versions work with which sidecar/proxy versions; CI should catch forbidden pairs.
Context / topic
Topic: compatibility.
वृत्तमिति: ८-८-८-८।
श्लोकः ८ (अनुष्टुभ्)
नीतिः स्पशा ॥८॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
fail open vs fail closed proxy down ।
नीतिः स्पशा ॥८॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| fail | fail |
| open | open |
| vs | vs |
| fail | fail |
| closed | closed |
| proxy | proxy |
| down | down |
| नीतिः | policy |
| स्पशा | clear |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| proxy down | sidecar crash |
| fail open/closed | traffic policy |
English sense
If the proxy dies should traffic freeze (fail closed) or bypass (fail open)? Security and availability disagree; pick explicitly.
Context / topic
Topic: failure policy.
वृत्तमिति: ८-८-८-८।
श्लोकः ९ (अनुष्टुभ्)
meta-metrics अवश्यानि ॥९॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
observability of sidecar itself ।
meta-metrics अवश्यानि ॥९॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| observability | observability |
| sidecar | sidecar |
| itself | itself |
| meta-metrics | meta-metrics |
| अवश्यानि | necessary |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| meta-metrics | proxy health |
| अवश्यानि | required |
English sense
Monitor sidecar CPU restarts config push lag and certificate age not only app golden signals.
Context / topic
Topic: operate the helper.
वृत्तमिति: ८-८-८-८।
श्लोकः १० (उपजाति)
पार्श्वयानं पोड्द्वारे ।
mTLS
उभयोः मित्रम् ॥१०॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
द्वारपालः क्लस्टरद्वारे
पार्श्वयानं पोड्द्वारे ।
mTLS
उभयोः मित्रम् ॥१०॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| द्वारपालः | gateway treatise |
| क्लस्टरद्वारे | at cluster edge |
| पार्श्वयानम् | sidecar |
| पोड्द्वारे | at pod door |
| mTLS | mTLS |
| उभयोः | of both |
| मित्रम् | friend |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| द्वारपालः | API gateway |
| पोड्द्वारे | at the pod |
English sense
Gateway is north-south edge policy; sidecar is east-west pod policy. mTLS often lives in the sidecar plane.
Context / topic
Topic: gateway vs sidecar.
सन्धिः: द्वारं बहिः; यानं पार्श्वे।
वृत्तमिति: एकादशाक्षराः पादाः।
श्लोकः ११ (अनुष्टुभ्)
एभिः पार्श्वयानं बाह्यसेवकसमन्वितम् ॥११॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
lifecycle resources blast admin skew पञ्चकम् ।
एभिः पार्श्वयानं बाह्यसेवकसमन्वितम् ॥११॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| lifecycle | lifecycle |
| resources | resources |
| blast | blast |
| admin | admin |
| skew | skew |
| पञ्चकम् | five-set |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| पञ्चकम् | lifecycle resources blast admin skew |
English sense
Five limbs: shared lifecycle, summed resources, careful rollout blast radius, locked admin ports and version skew control.
Context / topic
Topic: checklist.
वृत्तमिति: ८-८-८-८।
श्लोकः १२ (अनुष्टुभ्)
मितं पार्श्वं क्रियायोग्यं तन्त्रधर्मः स उच्यते ॥१२॥
पदच्छेदः · Word-for-word · English (minimizable)
पदच्छेदः
इति पार्श्वयानधर्मसारो बाह्यसेवकसमन्वितः ।
मितं पार्श्वं क्रियायोग्यं तन्त्रधर्मः स उच्यते ॥१२॥
Word-for-word
| संस्कृतपदम् | Word-for-word English |
|---|---|
| इति | thus |
| पार्श्वयानधर्मसारः | sidecar essence |
| बाह्यसेवकः | helper servant |
| मितम् | measured |
| पार्श्वम् | side |
| क्रियायोग्यम् | operable |
| तन्त्रधर्मः | system dharma |
Gloss table
| पदम् | अर्थः / sense |
|---|---|
| मितं पार्श्वम् | measured side process |
| तन्त्रधर्मः | platform dharma |
English sense
Closing: share cross-cuts in a helper but operate that helper like production software.
Context / topic
Topic: close.
उपसंहारन्यायः: धर्मं पार्श्वे देहि; यानं मा विस्मर; क्रमेण वह।
वृत्तमिति: ८-८-८-८।
श्लोकसूची / Verse index
१. Why sidecar
२. Lifecycle
३. Resources
४. Blast radius
५. Duties
६. Admin ports
७. Skew
८. Fail mode
९. Meta-ops
१०. Gateway link
११. Five limbs
१२. Close
सन्दर्भाः / References
- Prior: mTLS 2026-10-14; gateway 2026-08-12; probes 2026-10-11; resources 2026-09-10.
- Domain: sidecar/service mesh data plane ops.
- English minimizable; Sanskrit-first.
- Style: no em dash; no Oxford comma in English clauses.