Comments (6)
Hi sstiene,
Based on the logs you provide, seems keycloak-postgres-0 can not be scheduled.
...
keycloak-postgres-0 0/1 Pending 0 26m
...
I guess it might be caused by keycloak-postgres-0 can not mount the pvc.
Can you please also help to run the following commands?
kubectl get pvc -n hub
kubectl get storageclass
Thanks.
from primehub.
kubectl get pvc -n hub
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
data-keycloak-postgres-0 Bound pvc-8b6f35ef-1a32-4222-ba44-04ba0c58fcbd 8Gi RWO microk8s-hostpath 2m10s
export-primehub-minio-0 Bound pvc-f9dce678-1e75-4b85-aa66-3b8e24260acd 10Gi RWO microk8s-hostpath 2m10s
hub-db-dir Bound pvc-980004d2-4438-43cc-b9b8-bcc4b9ac97ab 1Gi RWO microk8s-hostpath 2m11s
primehub-store Bound primehub-store 64Gi RWX rclone 2m11s
kubectl get storageclass
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
microk8s-hostpath (default) microk8s.io/hostpath Delete Immediate false 6m39s
rclone kubernetes.io/no-provisioner Delete Immediate false 3m34s
from primehub.
Seems the pvc of keycloak-postgres
had been provisioned successfully.
Looks like the pending issue is not caused by unable mount pvc.
Another reason for pod pending could be caused by resources are not enough. (CPU or Memory)
May I ask how many vCPU and Memory you configured for this virtual machine?
Or you can run the following command to show the reason why keycloak-postgres-0
is pending
kubectl describe pod -n hub keycloak-postgres-0
In general, PrimeHub needs at least 4vCPU and 8G memory to run.
Thanks
from primehub.
Yes, that might be the case. I only set up a very small test environment with 2 CPUs. I will extend it and come back to you. Thanks. Does it make sense to add a resource check in the install script and give a warning if CPU, RAM, MEM,... is not sufficient?
from primehub.
It's a great idea! We will add your feedback to our milestone.
Truly thanks for your suggestion.
from primehub.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from primehub.
Related Issues (20)
- Model Management: edge deployment integration HOT 1
- Design the notification mechanism
- PrimeHub: UI realignment HOT 1
- Model Deployment: enhancement for operational metrics HOT 1
- Model Management: streamline model management process HOT 2
- Group Admin can invite/remove user in their group HOT 1
- Admin can check storage usage and quota in Grafana dashboard (enterprise edition) HOT 1
- Update Prometheus and Grafana helm chart version inside PrimeHub
- [PH-27] PrimeHub Job email notifications HOT 1
- [PH-26] Adjust PrimeHub UI Layouts
- [PH-4] MLFlow 2 support
- [PH-10] Invited user function enable/disable
- [PH-23] User can't deploy a model if it takes more than 20s to load model files
- [PH-28] Download / upload selected files and folders simultaneously in Shared Files
- [PH-1] After upload files larger than 2 GiB in Shared Files, UI cannot show the phfs contents properly.
- [PH-2] Custom image builder slow issue
- [PH-5] Predefine environment variables before starting jupyter notebook
- [PH-12] Allow group user to view specific dashboard in Grafana
- [PH-34] Custom build deployment image when create new deployment
- [PH-38] Instance types setting cannot be saved properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primehub.