mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-04 21:32:39 +08:00
Port and TargetPort are assumed to be the same.
If Tensorboard has 6006 set, we also set it to 6006.
This commit is contained in:
@@ -429,7 +429,7 @@ func (c *Client) createWorkflow(namespace string, workflowTemplateID uint64, wor
|
|||||||
Name: port.Name,
|
Name: port.Name,
|
||||||
Protocol: port.Protocol,
|
Protocol: port.Protocol,
|
||||||
Port: port.ContainerPort,
|
Port: port.ContainerPort,
|
||||||
TargetPort: intstr.FromInt(int(port.HostPort)),
|
TargetPort: intstr.FromInt(int(port.ContainerPort)),
|
||||||
}
|
}
|
||||||
servicePorts = append(servicePorts, servicePort)
|
servicePorts = append(servicePorts, servicePort)
|
||||||
route := networking.HTTPRoute{
|
route := networking.HTTPRoute{
|
||||||
|
Reference in New Issue
Block a user