Skip to content

Commit

Permalink
Add telemetry to uni04delta-ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzigold committed Aug 21, 2024
1 parent 449b690 commit 2c5d492
Show file tree
Hide file tree
Showing 6 changed files with 202 additions and 1 deletion.
72 changes: 72 additions & 0 deletions dt/uni04delta-ipv6/edpm/nodeset/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,75 @@ replacements:
- spec.services
options:
create: true

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

- source:
kind: ConfigMap
name: service-values
fieldPath: data.heat.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.heat.template.customServiceConfig
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.autoscaling.enabled
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.telemetry.template.autoscaling.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
72 changes: 72 additions & 0 deletions dt/uni04delta-ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,75 @@ replacements:
- spec.nova.template.cellTemplates
options:
create: true

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

- source:
kind: ConfigMap
name: service-values
fieldPath: data.heat.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.heat.template.customServiceConfig
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.autoscaling.enabled
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.telemetry.template.autoscaling.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
7 changes: 6 additions & 1 deletion examples/dt/uni04delta-ipv6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ and Manila OpenStack services configured with Ceph.
| Horizon | N/A | Must have |
| Barbican | | Must have |
| Ironic | | Must have |
| Telemetry | | Must have |

#### Support services

Expand All @@ -66,10 +67,14 @@ work properly and can be deployed with any/default configuration.
| Neutron | needed by other services |
| Nova | needed by scenario testing |
| Keystone | needed by all services |
| Ceilometer | needed by Telemetry |
| Heat | needed by Telemetry |
| Prometheus | needed by Telemetry |

#### Additional configuration

Default settings: TLSe
- Default settings: TLSe
- Cluster Observability Operator is installed on the platform.

## Considerations/Constraints

Expand Down
34 changes: 34 additions & 0 deletions examples/dt/uni04delta-ipv6/control-plane.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,40 @@
## Assumptions

- A storage class called `local-storage` should already exist.
- Cluster observability operator is already deployed. If not, follow the
steps found [below](#cluster-observability-operator).

### Cluster observability operator

Cluster Observability Operator must be installed as it is required by OpenStack
Telemetry operator. If not installed, the below steps can be followed

```bash
cat > subscription.yaml << EOF
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: observability-operator
namespace: openshift-operators
labels:
operators.coreos.com/observability-operator.openshift-operators: ""
spec:
channel: development
installPlanApproval: Automatic
name: cluster-observability-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
EOF

# Apply the cr
oc apply -f subscription.yaml

# Wait for the deployment to be ready
oc wait deployments/observability-operator --for condition=Available \
--timeout=300s
```


## Initialize

Expand Down
17 changes: 17 additions & 0 deletions examples/dt/uni04delta-ipv6/control-plane/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,20 @@ data:
datacentre: ocpbr
octavia: octbr
ironic: ironic

# Heat is required for telemetry autoscaling
heat:
enabled: true
customServiceConfig: |
[clients_heat]
endpoint_type: public
insecure: true
telemetry:
enabled: true
metricStorage:
enabled: true
autoscaling:
enabled: true
ceilometer:
enabled: true
1 change: 1 addition & 0 deletions examples/dt/uni04delta-ipv6/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@ data:
- neutron-metadata
- libvirt
- nova-custom-ceph
- telemetry

0 comments on commit 2c5d492

Please sign in to comment.