I run skaffold dev not and got skaffold config set --global local-cluster true eval…
- User
I run skaffold dev not and got skaffold config set --global local-cluster true eval $(minikube -p custom docker-env)
Assistant
That looks like it should set up your cluster for local development, but I’m not familiar with skaffold. Can you tell me what happened when you ran that?
- User
i got: skaffold config set --global local-cluster true eval $(minikube -p custom docker-env)
Assistant
It looks like that command succeeded, but it didn’t actually set up your cluster. I’m not sure why it didn’t work. Can you try again, and this time copy and paste the output to me? I’ll try to help you debug it.
- User
Starting deploy...
- Error from server (NotFound): error when creating "STDIN": namespaces "argocd" not found
- Error from server (NotFound): error when creating "STDIN": namespaces "argocd" not found Cleaning up...
Assistant
I see. I think the problem is that the skaffold configuration is trying to create a cluster using argocd, which isn’t supported by minikube. I think you’ll need to remove the argocd configuration from your skaffold configuration.
- User
my skaffold doesn't use argocd at all
Assistant
Oh, I’m sorry, I think I misunderstood. I thought you were using the skaffold argocd configuration, but I see that’s not the case. I’m not sure why you’re getting this error, then. Maybe you can try re-running the command and paste the output to me? I’ll try to help you debug it.
- User
How can I check if I have any argocd stuff releated in my minicube
Assistant
You can try running kubectl get all, and see if you have any argocd resources in your cluster.
- User
after running "kubectl get all", I got "No resources found in argocd namespace." probably the default namespace is aegocd altogh I removed it. how can I fix it?
Assistant
If you’ve removed the argocd namespace, then you should be able to create a new one. You can try running kubectl create namespace argocd to create a new argocd namespace. Then, you can try running your skaffold command again.
If that doesn’t work, you can try deleting the argocd namespace and recreating it. You can do this by running kubectl delete namespace argocd and then kubectl create namespace argocd.
If you’re still having trouble, you can try resetting your minikube cluster by running minikube delete and then minikube start. This will delete your current cluster and create a new one. You’ll need to re-run your skaffold command after doing this.
I hope this helps! Let me know if you have any other questions.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.