diff --git a/plugins/scheduler-k3s/k8s.go b/plugins/scheduler-k3s/k8s.go index 8c056581d..99483f883 100644 --- a/plugins/scheduler-k3s/k8s.go +++ b/plugins/scheduler-k3s/k8s.go @@ -117,6 +117,9 @@ func (k KubernetesClient) ApplyKubernetesManifest(ctx context.Context, input App "-f", input.Manifest, }, + Env: map[string]string{ + "KUBECONFIG": KubeConfigPath, + }, StreamStdio: true, }) if err != nil {