# --------------------------------------------------------- # 1. Technical Configuration (The Location) # --------------------------------------------------------- apiVersion: rig.appstack.io/v1alpha1 kind: VsphereBlueprint metadata: name: dev-vsphere-config namespace: fleet-default spec: vCenter: "vcenter.vanderlande.com" datacenter: "NL001" folder: "ICT Digitalisation - Rancher" resourcePool: "NL001 Development - Rancher/Resources" datastore: "NL001 Development - Rancher SDRS" network: "nl001.vDS.Distri.Vlan.1542" template: "nl001-cp-ubuntu-22.04-amd64-20250327-5.15.0-135-rke2-k3s" --- # --------------------------------------------------------- # 2. Infra Manager (The Accountant & Identity) # --------------------------------------------------------- apiVersion: rig.appstack.io/v1alpha1 kind: InfraBlueprint metadata: name: dev-vsphere-infra namespace: fleet-default spec: # Credentials (Must exist in Rancher/Kubernetes) cloudCredentialSecret: "cc-lhtl9" rancherUrl: "https://rancher.tst.vanderlande.com" # Point to the vSphere Configuration above providerRef: kind: VsphereBlueprint name: dev-vsphere-config # Budget Limits for this Environment quota: maxCpu: 50 # Total vCPUs allowed maxMemoryGb: 128 # Total RAM allowed maxDiskGb: 5000 # Total Disk allowed --- # --------------------------------------------------------- # 3. Cluster Request (The User Goal) # --------------------------------------------------------- apiVersion: rig.appstack.io/v1alpha1 kind: ClusterBlueprint metadata: name: test-vsphere-cluster-01 namespace: fleet-default spec: # Link to the vSphere Infra defined above infraBlueprintRef: "dev-vsphere-infra" # Lifecycle kubernetesVersion: "v1.31.12+rke2r1" # Topology: Control Plane (1 Node) # Uses default sizing from values.yaml (2 CPU / 8 GB) controlPlaneHA: false # Topology: Workers # These sizes (GB) will be converted to MB automatically by your Strategy workerPools: - name: "app-workers" quantity: 2 cpuCores: 4 memoryGb: 8 # Strategy converts to 8192 MB diskGb: 100 # Strategy converts to 102400 MB