-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error for .kube directory already existent with DeploymentAction #5374
Comments
Hi @kprakashcontender , |
Hi, @yesnault As you've suspected there is a ".kube" directory in the current workspace. |
ok, so the plugin needs :
|
So, do you suspect that this could be a bug with the plugin. If yes, what would be your advice as a temporary fix? |
@kprakashcontender the temporary workaround is to delete .kube directory in the action script before. |
Hello Team,
I have a job configured with Deployment Action and the Kubernetes Integration on the project is configured with the Deployment File correctly. I am deploying a sample Flask Application, and the Pipeline Job Configuration has the below steps.
When the Workflow Runs, the following error is displayed.
[INFO] Starting step "DeployApplication"
[INFO] # Plugin Kubernetes Deployment Plugin v0.47.0+cds.13856 is ready
[INFO] Cannot create directory .kube : mkdir .kube: file exists
[INFO] # Details: Cannot create directory .kube : mkdir .kube: file exists
[INFO] # Status: Fail
[INFO] Stopping plugin...
[INFO] End of step "DeployApplication" (3s)
I have tried to locate the ".kube" and it is only found in three places as below.
I don't see a reason why this is a problem, as when I a manually apply the Deployment file using "kubectl apply -f it works absolutely fine. Any help on this would be very useful. Thanks.
The text was updated successfully, but these errors were encountered: