Skip to content

Commit

Permalink
test(examples): QoL, add optional commented options to examples (#594)
Browse files Browse the repository at this point in the history
* add optional commented options to examples

* minor update

---------

Co-authored-by: Charlie McBride <[email protected]>
  • Loading branch information
charliedmcb and Charlie McBride authored Dec 2, 2024
1 parent 293ee9b commit 025fb78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/v1beta1/general-purpose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
spec:
disruption:
expireAfter: Never
# Optional: Uncomment if you want to put a cap on the max resources available for provisioning
# limits:
# cpu: "30"
template:
metadata:
labels:
Expand All @@ -33,6 +36,11 @@ spec:
- key: karpenter.azure.com/sku-family
operator: In
values: [D]
# Optional: Uncomment if you want to add a restriction on max sku cpus.
# Useful for ensuring karpneter provisions multiple nodes for feature testing.
# - key: karpenter.azure.com/sku-cpu
# operator: Lt
# values: ["3"]
nodeClassRef:
name: default
---
Expand Down

0 comments on commit 025fb78

Please sign in to comment.