Skip to content

Commit 7de73c3

Browse files
authored
Updating nova-compute Ironic HPA, Octavia Amphora Image Configuration & Missing Init Image (#1289)
1 parent 252a41f commit 7de73c3

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

ansible/roles/octavia_preconf/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ amphora_ssh_key_name: amphora-ssh-key
3434
amphora_flavor_name: m1.amphora
3535
amphora_image_version: focal
3636
amphora_image_name: amphora-ubuntu-{{ amphora_image_version }}
37+
amphora_image_url: "https://tarballs.opendev.org/openstack/octavia/test-images/test-only-amphora-x64-haproxy-ubuntu-{{ amphora_image_version }}.qcow2"
3738

3839
# these are the defaults for certs
3940
octavia_create_certs: true

ansible/roles/octavia_preconf/tasks/octavia_amphora_keypair_image_flavor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
- name: Get the image for amphora
3737
get_url:
38-
url: https://tarballs.opendev.org/openstack/octavia/test-images/test-only-amphora-x64-haproxy-ubuntu-{{ amphora_image_version }}.qcow2
38+
url: "{{ amphora_image_url }}"
3939
dest: /tmp/test-only-amphora-x64-haproxy-ubuntu-{{ amphora_image_version }}.qcow2
4040
register: download_amphora_image
4141
until: download_amphora_image is success

base-helm-configs/octavia/octavia-helm-overrides.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ images:
1414
octavia_health_manager: "ghcr.io/rackerlabs/genestack-images/octavia:2024.1-latest"
1515
octavia_health_manager_init: "ghcr.io/rackerlabs/genestack-images/heat:2024.1-latest"
1616
octavia_housekeeping: "ghcr.io/rackerlabs/genestack-images/octavia:2024.1-latest"
17+
octavia_worker_init: "ghcr.io/rackerlabs/genestack-images/heat:2024.1-latest"
1718
octavia_worker: "ghcr.io/rackerlabs/genestack-images/octavia:2024.1-latest"
1819
openvswitch_vswitchd: "ghcr.io/rackerlabs/genestack-images/ovs:v3.5.1-latest"
1920
rabbit_init: null
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
apiVersion: autoscaling/v2
3+
kind: HorizontalPodAutoscaler
4+
metadata:
5+
name: nova-compute-ironic
6+
namespace: openstack
7+
spec:
8+
maxReplicas: 9
9+
minReplicas: 2
10+
metrics:
11+
- resource:
12+
name: cpu
13+
target:
14+
averageUtilization: 80
15+
type: Utilization
16+
type: Resource
17+
- resource:
18+
name: memory
19+
target:
20+
averageUtilization: 80
21+
type: Utilization
22+
type: Resource
23+
scaleTargetRef:
24+
apiVersion: apps/v1
25+
kind: StatefulSet
26+
name: nova-compute-ironic

0 commit comments

Comments
 (0)