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

Kubeflow installation mysql not starting up due to pvc not in namespace #2065

Closed
alexcpn opened this issue Oct 25, 2021 · 4 comments
Closed

Comments

@alexcpn
Copy link

alexcpn commented Oct 25, 2021

Kubeflow version

kubeflow/manifests$ git branch
* (HEAD detached at v1.4.0)
  master
kubectl -n kubeflow describe pod mysql-f7b9b7dd4-j52jr
Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  27s   default-scheduler  0/1 nodes are available: 1 persistentvolumeclaim "mysql-pv-claim" not found.
  Warning  FailedScheduling  25s   default-scheduler  0/1 nodes are available: 1 persistentvolumeclaim "mysql-pv-claim" not found.

Correction

alex@pop-os:~/kubeflow/manifests$ cat << EOF | kubectl apply -f -
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: mysql-pv-claim
  namespace: kubeflow
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 20G
EOF

https://github.com/kubeflow/manifests/blob/d36fc9c0555c936c7b71fd273b8e4604985ebba8/apps/pipeline/upstream/third-party/mysql/base/mysql-pv-claim.yaml

@rc-coderepo
Copy link

If you installed kubeflow using kustomize the pvc should be create automatically. Are you running a kubernetes multi node cluster or single node cluster?

What type of storage are you using in the cluster? if you are running on single node and using default local node storage you might need to configure local-storage-provisioner -- example: https://github.com/rancher/local-path-provisioner

What do you see when you run -
kubectl get sc
kubectl get pvc

@alexcpn
Copy link
Author

alexcpn commented Nov 30, 2021

Sorry to comment late- the pvc was created; but not in the correct namespace. I put it in the correct namespace and it worked

@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale label Mar 2, 2022
@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been closed due to inactivity.

@stale stale bot closed this as completed Apr 17, 2022
alexcpn added a commit to alexcpn/manifests that referenced this issue May 27, 2022
Signed-off-by: Alex Punnen <alexcpn@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants