Skip to content

Commit

Permalink
docs: Change example NodePool in kwok readme from v1beta to v1. (#1473)
Browse files Browse the repository at this point in the history
Signed-off-by: payall4u <[email protected]>
  • Loading branch information
payall4u authored Jul 29, 2024
1 parent 9c2399e commit 1fae546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kwok/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Once kwok is installed and Karpenter successfully applies to the cluster, you sh

```bash
cat <<EOF | envsubst | kubectl apply -f -
apiVersion: karpenter.sh/v1beta1
apiVersion: karpenter.sh/v1
kind: NodePool
metadata:
name: default
Expand All @@ -40,12 +40,12 @@ spec:
nodeClassRef:
name: default
kind: KWOKNodeClass
apiVersion: v1alpha1
group: karpenter.kwok.sh/v1alpha1
expireAfter: 720h # 30 * 24h = 720h
limits:
cpu: 1000
disruption:
consolidationPolicy: WhenUnderutilized
expireAfter: 720h # 30 * 24h = 720h
---
apiVersion: karpenter.kwok.sh/v1alpha1
kind: KWOKNodeClass
Expand Down

0 comments on commit 1fae546

Please sign in to comment.