Deploy a Replicated Stateful Application getting fails with Error: ErrImagePull
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Half a day
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- kubernetes, mysql
- Domain
- databases, documentation
Research direction
Start with the StatefulSet section of the linked Kubernetes documentation page and compare its example with the reported kubectl events for gcr.io/google-samples/xtrabackup:1.0. Reproduce the deployment on the stated Kubernetes and minikube versions, then verify that the example no longer produces ErrImagePull and creates the expected three pods.
Written by the indexing model from the issue text.
Description
This is a Bug Report
I tried to deploy a Replicated Stateful Application(MySQL) with the guidance of this documentation in the kubernetes. I tried this in the minikube in Ubuntu 22.04.4 LTS. When I apply the service, config and the statefulset yaml file, I got an error of Init:ImagePullBackOff. and only one pod get exposed.(expected 3)
And also when I check the events I got the following response.
19m Warning Failed pod/mysql-0 Error: ErrImagePull
15m Normal BackOff pod/mysql-0 Back-off pulling image "gcr.io/google-samples/xtrabackup:1.0"
19m Warning Failed pod/mysql-0 Error: ImagePullBackOff
11m Normal Scheduled pod/mysql-0 Successfully assigned default/mysql-0 to minikube
11m Normal Pulled pod/mysql-0 Container image "mysql:5.7" already present on machine
11m Normal Created pod/mysql-0 Created container init-mysql
11m Normal Started pod/mysql-0 Started container init-mysql
10m Normal Pulling pod/mysql-0 Pulling image "gcr.io/google-samples/xtrabackup:1.0"
10m Warning Failed pod/mysql-0 Failed to pull image "gcr.io/google-samples/xtrabackup:1.0": [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of gcr.io/google-samples/xtrabackup:1.0 to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More information at https://docs.docker.com/go/deprecated-image-specs/
10m Warning Failed pod/mysql-0 Error: ErrImagePull
103s Normal BackOff pod/mysql-0 Back-off pulling image "gcr.io/google-samples/xtrabackup:1.0"
10m Warning Failed pod/mysql-0 Error: ImagePullBackOff
I want to deploy a MySQL stateful set with 3 instances using a common storage as the storage.
Page to Update:
https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/#statefulset
Kubernetes Version
$ kubectl version
Client Version: v1.29.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 15.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 228
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kubernetes/website
-
language/en needs-triage sig/network
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
kubernetes/website#57642 · 1 comment ·
-
kind/bug language/en triage/unresolved
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
kubernetes/website#57540 · 4 comments ·
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes/website#57512 · 1 comment ·
-
area/localization kind/feature language/ja triage/accepted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes/website#57500 · 3 comments · 1 assignee ·
-
area/web-development kind/feature needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes/website#57491 · 6 comments ·
All issues in kubernetes/website
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenLiberty/open-liberty#35839 ·
-
affects-9.0 found-by-ai may-affects-25.10 may-affects-26.3 may-affects-26.9 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/major sig/execution type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
antlr/grammars-v4#5014 · 1 comment ·
-
comp-query-execution fuzz
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121303 · 3 comments ·