VMs: Need ability to terminate HTTPs at sidecar & initiate https to inbound endpoint

Open
#1,115 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
api, networking

Research direction

Start with the Sidecar, ServiceEntry, and Gateway API definitions named in the issue, and compare how inbound paths and certificates are represented. The work is complete when the project has an agreed API model for terminating inbound HTTPS and initiating HTTPS to the VM application without per-service gateway workarounds.

Written by the indexing model from the issue text.

Description

lifecycle/needs-triage

We are constantly coming across scenarios in VM deployments where certificates per app are mounted onto the VMs. The existing services terminate HTTPS at the application layer. When introducing a sidecar in this scenario, if we wish to maintain transparency of the mesh, we need the sidecar to be able to terminate HTTPS in the inbound path and also be able to initiate HTTPS from the sidecar to the app on the localhost.

We could augment the Sidecar's Ingress section to be able to specify the certs for the ingress as well as a toggle indicating the need to do https in the default endpoint. This however does not align with the fact that the VM's service is declared in a service entry [which determines the default inbound paths] and the sidecar then declares additional properties of the service ports. So another alternative would be to define the ingress certs on the service entry. And a final not so clean alternative is to make each VM service a gateway so that we can define inbound HTTPs with certs with some hacks for sidecar to app https. Such a model does not scale when we have to handle large numbers of VM services that could also have east to west communication.

cc @louiscryan
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience

Additional context

Dominant language
Go
Stars
523
Forks
623
Avg merge
5d 20h
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from istio/api

All issues in istio/api

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.