Skip to content

AiMLOps Platform Setup Guide

Linux88888 edited this page May 5, 2025 · 4 revisions

📌 MLOps Platform Setup Guide

🚀 1. Cloning the Repository

1.1 Clone the MLOps Repository (Full Clone)

# Replace <repo-url> with the actual repository link
git clone <repo-url>
cd oss-mlops-platform

1.2 Clone a Specific Branch or Directory (e.g., Sparse Checkout for 'https-setup-script/scripts')

If you only want to work with the https-setup-script/scripts folder (reducing download size and time):

# Clone the repository without checking out files
git clone --no-checkout https://github.com/ictaiproject/oss-mlops-platform.git
cd oss-mlops-platform

# Enable sparse-checkout and configure it to fetch only the desired directory
git sparse-checkout init --cone
git sparse-checkout set https-setup-script/scripts

# Check out the contents
git checkout

Tip:
You can use this approach for any directory, just change the path in git sparse-checkout set <directory>.


2. Install Docker

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

Verify installation:

docker --version

🔧 3. Troubleshooting Issues

Issue: Kubernetes Deployment Not Found

Error from server (NotFound): deployments.apps "mlflow" not found

Solution:

kubectl get deployments -A
kubectl apply -f mlflow-deployment.yaml

Issue: Pod Stuck in "CrashLoopBackOff"

kubectl describe pod <pod-name> -n mlflow
kubectl logs <pod-name> -n mlflow

Issue: Kubernetes Cluster Not Found

kubectl config current-context
kubectl config use-context kind-mlops-cluster

Issue: Pods Not Running

kubectl get pods -A
kubectl describe pod <pod-name>

Solution:

  • Check if any pods are in Pending state.
  • Verify logs for errors and missing dependencies.
  • Restart failed pods:
kubectl delete pod <pod-name>
kubectl apply -f mlflow-deployment.yaml

🎯 Conclusion

  • Ensure Docker is installed correctly.
  • If any pods are failing, check logs and redeploy.
  • Keep repositories updated and sync with upstream regularly.
  • Use sparse-checkout if you only need specific directories or scripts to optimize your workflow.

For additional setup guides you can check the main repository: Platform Setup Guide

Clone this wiki locally