Skip to content

Commit fd620d3

Browse files
Merge pull request #286 from openstack-k8s-operators/csibbitt-patch-1
README.md fixes from trying to follow it
2 parents acd6137 + b29e1fb commit fd620d3

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To know when dataplane-operator finishes, you have to keep looking at "*-edpm" p
3636

3737
You can also make your process wait until everything finishes:
3838
```
39-
DATAPLANE_TOTAL_NODES=2 DATAPLANE_NTP_SERVER=clock.redhat.com make edpm_deploy_wait
39+
DATAPLANE_TOTAL_NODES=2 DATAPLANE_NTP_SERVER=clock.redhat.com make edpm_wait_deploy
4040
```
4141

4242
5.- Refresh Nova discover hosts
@@ -46,30 +46,43 @@ make edpm_nova_discover_hosts
4646

4747
Now, we proceed to run our own telemetry-operator instance:
4848

49-
6.- Remove Ceilometer deployment
49+
6.- Remove Telemetry deployment
5050
```
51-
oc patch openstackcontrolplane openstack-galera-network-isolation --type='json' -p='[{"op": "replace", "path": "/spec/ceilometer/enabled", "value":false}]'
51+
oc patch openstackcontrolplane openstack-galera-network-isolation --type='json' -p='[{"op": "replace", "path": "/spec/telemetry/enabled", "value":false}]'
5252
```
5353

5454
7.- Remove telemetry-operator from the deployments
5555
```
5656
oc project openstack-operators
57-
oc remove csv telemetry-operator.v0.0.1
57+
oc delete csv telemetry-operator.v0.0.1
5858
```
5959

6060
8.- Deploy custom telemetry-operator version
61+
62+
NOTE: If you intend to deploy a custom telemetry object *with pre-populated image URLs*, you can use `make run` instead of `make run-with-webhook`, because the webhooks will not be required.
63+
6164
```
6265
cd telemetry-operator
6366
6467
oc delete -f config/crd/bases/
6568
oc apply -f config/crd/bases/
6669
6770
make manifests generate
68-
OPERATOR_TEMPLATES=$PWD/templates make run
71+
OPERATOR_TEMPLATES=$PWD/templates make run-with-webhook
6972
```
7073

71-
9.- Deploy Telemetry:
74+
75+
9.- Deploy Telemetry
76+
77+
There are two options, either let openstack-operator manage a telemetry object, or disable openstack-operator and manage it yourself.
78+
79+
9a.- To continue running openstack-operator and use a telemetry object under its control, re-enable telemetry in the oscp:
80+
```
81+
oc patch openstackcontrolplane openstack-galera-network-isolation --type='json' -p='[{"op": "replace", "path": "/spec/telemetry/enabled", "value":true}]'
82+
```
83+
9b - To disable openstack-operator and use a custom telemetry object
7284
```
85+
oc scale deploy/openstack-operator-controller-manager --replicas=0 -n openstack-operators
7386
oc apply -f config/samples/telemetry_v1beta1_telemetry.yaml
7487
```
7588

0 commit comments

Comments
 (0)