Deploy/Dev/DataPipeLine/BootstrapMinimal #3512
jaingaurav126
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting error on Jenkins for Deploy/Dev/DataPipeLine/BootstrapMinimal job
TASK [Creating namespace] ******************************************************
failed: [localhost] (item=flink-dev) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create namespace flink-dev ",
"delta": "0:00:00.056705",
"end": "2022-09-10 15:45:10.472258",
"item": "flink-dev",
"rc": 1,
"start": "2022-09-10 15:45:10.415553"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
failed: [localhost] (item=flink-kp-dev) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create namespace flink-kp-dev ",
"delta": "0:00:00.051279",
"end": "2022-09-10 15:45:10.622475",
"item": "flink-kp-dev",
"rc": 1,
"start": "2022-09-10 15:45:10.571196"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
failed: [localhost] (item=secor) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create namespace secor ",
"delta": "0:00:00.051477",
"end": "2022-09-10 15:45:10.768236",
"item": "secor",
"rc": 1,
"start": "2022-09-10 15:45:10.716759"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
failed: [localhost] (item=monitoring) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create namespace monitoring ",
"delta": "0:00:00.048856",
"end": "2022-09-10 15:45:10.909789",
"item": "monitoring",
"rc": 1,
"start": "2022-09-10 15:45:10.860933"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
failed: [localhost] (item=logging) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create namespace logging ",
"delta": "0:00:00.074478",
"end": "2022-09-10 15:45:11.095189",
"item": "logging",
"rc": 1,
"start": "2022-09-10 15:45:11.020711"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
...ignoring
TASK [Creating docker secrets] *************************************************
failed: [localhost] (item=flink-dev) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create secret docker-registry devregistrysecret --namespace flink-dev --docker-server https://index.docker.io/v1 --docker-username dikshauat --docker-password Inspira@123 --dry-run=client -o=yaml | kubectl apply -f -",
"delta": "0:00:00.061776",
"end": "2022-09-10 15:45:11.297435",
"item": "flink-dev",
"rc": 1,
"start": "2022-09-10 15:45:11.235659"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
failed: [localhost] (item=flink-kp-dev) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create secret docker-registry devregistrysecret --namespace flink-kp-dev --docker-server https://index.docker.io/v1 --docker-username dikshauat --docker-password Inspira@123 --dry-run=client -o=yaml | kubectl apply -f -",
"delta": "0:00:00.054101",
"end": "2022-09-10 15:45:11.455443",
"item": "flink-kp-dev",
"rc": 1,
"start": "2022-09-10 15:45:11.401342"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
failed: [localhost] (item=secor) => {
"ansible_loop_var": "item",
"changed": true,
"cmd": "kubectl create secret docker-registry devregistrysecret --namespace secor --docker-server https://index.docker.io/v1 --docker-username dikshauat --docker-password Inspira@123 --dry-run=client -o=yaml | kubectl apply -f -",
"delta": "0:00:00.050564",
"end": "2022-09-10 15:45:11.607731",
"item": "secor",
"rc": 1,
"start": "2022-09-10 15:45:11.557167"
}
STDERR:
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin not found
It looks like you are trying to use a client-go credential plugin that is not installed.
To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins
Install gke-gcloud-auth-plugin for use with kubectl by following https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
MSG:
non-zero return code
PLAY RECAP *********************************************************************
localhost : ok=3 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=1
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // stage
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] stage
[Pipeline] { (slack_notify)
[Pipeline] sh
[Pipeline] sh
[Pipeline] sh
[Pipeline] echo
Could not find env specific Slack channel. Check for global slack channel..
[Pipeline] echo
Could not find slack environment variable. Skipping slack notification..
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] stage
[Pipeline] { (email_notify)
[Pipeline] sh
[Pipeline] echo
Could not find env specific email group. Check for global email group..
[Pipeline] echo
Could not find global email group variable. Skipping email notification..
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE
Beta Was this translation helpful? Give feedback.
All reactions