Skip to content

Unable to apply manifest to cluster #231

@AnthonyDeveloper77

Description

@AnthonyDeveloper77

🔥 Bug Description

I can successfully init and generate the manifest, and I can see the images pushed to docker hub, however, when I apply, I get the below error message.

Would you like to deploy the generated manifests to a kubernetes cluster defined in your kubeconfig file? [y/n] (y): y
(?) Done: Successfully set the Active Kubernetes Context to 'docker-desktop'
(!) Failed to apply manifests to cluster.
(!) Error: Value cannot be null. (Parameter 'path1')

I tried to apply to docker-desktop, minikube and AKS, and the result is same.

It worked fine last week, but not anymore. I presume, some local configuration that I was fiddling with caused this issue, but I can't figure what it is.

🔍 Steps to Reproduce the Bug

  1. Create the Aspire solution in VS 2022,
  2. Execute aspirate init and set the container registry
  3. Execute aspirate generate which generates the manifest, and image is pushed to the container registry (docker hub)
  4. Execute aspirate apply and select the kubernetes cluster from the kubeconfig file
  5. after a few second it returns the above error message.

🧯 Possible Solution

  • Usefull tips or places to start go here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions