Skip to content

Commit

Permalink
[RHOAIENG-17229] - Routing and Headless Service Support in KServe Raw…
Browse files Browse the repository at this point in the history
… Mode Deployment

chore:	Follow up: remove the hardcoded clsuterIP setting and add the service
	configuration.

Signed-off-by: Spolti <fspolti@redhat.com>
  • Loading branch information
spolti committed Dec 23, 2024
1 parent a0f5af9 commit d3c7e25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions config/configmap/inferenceservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -602,3 +602,8 @@ data:
{
"autoMountServiceAccountToken": true
}
service: |-
{
"serviceClusterIPNone": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ func createDefaultSvc(componentMeta metav1.ObjectMeta, componentExt *v1beta1.Com
"app": constants.GetRawServiceLabel(componentMeta.Name),
},
Ports: servicePorts,
// TODO - add a control flag
// Need to add a control flag to properly set it, enable/disable this behavior.
// Follow up issue to align with upstream: https://issues.redhat.com/browse/RHOAIENG-5077
ClusterIP: corev1.ClusterIPNone,
},
}

Expand Down

0 comments on commit d3c7e25

Please sign in to comment.