> Markdown version of [/videos/100705-architecting-secure-and-encrypted-microservices-in-k8s](https://www.wearedevelopers.com/videos/100705-architecting-secure-and-encrypted-microservices-in-k8s). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Architecting Secure and Encrypted Microservices in K8s Are sidecar proxies slowing down your Kubernetes cluster? Learn how to secure gRPC microservices using proxyless mTLS, automated certificate rotation, and microsecond JWT validation without paying the latency tax. - **Speakers:** [MV Shiva](https://www.wearedevelopers.com/@mv-shiva), [Arushi Garg](https://www.wearedevelopers.com/@arushi-garg) - **Event:** Conference India 2026 - **Published:** November 25, 2026 - **Duration:** 22:11 - **URL:** https://www.wearedevelopers.com/videos/100705-architecting-secure-and-encrypted-microservices-in-k8s - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/39ee5cecb33a2b8d1031609bf01e466e/thumbnails/thumbnail.jpg?time=30000ms ## Summary Default Kubernetes clusters leave pod-to-pod communication open, ephemeral, and often unencrypted. MV Shiva (Google) and Arushi Garg (Adobe) present a practical framework—"lock it, prove it, and check it"—for securing high-performance gRPC microservices in Kubernetes without the overhead of sidecar proxies. To encrypt traffic and verify service identity, teams should implement Mutual TLS (mTLS). Because manual certificate tracking across dozens of services often leads to outages from expired credentials, Kubernetes-native Cert-Manager can automate certificate issuance and renewal via YAML. Furthermore, gRPC's built-in xDS client enables a proxyless service mesh architecture. By connecting directly to an xDS-compatible control plane, applications dynamically receive routing, mTLS configurations, and method-level RBAC rules without paying the CPU, memory, and latency costs of sidecar network hops. Using an xDS bootstrap file with a `file_watcher` plugin also ensures renewed certificates reload every 600 seconds with zero restarts. While mTLS authenticates the calling service, it cannot identify the end user, survive edge TLS termination, or extend to external clients. OAuth2 and JWT fill this gap: OAuth2 handles token acquisition, while short-lived JWTs passed in gRPC bearer metadata allow server interceptors to verify user identity locally in microseconds. As Arushi Garg summarizes, "mTLS tells you the service, and JWT tells you the user." **Keywords:** gRPC microservices security, Kubernetes pod-to-pod encryption, mutual TLS (mTLS), proxyless service mesh, Cert-Manager certificate automation, xDS control plane, gRPC xDS credentials, zero-restart certificate reloading, method-level RBAC rules, OAuth2 token acquisition, JWT user authentication, gRPC server interceptors, Protocol Buffers binary serialization, HTTP/2 connection multiplexing, east-west cluster traffic, private certificate authority (CA) ## Chapters 1. **Why Kubernetes teams choose gRPC for internal microservice communication** (00:45) — Traditional REST APIs create overhead with verbose JSON payloads, whereas gRPC improves internal communication through HTTP/2 multiplexing, strict Protobuf contracts, and built-in xDS support. 1. **Securing default Kubernetes networking with mutual TLS in Java** (06:18) — Default Kubernetes clusters allow unencrypted pod-to-pod traffic with ephemeral IPs, requiring mutual TLS (mTLS) in gRPC Java to encrypt channels and verify service identities. 1. **Automating certificate lifecycle management in Kubernetes using cert-manager** (09:21) — Manually managing certificates across microservices leads to production outages from expirations, which cert-manager prevents by automating issuance, signing, and renewal via Kubernetes secrets. 1. **Eliminating sidecar proxies with proxyless gRPC service mesh architecture** (10:56) — Traditional sidecar proxies add CPU, memory, and latency overhead to every pod, which proxyless gRPC eliminates by using a built-in xDS client to communicate directly with the control plane. 1. **Implementing xDS credentials and dynamic certificate reloading in code** (13:34) — Hardcoding file paths prevents applications from picking up renewed certificates without restarting, a problem solved by using xDS credentials and a bootstrap file watcher plugin. 1. **Enforcing mTLS and role-based access control via xDS policies** (15:28) — Pushing mTLS and RBAC policies from the control plane secures method-level access without code changes, though plaintext health checks must be moved to a dedicated port to prevent probe failures. 1. **Combining OAuth2 and JWT with mTLS for end-user authentication** (16:50) — Because mTLS only verifies service identity and cannot pass end-user context through proxies, teams must combine OAuth2 and JWTs in gRPC metadata to authenticate individual users. 1. **Step-by-step roadmap for migrating to encrypted gRPC microservices** (19:39) — Transitioning from plaintext to a defense-in-depth architecture is achieved incrementally by auditing services, automating certificates with cert-manager, adopting xDS credentials, and enforcing RBAC and JWT validation. ## Related Moments - [Introduction to Kubernetes security challenges and opportunities](https://www.wearedevelopers.com/videos/412-kubernetes-security-challenge-and-opportunity) (from "Kubernetes Security - Challenge and Opportunity") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/ff0b81965bd8a46c1529e2a44072df0b/thumbnails/thumbnail.jpg?time=106500ms - [Securing kubernetes clusters and database connections effectively](https://www.wearedevelopers.com/videos/100089-trust-issues-because-zero-trust-isn-t-optional-anymore) (from "Trust Issues: Because Zero-Trust Isn’t Optional Anymore") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/aa24e56e0bf0db603bd638f41ca3641c/thumbnails/thumbnail.jpg?time=315470ms - [Platform security fundamentals using Istio service mesh](https://www.wearedevelopers.com/videos/123-get-started-with-securing-your-cloud-native-java-microservices-applications) (from "Get started with securing your cloud-native Java microservices applications") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/e55f00b3b942a452f40919a27e6a7943/thumbnails/thumbnail.jpg?time=54505ms - [Applying zero trust architecture to backend microservices](https://www.wearedevelopers.com/videos/100089-trust-issues-because-zero-trust-isn-t-optional-anymore) (from "Trust Issues: Because Zero-Trust Isn’t Optional Anymore") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/aa24e56e0bf0db603bd638f41ca3641c/thumbnails/thumbnail.jpg?time=315470ms - [Handling passwords and certificates securely via Kubernetes secrets](https://www.wearedevelopers.com/videos/100085-understanding-kubernetes-in-a-visual-way) (from "Understanding Kubernetes in a visual way") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/14d8a68a963adfbf20fcf9f601892533/thumbnails/thumbnail.jpg?time=309590ms - [Audience questions on security, limitations, and Kubernetes crossover](https://www.wearedevelopers.com/videos/732-kubernetes-dev-is-fun-but-setup-and-ops-isn-t-see-a-fun-paas-alternative-to-push-any-code-ipynbs-or-even-just-data) (from "Kubernetes dev is fun, but setup and ops isn't! See a fun PaaS alternative to push any code, ipynbs or even just data!") - **Thumbnail URL:** https://customer-goifxnzhrq3d0d54.cloudflarestream.com/d0f71280b42675a850b6874bd9efee2a/thumbnails/thumbnail.jpg?time=357990ms ## Related Articles - [Do You Trust Your Agents? Five Quick Ways to Contain Them](https://www.wearedevelopers.com/magazine/787-do-you-trust-your-agents-five-quick-ways-to-contain-them) - [Events like RSAC Get You CISOs. Developers Decide What Actually Gets Deployed.](https://www.wearedevelopers.com/magazine/693-events-like-rsac-get-you-cisos-developers-decide-what-actually-gets-deployed) - [Infer Once, Run Everywhere: Zero-Token Architecture](https://www.wearedevelopers.com/magazine/783-infer-once-run-everywhere-zero-token-architecture) - [Dev Digest 234: How X's Feed Works, Top 10 CI/CD Risks & Meat Proxies](https://www.wearedevelopers.com/magazine/755-dev-digest-234-how-x-s-feed-works-top-10-ci-cd-risks-meat-proxies) ## Related Jobs - [Principal Engineer, Cloud Security](https://www.wearedevelopers.com/jobs/ext/4819953-principal-engineer-cloud-security) at **Twilio** - [Senior Engineer, Security Automation](https://www.wearedevelopers.com/jobs/ext/4831143-senior-engineer-security-automation) at **Twilio** - [Security Architect](https://www.wearedevelopers.com/jobs/ext/4904894-security-architect) at **PwC** - [Senior Cloud Security Engineer (Wiz) | Managed Services Operations](https://www.wearedevelopers.com/jobs/ext/4711708-senior-cloud-security-engineer-wiz-managed-services-operations) at **PwC** - [Senior Cloud Security Engineer](https://www.wearedevelopers.com/jobs/ext/4659625-senior-cloud-security-engineer) at **GitHub** - [Senior Cloud Security Engineer](https://www.wearedevelopers.com/jobs/ext/4693925-senior-cloud-security-engineer) at **GitHub**