Skip to content

Commit

Permalink
Merge pull request #614 from ddebeau/add-service-port-name
Browse files Browse the repository at this point in the history
Add name to service port for Istio support
  • Loading branch information
consideRatio committed Jun 27, 2022
2 parents 18d9793 + 9c37b28 commit 02cba70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubespawner/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ def make_service(
metadata=metadata,
spec=V1ServiceSpec(
type='ClusterIP',
ports=[V1ServicePort(port=port, target_port=port)],
ports=[V1ServicePort(name='http', port=port, target_port=port)],
selector={
'component': 'singleuser-server',
'hub.jupyter.org/servername': servername,
Expand Down

0 comments on commit 02cba70

Please sign in to comment.