forked from OSS-MLOPS-PLATFORM/oss-mlops-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
AiMLops Project 1.1 Project Tools and Topics
Ayush Ghimire edited this page May 2, 2025
·
1 revision
- Why it matters: Dependencies between Kubernetes resources require careful ordering
-
Key concepts:
- CRDs must be installed before instances of those custom resources
- Webhooks need time to be ready before they process requests
- Namespaces must exist before resources are created in them
-
Best practice: Use
kubectl waitto ensure readiness before proceeding
-
Components:
- Certificate issuers (LetsEncrypt, self-signed)
- CRDs for Certificate and Issuer resources
- Admission webhooks for validation
-
Common pitfalls:
- Webhook trust issues (x509 errors)
- DNS-01 vs HTTP-01 challenge differences
- Certificate renewal and storage
-
Concepts:
- Base vs overlay structure
- Resource accumulation and transformation
- Patching and variable substitution
-
Best practices:
- Validate kustomize builds with
--dry-run - Use consistent path structures
- Understand resource reference resolution
- Validate kustomize builds with
-
Approaches:
- Direct creation vs. generator-based
- Secret encryption and security
- ConfigMap volumes vs environment variables
-
Best practices:
- Keep sensitive data out of ConfigMaps
- Validate ConfigMap existence before referencing
- Consider using sealed-secrets or external secret stores
-
Components:
- Training infrastructure (Ray)
- Model registry (MLflow)
- Pipeline orchestration (Kubeflow)
- Data versioning
-
Integration points:
- Identity and access management
- Shared storage considerations
- Cross-component communication
-
Tools:
-
kubectl describefor detailed resource information -
kubectl logsfor container logs -
kubectl eventsfor cluster events
-
-
Methodologies:
- Start with pod status and events
- Check dependent resources
- Validate network policies and service connectivity
-
Principles:
- Scripts should be safely re-runnable
- Failed partial installations should be cleanly handled
- Pre-flight checks prevent known issues
-
Techniques:
- Use
kubectl applyinstead ofcreate - Check resource existence before operations
- Implement proper retry logic with backoff
- Use
Understanding these key topics will help you diagnose and resolve the issues encountered in your MLOps platform setup. The most critical concepts involve proper ordering of resource application, handling webhook-based validation correctly, and ensuring your Kustomize structure is properly organized.