Skip to content

Commit 0aebb25

Browse files
Merge pull request #636 from cescgina/telemetry_watcher_uni05epsilon
Add Telemetry and Watcher to uniepsilon Add Watcher to uniepsilon to test watcher volume migration capabilities. In order to deploy Watcher, we need to also enable Telemetry, as it is a hard-requirement. This PR copies the telemetry configuration from the hci va, since that already sets up both Watcher and Telemetry. Reviewed-by: Andrew Bays <[email protected]>
2 parents 7da5f2e + fbe76dc commit 0aebb25

File tree

5 files changed

+149
-0
lines changed

5 files changed

+149
-0
lines changed

dt/uni05epsilon/edpm-post-ceph/nodeset/kustomization.yaml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,3 +385,105 @@ replacements:
385385
- spec.swift.enabled
386386
options:
387387
create: true
388+
389+
#
390+
# Notifications
391+
#
392+
- source:
393+
kind: ConfigMap
394+
name: service-values
395+
fieldPath: data.notificationsBusInstance
396+
targets:
397+
- select:
398+
kind: OpenStackControlPlane
399+
fieldPaths:
400+
- spec.notificationsBusInstance
401+
options:
402+
create: true
403+
- source:
404+
kind: ConfigMap
405+
name: service-values
406+
fieldPath: data.rabbitmq.templates.rabbitmq-notifications
407+
targets:
408+
- select:
409+
kind: OpenStackControlPlane
410+
fieldPaths:
411+
- spec.rabbitmq.templates.rabbitmq-notifications
412+
options:
413+
create: true
414+
#
415+
# Telemetry
416+
#
417+
- source:
418+
kind: ConfigMap
419+
name: service-values
420+
fieldPath: data.telemetry.enabled
421+
targets:
422+
- select:
423+
kind: OpenStackControlPlane
424+
fieldPaths:
425+
- spec.telemetry.enabled
426+
options:
427+
create: true
428+
- source:
429+
kind: ConfigMap
430+
name: service-values
431+
fieldPath: data.telemetry.metricStorage
432+
targets:
433+
- select:
434+
kind: OpenStackControlPlane
435+
fieldPaths:
436+
- spec.telemetry.template.metricStorage
437+
options:
438+
create: true
439+
- source:
440+
kind: ConfigMap
441+
name: service-values
442+
fieldPath: data.telemetry.autoscaling.enabled
443+
targets:
444+
- select:
445+
kind: OpenStackControlPlane
446+
fieldPaths:
447+
- spec.telemetry.template.autoscaling.enabled
448+
options:
449+
create: true
450+
- source:
451+
kind: ConfigMap
452+
name: service-values
453+
fieldPath: data.telemetry.ceilometer.enabled
454+
targets:
455+
- select:
456+
kind: OpenStackControlPlane
457+
fieldPaths:
458+
- spec.telemetry.template.ceilometer.enabled
459+
options:
460+
create: true
461+
462+
#
463+
# Watcher
464+
#
465+
- source:
466+
kind: ConfigMap
467+
name: service-values
468+
fieldPath: data.watcher.enabled
469+
targets:
470+
- select:
471+
kind: OpenStackControlPlane
472+
fieldPaths:
473+
- spec.watcher.enabled
474+
options:
475+
create: true
476+
#
477+
# Heat (required by Telemetry Autoscaling)
478+
#
479+
- source:
480+
kind: ConfigMap
481+
name: service-values
482+
fieldPath: data.heat.enabled
483+
targets:
484+
- select:
485+
kind: OpenStackControlPlane
486+
fieldPaths:
487+
- spec.heat.enabled
488+
options:
489+
create: true

examples/dt/uni05epsilon/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ Focused on verifying Cinder and Glance with multiple backends.
5555
| Neutron | Geneve (OVN) | Must have |
5656
| Octavia (TODO) | act-stby | Must have |
5757
| Swift | (default) | Must have |
58+
| Watcher | (default) | Must have |
5859

5960

6061
#### Support services
@@ -67,6 +68,8 @@ to work properly and can be deployed with any/default configuration.
6768
| ---------------- |--------------------------- |
6869
| Nova | needed by scenario testing |
6970
| Keystone | needed by all services |
71+
| Telemetry | needed by watcher |
72+
| Heat | needed by telemetry |
7073

7174

7275
### Additional configuration

examples/dt/uni05epsilon/deployment/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ data:
1616
- neutron-metadata
1717
- libvirt
1818
- nova-custom
19+
- telemetry

examples/dt/uni05epsilon/service-values.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99

1010
data:
1111
preserveJobs: false
12+
notificationsBusInstance: rabbitmq-notifications
1213

1314
cinderBackup:
1415
customServiceConfig: |
@@ -142,6 +143,47 @@ data:
142143
templates:
143144
rabbitmq-cell2:
144145
replicas: 3
146+
rabbitmq-notifications:
147+
override:
148+
service:
149+
metadata:
150+
annotations:
151+
metallb.universe.tf/address-pool: internalapi
152+
metallb.universe.tf/loadBalancerIPs: 172.17.0.87
153+
spec:
154+
type: LoadBalancer
155+
replicas: 3
145156

146157
swift:
147158
enabled: true
159+
160+
telemetry:
161+
enabled: true
162+
metricStorage:
163+
enabled: true
164+
monitoringStack: null
165+
customMonitoringStack:
166+
alertmanagerConfig:
167+
disabled: true
168+
prometheusConfig:
169+
enableRemoteWriteReceiver: true
170+
persistentVolumeClaim:
171+
resources:
172+
requests:
173+
storage: 20G
174+
replicas: 1
175+
scrapeInterval: 30s
176+
resourceSelector:
177+
matchLabels:
178+
service: metricStorage
179+
retention: 24h
180+
autoscaling:
181+
enabled: true
182+
ceilometer:
183+
enabled: true
184+
185+
watcher:
186+
enabled: true
187+
188+
heat:
189+
enabled: true

examples/dt/uni05epsilon/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ data:
3030
- neutron-metadata
3131
- libvirt
3232
- nova-custom
33+
- telemetry
3334

3435
nova-extra-config: |
3536
# Additional overrides that can be set in environment-specific cases

0 commit comments

Comments
 (0)