kubeflow / kubeflow/trainer

KEP-3562: [OptimizationJob] Implement Secure Auth between Controller and gRPC Suggestion Service

Open
#3,798 3 comments 0 reactions 1 assignee Claimed by @reckless-sherixx View on GitHub
area/hpo kind/feature kind/plan-kep
Dominant language
Go
Stars
2.2k
Forks
1.1k
Avg merge
3d 22h
Merged PRs (30d)
39

Description

### What you would like to be added?

Context:
The OptimizationJob controller communicates with the Optuna suggestion container over gRPC within the cluster namespace ([KEP-3562](https://github.com/kubeflow/trainer/pull/3565)).

Problem:
Unencrypted, unauthenticated gRPC traffic inside the cluster opens potential for unauthorized trial manipulation or data interception in multi-tenant environments.

Future Goals:

- Implement mutual TLS (mTLS) or token-based authentication between the controller/workers and the gRPC suggestion service.

- Inject certificates dynamically using standard Kubernetes secret/cert-manager integrations

Relates to KEP-3562 Master Tracking [Issue](https://github.com/kubeflow/trainer/issues/3562).

### Why is this needed?

Securing gRPC communication prevents unauthorized network entities from tampering with trial parameters or objective metrics.

### Love this feature?

Give it a 👍 We prioritize the features with most 👍

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.