Skip to content
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

GKE deployment from Jenkins Issues fails in Verify issue #307

Open
bangupoc opened this issue Jan 30, 2023 · 0 comments
Open

GKE deployment from Jenkins Issues fails in Verify issue #307

bangupoc opened this issue Jan 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bangupoc
Copy link

bangupoc commented Jan 30, 2023

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

GKE 1.24.7-gke.900 Google Kubernetes Engine Plugin 0.8.7 Jenkins 2.375.2

Reproduction steps

step([ $class: 'KubernetesEngineBuilder', projectId: env.PROJECT_ID, clusterName: env.CLUSTER_NAME, location: env.REGION, manifestPattern: 'deployment-app.yaml', credentialsId: env.CREDENTIALS_ID, verifyDeployments: true])

Expected Results

Deployment will Succeed

Actual Results

Deployment failing when verfy=true is passed
Verifying: apps/v1/Deployment: deployment-app Failed to verify apps/v1/Deployment: deployment-app java.io.IOException: Failed to launch command args: [kubectl, --kubeconfig, /var/lib/jenkins/workspace/sample_dev_gke_deploy@tmp/.kube5135053502047210947config, get, deployment, deployment-app, -o, json], status: 1. Logs: Error from server (NotFound): deployments.apps "deployment-app" not found at com.google.jenkins.plugins.k8sengine.KubectlWrapper.launchAndJoinCommand(KubectlWrap

Anything else?

@bangupoc bangupoc added the bug Something isn't working label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant