AgnosticV Namespace Setup
Complete setup guide for RHDP provisioning skills.
Overview
The agnosticv namespace provides AI-powered skills for managing RHDP catalog infrastructure provisioning and validation. These skills are designed for RHDP internal team members and advanced users who need to create and manage AgnosticV catalog items.
Target Audience: RHDP Internal/Advanced developers
Installation
Install the agnosticv namespace:
curl -fsSL https://raw.githubusercontent.com/rhpds/rhdp-skills-marketplace/main/install.sh | bash
# Select: agnosticv namespace (or all)
Included Skills
/agnosticv:catalog-builder
Create or update AgnosticV catalog files (unified skill).
Modes:
- Full Catalog - Generate all files (common.yaml, dev.yaml, description.adoc, info-message-template.adoc)
- Description Only - Extract from Showroom content
- Info Template - Document agnosticd_user_info usage
Features:
- Git workflow built-in (pull main, create branch)
- Workload recommendations
- UUID generation and validation
- Showroom content extraction
View detailed documentation β
/agnosticv:validator
Validate AgnosticV configurations against best practices and deployment requirements.
Features:
- Comprehensive validation checks
- UUID and YAML validation
- Workload dependency checking
- Infrastructure recommendations
- Best practice suggestions
View detailed documentation β
Prerequisites
Required
- Claude Code or Cursor installed
- RHDP account with access to AgnosticV repository
- AgnosticV repository cloned to
~/work/code/agnosticv - Git configured with SSH access to GitHub
Recommended
- GitHub CLI (
gh) installed for PR creation - OpenShift CLI (
oc) for testing deployments - Ansible knowledge for workload customization
- RHDP Integration environment access for testing
Setup Steps
1. Clone AgnosticV Repository
cd ~/work/code
git clone git@github.com:rhpds/agnosticv.git
2. Verify Repository Structure
cd agnosticv
ls -la
# Should see:
# βββ agd_v2/ # AgnosticD v2 catalogs
# βββ enterprise/ # Enterprise catalogs
# βββ summit-2025/ # Event-specific catalogs
# βββ .tests/ # Validation tests
3. Configure Git
git config user.name "Your Name"
git config user.email "your.email@redhat.com"
4. Install Skills
curl -fsSL https://raw.githubusercontent.com/rhpds/rhdp-skills-marketplace/main/install.sh | bash
# Select: agnosticv namespace
Typical Workflow
1. /agnosticv-catalog-builder
β Creates catalog files (git workflow built-in)
β Generates: common.yaml, dev.yaml, description.adoc, info-message-template.adoc
2. /agnosticv-validator
β Validates configuration
3. Push and create PR (git already committed)
β
4. Test in RHDP Integration environment
β
5. Deploy via GitOps (Argo CD)
β
6. /showroom:create-lab with UserInfo variables
β Generate workshop content using deployed resources
Example: Creating a Catalog
Step 1: Run /agnosticv-catalog-builder
In Claude Code or Cursor:
/agnosticv:catalog-builder
Choose mode: 1 (Full Catalog)
Git workflow: Pulls main, creates branch automatically
Answer prompts:
- AgnosticV path: ~/work/code/agnosticv
- Search similar catalogs
- Catalog name: "Agentic AI on OpenShift"
- Infrastructure: CNV multi-node
- Multi-user: Yes
- Workloads: OpenShift AI, LiteLLM, Showroom
Auto-commits to new branch
Step 2: Review Generated Files
cd ~/work/code/agnosticv/agd_v2/agentic-ai-openshift
ls -la
# βββ common.yaml # Main configuration
# βββ description.adoc # Catalog description
# βββ dev.yaml # Development overrides
Step 3: Push and Create PR
# /agnosticv:catalog-builder already committed to branch
git push origin your-branch-name
gh pr create --fill
Step 4: Test in RHDP
- Go to RHDP Integration environment
- Search for your catalog
- Deploy and verify
- Extract UserInfo variables from deployment
Step 5: Validate (if issues)
/agnosticv:validator
Checks:
β UUID format
β YAML syntax
β Workload dependencies
β οΈ Infrastructure recommendations
AgnosticV Configuration
Directory Structure
Choose appropriate directory for your catalog:
agnosticv/
βββ agd_v2/ # Standard AgDv2 catalogs (most common)
βββ enterprise/ # Enterprise-specific catalogs
βββ summit-2025/ # Event-specific catalogs
Infrastructure Selection
| Use Case | Infrastructure | When to Use |
|---|---|---|
| Multi-user lab | CNV multi-node | Labs with 10+ users |
| Demo/POC | CNV SNO | Lightweight demos |
| GPU workloads | AWS | AI/ML requiring GPU |
| High memory | AWS | Resource-intensive apps |
Authentication Methods
| Method | Use Case | Workload |
|---|---|---|
| Keycloak | Multi-user labs | ocp4_workload_authentication |
| htpasswd | Demos, single user | ocp4_workload_htpasswd |
Common Workloads
| Workload | Purpose | Collection |
|---|---|---|
| Showroom (CNV) | Workshop guide | rhpds.showroom |
| Showroom (SNO) | Workshop guide (SNO) | rhpds.showroom |
| OpenShift AI | AI/ML platform | agnosticd.core_workloads |
| Pipelines | CI/CD | agnosticd.core_workloads |
| GitOps | Argo CD | agnosticd.core_workloads |
| LiteLLM | LLM access | rhpds.litellm_virtual_keys |
UserInfo Variables
After deploying a catalog, extract variables for workshop content:
From RHDP Portal
- Go to My Services
- Click on deployed service
- Click Details β Advanced settings
- Copy UserInfo variables
Common Variables
:openshift_console_url: {openshift_console_url}
:user: {user}
:password: {password}
:api_url: {api_url}
:user_namespace: {user_namespace}
:litellm_api_url: {litellm_api_url}
:litellm_api_key: {litellm_api_key}
Use in create-lab/create-demo
After extracting UserInfo, use in content creation:
/showroom:create-lab
At Step 2.5, select:
Option 3: "I have UserInfo variables from a deployed catalog"
Paste UserInfo JSON or variables
Best Practices
Catalog Creation
- Search first - Check for similar existing catalogs
- Use references - Base on proven templates
- Test early - Deploy to Integration before PR
- Validate always - Run /agnosticv:validator before PR
- Document changes - Clear commit messages
Workload Selection
- Start minimal - Add only required workloads
- Check dependencies - Ensure collections are available
- Use latest versions - Reference collection versions
- Test combinations - Some workloads conflict
Git Workflow
- Branch naming - Use descriptive names (NO
feature/prefix) - Atomic commits - One logical change per commit
- Test before push - Validate locally first
- Clean commits - No debug code or temp files
Troubleshooting
Repository Not Found
Problem: /agnosticv:catalog-builder canβt find AgnosticV repo
Solution:
# Clone to correct location
cd ~/work/code
git clone git@github.com:rhpds/agnosticv.git
UUID Collision
Problem: UUID already exists in repository
Solution:
# Generate new UUID
uuidgen
# Update common.yaml with new UUID
Workload Not Found
Problem: Collection not available in requirements
Solution:
- Check collection name spelling
- Verify collection version exists
- Check AgnosticD core_workloads repository
Validation Fails
Problem: /agnosticv:validator reports errors
Solution:
- Read error messages carefully
- Fix errors one at a time
- Re-validate after each fix
- Ask in #forum-demo-developers if stuck
RHDP Integration Testing
Deploy Catalog
- Log in to RHDP Integration
- Go to Catalog
- Search for your catalog slug
- Click Order
- Fill in parameters
- Click Submit
Monitor Deployment
- Go to My Services
- Click on service
- Monitor Events tab
- Check for errors
Extract UserInfo
- Click Details tab
- Click Advanced settings
- Copy all UserInfo variables
- Use in
/showroom:create-labor/showroom:create-demo
Next Steps
- View all skill documentation
- Read AgnosticV common rules
- Check workload mappings
- Review infrastructure guide
| β Back to Setup | Showroom Setup β |