mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
Signed-off-by: Vedant Mahabaleshwarkar <[email protected]> Signed-off-by: Brett Thompson <[email protected]> Co-authored-by: Brett Thompson <[email protected]>
18 lines
600 B
YAML
18 lines
600 B
YAML
apiVersion: v1
|
||
kind: Service
|
||
metadata:
|
||
name: webhook-service
|
||
namespace: system
|
||
spec:
|
||
ports:
|
||
- name: https
|
||
port: 443
|
||
protocol: TCP
|
||
# targetPort must match the port your webhook server actually listens on
|
||
# if you haven't overridden it in setup.Options.WebhookServer.Port, the default is 9443
|
||
targetPort: 9443
|
||
selector:
|
||
# your controller-manager (or webhook) usually carries these labels;
|
||
# swap them out for whatever you’re using in your Deployment/Pod spec
|
||
control-plane: controller-manager
|
||
app.kubernetes.io/name: kserve-controller-manager |