Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ EDPM_TOTAL_NODES=2 make edpm_compute
```

* create dependencies
**Note** scale number PVs to keep up with your number of nodes using `PV_NUM` variable.
```bash
cd ..
make crc_storage
Expand All @@ -103,8 +104,7 @@ REDHAT_OPERATORS=true make openstack
```bash
make openstack_init
```

**Note** this will also run the openstack_prep target, which if NETWORK_ISOLATION == true will install nmstate and metallb operator, configure the secondary interface of the crc VM via nncp, creates the network-attachment-definitions for datacentre, internalapi, storage and tenant network. Also the metallb l2advertisement and the ipaddresspools get created.
**Note** this will also run the openstack_prep target, which will install nmstate and metallb operator, configure the secondary interface of the crc VM via nncp, creates the network-attachment-definitions for datacentre, internalapi, storage and tenant network, unless `NETWORK_ISOLATION == false`. Also the metallb l2advertisement and the ipaddresspools get created.

The following NADs with ip ranges get configured:
```
Expand All @@ -127,12 +127,13 @@ HOSTNETWORK=false NETWORKS_ANNOTATION=\'[\{\"name\":\"storage\",\"namespace\":\"

**Note** as it is the first pod requesting an ip using the storage network, it will get the first IP from the configured range in the whereabouts ipam pool, which is 172.18.0.30 .

* deploy the ctlplane
* deploy the ctlplane and wait for conditions to be fulfilled.

If `NETWORK_ISOLATION == true`, `config/samples/core_v1beta1_openstackcontrolplane_network_isolation.yaml` will be used, if `false` then `config/samples/core_v1beta1_openstackcontrolplane.yaml`.
`NETWORK_ISOLATION` is set to true by default.

```bash
make openstack_deploy
make openstack_wait_deploy
```

(optional) To deploy with ceph as backend for glance and cinder, a sample config can be found at https://github.com/openstack-k8s-operators/openstack-operator/blob/main/config/samples/core_v1beta1_openstackcontrolplane_network_isolation_ceph.yaml .
Expand Down