Skip to content

Commit

Permalink
feat: Add Karpenter Azure cloud provider NodePool (#369)
Browse files Browse the repository at this point in the history
**Reason for Change**:
Add an example for `Karpenter` cloud provider `NodePool` for Azure.

**Requirements**

- [ ] added unit tests and e2e tests (if applicable).

**Issue Fixed**:
<!-- If this PR fixes GitHub issue 4321, add "Fixes #4321" to the next
line. -->

**Notes for Reviewers**:

Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
  • Loading branch information
helayoty authored May 1, 2024
1 parent a9af171 commit 536f259
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions examples/kaito-karpenter-noodepool.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
apiVersion: karpenter.sh/v1beta1
kind: NodePool
metadata:
name: kaito-nodepool
annotations:
kubernetes.io/description: "General purpose NodePool for generic workloads"
spec:
disruption:
consolidateAfter: Never
consolidationPolicy: WhenEmpty
expireAfter: Never
template:
spec:
requirements:
---
apiVersion: karpenter.azure.com/v1alpha2
kind: AKSNodeClass
metadata:
name: default
spec:
imageFamily: Ubuntu2204

0 comments on commit 536f259

Please sign in to comment.