Kubernetes “lock DB directory: resource temporarily unavailable”

SebinnSebastian
May 25, 2022

--

ERROR:

level=error ts=2022–03–08T07:00:21.860Z caller=main.go:808 err=”opening storage failed: lock DB directory: resource temporarily unavailable”

Solution:

Terminate the running pod and rerun the pod.

Terminate pod: kubectl scale deploy <deployment name>- -replicas 0

Re-run the pod: kubectl scale deploy <deployment name>- -replicas 1

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

SebinnSebastian
SebinnSebastian

Written by SebinnSebastian

DevOps Engineer | Redhat Certified System Administrator | K8s Administrator | AWS, Docker, Terraform, GCP

No responses yet

Write a response