code: func lookupPXAPIPortFromService(svc *v1.Service) int32 {
  	for _, p := range svc.Spec.Ports {
  		if p.Port == osdMgmtDefaultPort {
  			return p.TargetPort.IntVal
  		}
  	}
  	return osdMgmtDefaultPort // default
  }
docs: // lookupPXAPIPortFromService goes over all the ports in the given service and returns the target
  // port for osdMgmtDefaultPort