diff --git a/pkg/embeddedcluster/node_join.go b/pkg/embeddedcluster/node_join.go index ad4489e1b8..1482813700 100644 --- a/pkg/embeddedcluster/node_join.go +++ b/pkg/embeddedcluster/node_join.go @@ -380,7 +380,7 @@ func GenerateK0sJoinCommand(ctx context.Context, client kubernetes.Interface, ro // gets the port of the 'admin-console' service func getAdminConsolePort(ctx context.Context, client kubernetes.Interface) (int32, error) { - svc, err := client.CoreV1().Services(util.PodNamespace).Get(ctx, "kotsadm-nodeport", metav1.GetOptions{}) + svc, err := client.CoreV1().Services(util.PodNamespace).Get(ctx, "admin-console", metav1.GetOptions{}) if err != nil { return -1, fmt.Errorf("failed to get admin-console service: %w", err) }