kube-backup
kube-backup copied to clipboard
Job has reached the specified backoff limit
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?