diff --git a/pkg/driverbuilder/kubernetes.go b/pkg/driverbuilder/kubernetes.go index 9479bdeb..ab723f09 100644 --- a/pkg/driverbuilder/kubernetes.go +++ b/pkg/driverbuilder/kubernetes.go @@ -194,6 +194,7 @@ func (bp *KubernetesBuildProcessor) buildModule(b *builder.Build) error { RestartPolicy: corev1.RestartPolicyNever, SecurityContext: &secuContext, ImagePullSecrets: imagePullSecrets, + NodeSelector: map[string]string{corev1.LabelArchStable: kr.Architecture.String()}, Containers: []corev1.Container{ { Name: name, @@ -236,6 +237,10 @@ func (bp *KubernetesBuildProcessor) buildModule(b *builder.Build) error { }, } + slog. + With("name", pod.Name, "spec", pod.Spec.String()). + Debug("starting pod") + ctx := context.Background() ctx = signals.WithStandardSignals(ctx) _, err = configClient.Create(ctx, cm, metav1.CreateOptions{})