You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+1-9Lines changed: 1 addition & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -236,15 +236,7 @@ test-conformance: $(GINKGO) e2e-prerequisites ## Run clusterctl based conformanc
236
236
test-conformance-fast: ## Run clusterctl based conformance test on workload cluster (requires Docker) using a subset of the conformance suite in parallel.
Copy file name to clipboardExpand all lines: docs/book/src/development/development.md
-79Lines changed: 0 additions & 79 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -563,83 +563,4 @@ kubectl get openstackservers
563
563
564
564
This object is immutable and is created by the controller when a machine or a bastion is created. The `OpenStackServer` object is deleted when the machine or the bastion is deleted.
565
565
566
-
## Hosted Control Plane (HCP) Testing
567
566
568
-
CAPO supports testing Hosted Control Planes using Kamaji as the control plane provider. This allows testing scenarios where the Kubernetes control plane runs as pods in a management cluster while worker nodes run on OpenStack infrastructure.
569
-
570
-
### Prerequisites
571
-
572
-
* A working OpenStack environment (same requirements as regular e2e tests)
573
-
* Helm 3.x installed locally
574
-
* Management cluster with sufficient resources for hosting control planes
575
-
576
-
### Running HCP Tests
577
-
578
-
To run the hosted control plane e2e tests:
579
-
580
-
```bash
581
-
make test-hcp OPENSTACK_CLOUD_YAML_FILE=/path/to/clouds.yaml OPENSTACK_CLOUD=my_cloud
582
-
```
583
-
584
-
This will:
585
-
1. Create a management cluster using kind
586
-
2. Install CAPO in the management cluster
587
-
3. Install Kamaji v1.0.0 using Helm
588
-
4. Install the Kamaji Control Plane Provider v0.15.3
589
-
5. Run HCP-specific test suites that validate:
590
-
- Network configuration fixes for HCP scenarios
591
-
- Security group precedence between machine and cluster levels
592
-
- Worker node connectivity to hosted control planes via Konnectivity
593
-
- Machine spec validation without explicit networks
594
-
595
-
### Architecture
596
-
597
-
The HCP testing follows this architecture:
598
-
599
-
```
600
-
Management Cluster (kind)
601
-
├── CAPO Controller
602
-
├── Kamaji v1.0.0
603
-
├── Kamaji Control Plane Provider v0.15.3
604
-
└── TenantControlPlanes (running as pods)
605
-
└── Connected to OpenStack worker nodes via Konnectivity
606
-
```
607
-
608
-
### Test Flavors
609
-
610
-
HCP tests use the `hcp` flavor, which:
611
-
- Uses `KamajiControlPlane` instead of `KubeadmControlPlane`
612
-
- Configures Konnectivity for worker node communication
613
-
- Sets up proper security groups for HCP networking
614
-
- Validates the network configuration fixes from the `hcp-2380` branch
615
-
616
-
### Manual Installation
617
-
618
-
If you need to install Kamaji manually for development:
0 commit comments