Skip to content

Service mesh integration with mutual#113

Open
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:Service-Mesh-Integration-with-Mutual
Open

Service mesh integration with mutual#113
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:Service-Mesh-Integration-with-Mutual

Conversation

@gloskull

Copy link
Copy Markdown
Contributor

Motivation
Enforce cluster-wide mutual TLS and explicit allowlists for the utility-contracts namespace to meet security requirements.
Preserve critical-path P99 latency (<100ms) and 99.99% availability via connection pooling, retries, timeouts, and outlier detection.
Provide a blue-green/canary deployment pattern and runbook to enable safe rollouts and fast rollback.
Add offline validation and automated tests so manifests can be verified in CI before cluster application.
Description
Add Istio security manifests: PeerAuthentication/utility-contracts-strict-mtls and AuthorizationPolicy/utility-contracts-service-allowlist in deploy/service-mesh/mtls-policy.yaml to enforce STRICT mTLS and an explicit allowlist.
Add DestinationRule with ISTIO_MUTUAL TLS, connection pool sizing, connect timeout (100ms) and outlier detection in deploy/service-mesh/destination-rules.yaml to bound tail latency and improve resilience.
Add blue-green VirtualService and subset DestinationRule in deploy/service-mesh/traffic-policy.yaml to support blue/green deployments, x-canary header matches, 100ms timeouts, and bounded retries.
Add Prometheus SLO alerts in deploy/service-mesh/monitoring.yaml to detect P99 latency regressions, availability below 99.99%, and mTLS policy drift.
Add a runbook docs/SERVICE_MESH_MTLS.md documenting architecture, deployment steps, canary gates, rollback, and validation commands.
Add an offline manifest validator scripts/validate_service_mesh.py and pytest coverage tests/test_service_mesh_manifests.py to validate the security/SLO invariants without cluster access.
Testing
Ran the offline validator: python3 scripts/validate_service_mesh.py which printed success and exited 0.
Ran the pytest suite: python3 -m pytest tests/test_service_mesh_manifests.py with all tests passing (4 passed).
Both validation script and pytest were executed locally and succeeded.
Closes #71

gloskull added 2 commits July 17, 2026 18:44
…al-tls

Add Istio service-mesh mTLS, blue-green routing, monitoring and validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Service Mesh Integration with Mutual TLS

1 participant