Sandaru
Wijewardhana
I write the software that keeps other software running. Go operators on Kubernetes at WSO2, a multi‑tenant TypeScript SaaS I built and operate alone at BayWork, and patches merged upstream into Prometheus. Design, code, deploy, on-call — the whole loop.
Four things I get paid to be good at
CRDs, reconcilers and vertical autoscaling in Go. Harbor on RKE2 and Harvester HCI, provisioned by an operator instead of by hand.
Typed REST services with real isolation: schema-per-tenant PostgreSQL, JWT and RBAC to OWASP ASVS 5.0 L2, p95 under 120 ms.
Terraform, Argo Workflows and GitHub Actions. Multi-AZ AWS designs costed down to dollars per tenant per month.
A React console, an invoicing domain model, the pricing page and the support calls. I run what I write.
Two systems I own, drawn as they run
Follow the traffic. Hover any node for the decision behind it.
Where the work happened
Site Reliability Engineer Intern
- Architected and built Registry-as-a-Service as the sole engineer for Open Cloud Datacenter, WSO2’s open-source private cloud — CRDs, operator reconcilers and 3-level vertical auto-scaling that cut wasted resource usage by up to 80%.
- Automated multi-tenant 7-pod Harbor deployments in under 2.5 minutes, down from an hour of manual setup.
- Engineered end-to-end testing for the VM-provisioning capability module inside a team building an automated Harvester HCI upgrade acceptance-testing suite, using Argo Workflows, Terraform and Go assertions.
Founder & Sole Engineer
- Founded and single-handedly run a multi-tenant B2B SaaS ERP — 4 stations deployed, first paying customer onboarded. With no co-founder or team I own market research, pricing, branding, architecture, backend, frontend, database, security, infrastructure and support. The product is stabilised and prepared for acquisition.
- Delivered p95 API latency under 120 ms on a base footprint, on a multi-AZ AWS design (ECS on EC2 + RDS Multi-AZ) fronted by Cloudflare Tunnels — unit cost down to $0.90 per station at 50 stations.
Undergraduate Teaching Assistant
- Ran lab sessions and marked assessments for CO225 Software Construction, CO322 / CO2030 Data Structures & Algorithms I & II, and third-year IoT and web projects.
Patches in repositories you already run
Nine upstream contributions across 300k+ combined stars — seven merged, including Kubernetes, Prometheus, Keycloak and Argo CD.
Built an end-to-end goroutine-leak check on Go 1.27’s leak profile. It found two leaks in kube-controller-manager caused by a nil stop channel — a receive on a nil channel blocks forever, so the HTTPS graceful-shutdown path was unreachable code. Fixed with a cancellable serving context (#141955, merged); the e2e invariant itself is #141850, still under review.
The remote-write “Send Batch Duration” panel queried _bucket series only, so it rendered empty for anyone scraping native histograms. Added two histogram_quantile targets beside the classic ones, so one panel works under either representation with no configuration.
SCIM filtered PATCH removal deleted an entire multivalued attribute instead of the matched values, losing consent-screen data on user profiles. Also made unsupported and/or filters return HTTP 400 rather than a 500.
Auto-hide the pod-highlight control when a resource has only one pod, and clear stale highlights when the log query changes.
Upgraded default nerdctl to v2.3.5 and unblocked automated version tracking by resolving an ARM architecture version constraint that had left armv7 without a matching checksum entry.
Refactored subvolume pinning onto go-ceph’s typed PinSubVolumeInGroup() API instead of untyped CLI commands, enabling non-default subvolume groups and removing hand-rolled JSON marshalling and dead helper code.
Submitted official CNCF Kubernetes conformance results — 441 specs, 0 failures — for Kubespray v2.31.0 on Kubernetes v1.35.4, keeping the distribution’s certification current.
Provenance verification lost keys in a concatenated keyring: armor.Decode reads ahead into a buffer, so the offset after the first block is unrecoverable. Fixed by decoding each armored block from its own reader, with boundary regression tests.
Consent filtering treated “profile unknown” and “profile known but empty” as the same thing, so an empty profile prompted for attributes the user does not have, while an opaque JWT profile prompted for nothing at all.
Engineering, build by build
Three production systems first, then earlier engineering work. Open one to read the trade-off I made and what it bought.
Explainable-AI zero-trust anomaly detection
Detecting attacks inside encrypted traffic without decrypting it, under Zero-Trust assumptions, and explaining every decision. As lead architect I designed the two-stage pipeline, built the Decision Tree stage, and did the packet analysis and feature engineering.
Full explainable analysis cost around 1.2 s per stream — unusable inline. Splitting it into a fast Decision Tree triage stage at 1.2 ms, escalating only suspicious streams to deep analysis, brought the weighted average to 463 ms: a 2.6× speed-up while holding accuracy.
523,534 flows at 0.04% leakage in triage
What I reach for
Depth first, then the full surface area.
Certifications
HTML5, CSS3, JavaScript (ES6+), React.js, Node.js, Express.js, PostgreSQL, MongoDB, RESTful APIs and authentication (JWT, bcrypt).
Linux/Bash, Docker, Kubernetes, Terraform, Jenkins, GitHub Actions, AWS/GCP, Prometheus/Grafana and Argo CD (GitOps).
Modern React: SPAs, JSX, components, props and state, hooks and Vite tooling.
