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

Job has reached the specified backoff limit #71

Open
bilalbayasut opened this issue Mar 4, 2021 · 0 comments
Open

Job has reached the specified backoff limit #71

bilalbayasut opened this issue Mar 4, 2021 · 0 comments

Comments

@bilalbayasut
Copy link

bilalbayasut commented Mar 4, 2021

I've setup kube-backup in my cluster and followed all the docs. but I got Job has reached the specified backoff limit as soon as I run the cronjobs. any idea ?

this was the describe output of the job

Name:           kube-state-backup-manual-ltt1y
Namespace:      kube-system
Selector:       controller-uid=xxxx
Labels:         app=kube-backup
                controller-uid=xxx
                job-name=kube-state-backup-manual-ltt1y
Annotations:    <none>
Parallelism:    1
Completions:    1
Start Time:     Fri, 05 Mar 2021 02:32:52 +0700
Pods Statuses:  0 Running / 0 Succeeded / 1 Failed
Pod Template:
  Labels:           app=kube-backup
                    controller-uid=xxxx
                    job-name=kube-state-backup-manual-ltt1y
  Service Account:  kube-backup
  Containers:
   backup:
    Image:      xxxx
    Port:       <none>
    Host Port:  <none>
    Environment:
      GIT_REPO:         [email protected]
      GITCRYPT_ENABLE:  true
      GIT_BRANCH:       master
      RESOURCETYPES:    ingress deployment configmap secret svc rc ds thirdpartyresource networkpolicy statefulset storageclass cronjob serviceaccounts persistentvolumes persistentvolumeclaims
    Mounts:
      /backup/ from cache (rw)
      /backup/.ssh from sshkey (rw)
      /secrets from gpgkey (rw)
  Volumes:
   sshkey:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  kube-backup-ssh
    Optional:    false
   cache:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
   gpgkey:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  kube-backup-gpg
    Optional:    false
Events:
  Type     Reason                Age    From            Message
  ----     ------                ----   ----            -------
  Normal   SuccessfulCreate      8m41s  job-controller  Created pod: kube-state-backup-manual-ltt1y-fxgl5
  Warning  BackoffLimitExceeded  8m36s  job-controller  Job has reached the specified backoff limit

manage to get logs of container of job

The connection to the server localhost:8080 was refused - did you specify the right host or port?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant