Skip to content

Commit

Permalink
Enable telemetry in OSASINFRA DT
Browse files Browse the repository at this point in the history
Compared to uni01alpha that is the other DT to enable telemetry, we're
not enabling autoscaling as it requires the additional heat service.

Depends on openstack-k8s-operators/ci-framework#2449.
  • Loading branch information
mandre committed Nov 4, 2024
1 parent 84c84d0 commit 47f211d
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
36 changes: 36 additions & 0 deletions dt/osasinfra/edpm-post-ceph/nodeset/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,39 @@ replacements:
- spec.ovn.template.ovnController.nicMappings
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.telemetry.enabled
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.telemetry.enabled
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.telemetry.metricStorage.enabled
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.telemetry.template.metricStorage.enabled
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.telemetry.ceilometer.enabled
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.telemetry.template.ceilometer.enabled
options:
create: true
1 change: 1 addition & 0 deletions examples/dt/osasinfra/control-plane.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Assumptions

- A storage class called `local-storage` should already exist.
- Cluster observability operator is already deployed.

## Initialize

Expand Down
7 changes: 7 additions & 0 deletions examples/dt/osasinfra/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,10 @@ data:
nicMappings:
datacentre: ocpbr
octavia: octbr

telemetry:
enabled: true
metricStorage:
enabled: true
ceilometer:
enabled: true
1 change: 1 addition & 0 deletions examples/dt/osasinfra/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ data:
- neutron-metadata
- libvirt
- nova
- telemetry
ceph:
conf: CHANGEME_CEPH_CONF
keyring: CHANGEME_CEPH_KEYRING

0 comments on commit 47f211d

Please sign in to comment.