Skip to content

Commit

Permalink
Merge branch 'main' into resource-limits
Browse files Browse the repository at this point in the history
  • Loading branch information
aedan authored Nov 15, 2024
2 parents 05d34f8 + 6ed50ff commit b4a02d0
Show file tree
Hide file tree
Showing 54 changed files with 500 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ pod:
cpu: "2000m"
notification:
requests:
memory: "128Mi"
memory: "256Mi"
cpu: "100m"
limits:
memory: "6144Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/glance/glance-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ pod:
enabled: true
api:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/heat/heat-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ pod:
cpu: "2000m"
engine:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/keystone/keystone-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ pod:
enabled: true
api:
requests:
memory: "64Mi"
memory: "256Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
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: "4096Mi"
Expand Down
4 changes: 2 additions & 2 deletions base-helm-configs/neutron/neutron-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ pod:
cpu: "2000m"
ovn_metadata:
requests:
memory: "64Mi"
memory: "512Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down Expand Up @@ -815,7 +815,7 @@ pod:
cpu: "2000m"
server:
requests:
memory: "64Mi"
memory: "1024Mi"
cpu: "100m"
limits:
memory: "6144Mi"
Expand Down
12 changes: 6 additions & 6 deletions base-helm-configs/nova/nova-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2353,8 +2353,8 @@ pod:
enabled: true
compute:
requests:
memory: "128Mi"
cpu: "100m"
memory: "512Mi"
cpu: "200m"
limits:
memory: "4096Mi"
cpu: "2000m"
Expand All @@ -2381,15 +2381,15 @@ pod:
cpu: "2000m"
conductor:
requests:
memory: "128Mi"
cpu: "100m"
memory: "256Mi"
cpu: "200m"
limits:
memory: "4096Mi"
cpu: "2000m"
scheduler:
requests:
memory: "128Mi"
cpu: "100m"
memory: "1024Mi"
cpu: "200m"
limits:
memory: "6144Mi"
cpu: "2000m"
Expand Down
18 changes: 9 additions & 9 deletions base-helm-configs/octavia/octavia-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ labels:
images:
tags:
test: "quay.io/rackspace/rackerlabs-xrally-openstack:2.0.0"
bootstrap: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
db_init: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
db_drop: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
bootstrap: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
db_init: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
db_drop: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
rabbit_init: "quay.io/rackspace/rackerlabs-rabbitmq:3.13-management"
ks_user: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_service: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_endpoints: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_user: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_service: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
ks_endpoints: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
dep_check: "quay.io/rackspace/rackerlabs-kubernetes-entrypoint:v1.0.0"
image_repo_sync: "quay.io/rackspace/rackerlabs-docker:17.07.0"
octavia_db_sync: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_api: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_worker: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_housekeeping: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_health_manager: "quay.io/rackspace/rackerlabs-octavia-ovn:master-ubuntu_jammy"
octavia_health_manager_init: "quay.rackspace.com/rackerlabs-heat:2024.1-ubuntu_jammy"
octavia_health_manager_init: "quay.io/rackspace/rackerlabs-heat:2024.1-ubuntu_jammy"
openvswitch_vswitchd: docker.io/kolla/centos-source-openvswitch-vswitchd:rocky
pull_policy: "IfNotPresent"
local_registry:
Expand Down Expand Up @@ -626,14 +626,14 @@ pod:
enabled: true
api:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "2000m"
worker:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/placement/placement-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ pod:
enabled: true
api:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "2048Mi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pod:
enabled: true
server:
requests:
memory: "2048Mi"
memory: "1024Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
10 changes: 8 additions & 2 deletions base-kustomize/barbican/base/hpa-barbican-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ metadata:
name: barbican-api
namespace: openstack
spec:
maxReplicas: 3
minReplicas: 1
maxReplicas: 9
minReplicas: 3
metrics:
- resource:
name: cpu
target:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
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/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:
type: AverageValue
averageValue: 500Mi
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: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/designate/base/hpa-designate-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: 500Mi
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: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/gnocchi/base/hpa-gnocchi-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: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 3 additions & 3 deletions base-kustomize/grafana/base/azure-client-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiversion: v1
apiVersion: v1
data:
client_id: base64_encoded_client_id
client_secret: base64_encoded_client_secret
kind: secret
kind: Secret
metadata:
name: azure-client
namespace: grafana
type: opaque
type: Opaque
4 changes: 2 additions & 2 deletions base-kustomize/grafana/base/datasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ datasources:
datasources.yaml:
apiversion: 1
datasources:
- name: prometheus
- name: Prometheus
type: prometheus
access: proxy
url: http://kube-prometheus-stack-prometheus.prometheus.svc.cluster.local:9090
isdefault: true
- name: loki
- name: Loki
type: loki
access: proxy
url: http://loki-gateway.{{ $.Release.Namespace }}.svc.cluster.local:80
Expand Down
24 changes: 13 additions & 11 deletions base-kustomize/grafana/base/grafana-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,21 @@ tenant_id: 122333 # TODO: update this value to use your Azure Tenant ID

ingress:
enabled: false
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
path: /
pathType: ImplementationSpecific

hosts:
- "{{ .Values.custom_host }}" # Ref: custom_host variable above
tls:
- hosts:
- "{{ .Values.custom_host }}" # Ref: custom_host variable above
secretName: grafana-tls-public

image:
tag: "10.3.3"

extraSecretMounts:
- name: azure-client-secret-mount
secretName: azure-client
defaultMode: 0440
mountPath: /etc/secrets/azure-client
readOnly: true
- name: grafana-db-secret-mount
secretName: grafana-db
defaultMode: 0440
mountPath: /etc/secrets/grafana-db
readOnly: true
nodeSelector:
openstack-control-plane: enabled
grafana.ini:
Expand Down Expand Up @@ -56,3 +52,9 @@ grafana.ini:
allow_assign_grafana_admin: false
skip_org_role_sync: false
use_pkce: true
database:
type: mysql
host: mariadb-cluster-primary.openstack.svc:3306
user: $__file{/etc/secrets/grafana-db/username}
password: $__file{/etc/secrets/grafana-db/password}
name: grafana
6 changes: 6 additions & 0 deletions base-kustomize/heat/base/hpa-heat-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: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/heat/base/hpa-heat-cfn.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/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:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/horizon/base/hpa-horizon-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: 500Mi
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: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
Loading

0 comments on commit b4a02d0

Please sign in to comment.