Skip to content

Commit

Permalink
Tune hpa values and rename docker image heat-rxt to heat
Browse files Browse the repository at this point in the history
  • Loading branch information
sowm9802 committed Nov 14, 2024
1 parent 788245a commit 6c4f6b3
Show file tree
Hide file tree
Showing 14 changed files with 58 additions and 51 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
name: Create and Publish a Heat RXT Image
name: Create and Publish a Heat Image

on:
push:
paths:
- '.github/workflows/release-heat-rxt.yml'
- '.github/workflows/release-heat.yml'
- 'Containerfiles/HeatRXT-Containerfile'
branches:
- development
Expand Down Expand Up @@ -65,8 +65,8 @@ jobs:
file: Containerfiles/HeatRXT-Containerfile
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/heat-rxt:${{ github.event.inputs.imageTag || env.DEF_TAG_NAME }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/heat-rxt:${{ github.event.inputs.imageTag || env.DEF_TAG_NAME }}-${{ env.MY_DATE }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/heat:${{ github.event.inputs.imageTag || env.DEF_TAG_NAME }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/heat:${{ github.event.inputs.imageTag || env.DEF_TAG_NAME }}-${{ env.MY_DATE }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VERSION=${{ github.event.inputs.imageTag || env.DEF_TAG_NAME }}
41 changes: 0 additions & 41 deletions .github/workflows/smoke-heat-rxt.yml

This file was deleted.

2 changes: 1 addition & 1 deletion base-helm-configs/magnum/magnum-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ pod:
cpu: "2000m"
conductor:
requests:
memory: "128Mi"
memory: "512Mi"
cpu: "100m"
limits:
memory: "1024Mi"
Expand Down
4 changes: 2 additions & 2 deletions base-kustomize/barbican/base/hpa-barbican-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ metadata:
name: barbican-api
namespace: openstack
spec:
maxReplicas: 3
minReplicas: 1
maxReplicas: 9
minReplicas: 3
metrics:
- resource:
name: cpu
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/cinder/base/hpa-cinder-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
averageValue: 200Mi
type: Value
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/cinder/base/hpa-cinder-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 200Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/glance/base/hpa-glance-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 200Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/heat/base/hpa-heat-engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
averageValue: 100Mi
type: Value
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/keystone/base/hpa-keystone-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 400Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
4 changes: 2 additions & 2 deletions base-kustomize/magnum/base/hpa-magnum-conductor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ spec:
- resource:
name: memory
target:
averageUtilization: 60
type: Utilization
type: AverageValue
averageValue: 600Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/neutron/base/hpa-neutron-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/nova/base/hpa-nova-conductor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/nova/base/hpa-nova-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
2 changes: 1 addition & 1 deletion base-kustomize/skyline/base/deployment-apiserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
component: api
spec:
progressDeadlineSeconds: 600
replicas: 1
replicas: 3
revisionHistoryLimit: 3
selector:
matchLabels:
Expand Down

0 comments on commit 6c4f6b3

Please sign in to comment.