Skip to content

Commit 268088c

Browse files
authored
Update README.md
1 parent 95b46b7 commit 268088c

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ CPUS=12 MEMORY=25600 DISK=100 make crc
1515
```
1616
make crc_attach_default_interface
1717
18-
EDPM_COMPUTE_SUFFIX=0 make edpm_compute
19-
EDPM_COMPUTE_SUFFIX=1 make edpm_compute
20-
EDPM_COMPUTE_SUFFIX=0 make edpm_compute_repos
21-
EDPM_COMPUTE_SUFFIX=1 make edpm_compute_repos
18+
DATAPLANE_TOTAL_NODES=2 make edpm_compute
2219
```
2320

2421
3.- Deploy openstack-operator and openstack
@@ -31,23 +28,29 @@ make openstack
3128
make openstack_deploy
3229
```
3330

34-
4.- Remove Ceilometer deployment
31+
4.- Deploy dataplane operator
3532
```
36-
oc patch openstackcontrolplane openstack --type='json' -p='[{"op": "replace", "path": "/spec/ceilometer/enabled", "value":false}]'
33+
DATAPLANE_TOTAL_NODES=2 DATAPLANE_NTP_SERVER=clock.redhat.com make edpm_deploy
3734
```
35+
To know when dataplane-operator finishes, you have to keep looking at "*-edpm" pods that keep appearing to run ansible on the compute nodes. They will appear one after the other. When those stop appearing, it is finished and we have a default openstack environment.
3836

39-
5.- Remove telemetry-operator from the deployments
37+
You can also make your process wait until everything has run:
4038
```
41-
make telemetry_cleanup
39+
DATAPLANE_TOTAL_NODES=2 DATAPLANE_NTP_SERVER=clock.redhat.com make edpm_deploy_wait
4240
```
4341

44-
6.- Deploy dataplane operator
42+
Now, we proceed to run our own telemetry-operator instance:
43+
44+
5.- Remove Ceilometer deployment
4545
```
46-
DATAPLANE_SINGLE_NODE=false DATAPLANE_CHRONY_NTP_SERVER=clock.redhat.com make edpm_deploy
46+
oc patch openstackcontrolplane openstack-galera-network-isolation --type='json' -p='[{"op": "replace", "path": "/spec/ceilometer/enabled", "value":false}]'
4747
```
48-
To know when dataplane-operator finishes, you have to keep looking at "dataplane-deployment-*" pods that keep appearing to run ansible on the compute nodes. They will appear one after the other. When those stop appearing, it is finished and we have a default openstack environment.
4948

50-
Now, we proceed to run our own telemetry-operator instance:
49+
6.- Remove telemetry-operator from the deployments
50+
```
51+
oc project openstack-operators
52+
oc remove csv telemetry-operator.v0.0.1
53+
```
5154

5255
7.- Deploy custom telemetry-operator version
5356
```
@@ -60,9 +63,9 @@ make manifests generate
6063
OPERATOR_TEMPLATES=$PWD/templates make run
6164
```
6265

63-
8.- Deploy Ceilometer:
66+
8.- Deploy Telemetry:
6467
```
65-
oc apply -f config/samples/telemetry_v1beta1_ceilometer.yaml
68+
oc apply -f config/samples/telemetry_v1beta1_telemetry.yaml
6669
```
6770

6871
## Testing edpm-ansible changes
@@ -85,8 +88,7 @@ cd install_yamls/devsetup
8588
make crc_cleanup
8689
8790
# Destroy edpm VMS
88-
EDPM_COMPUTE_SUFFIX=0 make edpm_compute_cleanup
89-
EDPM_COMPUTE_SUFFIX=1 make edpm_compute_cleanup
91+
EDPM_TOTAL_NODES=2 make edpm_compute_cleanup
9092
```
9193

9294
## Emergency rescue access to CRC VM

0 commit comments

Comments
 (0)