Skip to content

Commit

Permalink
Fix Flavors and Images (#8)
Browse files Browse the repository at this point in the history
Fix up all the docs and any places that flavor or image used to exist
using the power of grep!
  • Loading branch information
spjmurray authored Jun 10, 2024
1 parent a6116fc commit c08c7a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/cluster-api-cluster-openstack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: cluster-api-cluster-openstack
description: A Helm chart to deploy a Kubernetes Cluster
type: application
version: v0.4.2
version: v0.4.3
icon: https://raw.githubusercontent.com/unikorn-cloud/helm-cluster-api/main/icons/default.png
12 changes: 6 additions & 6 deletions charts/cluster-api-cluster-openstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ spec:
replicas: 3
machine:
version: v1.25.4
image: ubu2204-v1.25.5-9d105bc5
flavor: g.4.standard
imageID: 7a517603-aa70-47a9-a6f3-c102d30e67c0
flavorID: 061f0cf2-2503-4005-89ed-ff1dc217874f
diskSize: 40
workloadPools:
general-purpose:
replicas: 3
machine:
version: v1.25.4
image: ubu2204-v1.25.5-9d105bc5
flavor: g.4.standard
imageID: 7a517603-aa70-47a9-a6f3-c102d30e67c0
flavorID: 061f0cf2-2503-4005-89ed-ff1dc217874f
diskSize: 100
autoscaling:
limits:
Expand All @@ -85,8 +85,8 @@ spec:
replicas: 3
machine:
version: v1.25.4
image: ubu2204-v1.25.5-gpu-510.73.08-2cbfe3d7
flavor: g.4.highmem.a100.1g.10gb
imageID: 7a517603-aa70-47a9-a6f3-c102d30e67c0
flavorID: 061f0cf2-2503-4005-89ed-ff1dc217874f
diskSize: 100
autoscaling:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ see the logic in workload.yaml for seeding names, regions etc.
{{- with $autoscaling := .pool.autoscaling }}
{{- with $scheduler := $autoscaling.scheduler }}
{{- with $gpu := $scheduler.gpu }}
{{- $labels = append $labels (printf "cluster-api/accelerator=%s" $context.pool.machine.flavor) }}
{{- $labels = append $labels (printf "cluster-api/accelerator=%s" $context.pool.machine.flavorID) }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit c08c7a9

Please sign in to comment.