Skip to content

Commit

Permalink
Merge pull request #9 from fiverr/official_release
Browse files Browse the repository at this point in the history
bump to 1.0.0 after adoption
  • Loading branch information
nadavbuc committed Apr 16, 2024
2 parents 3ac8459 + 876c809 commit e3e925a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 22 deletions.
2 changes: 1 addition & 1 deletion charts/karpenter_nodes/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: karpenter_nodes
version: 0.1.4
version: 1.0.0
description: A Helm chart for generating NodeClasses and NodePools for Karpenter
maintainers:
- name: nadavbuc
2 changes: 1 addition & 1 deletion charts/karpenter_nodes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Note - Most of the values can be overridden per nodegroup (If not specified, it
| `nodegroups.{}.instances.*` | Explicitly specify instances override, if using defaults specify `instances: {}` | `Map` |||

### Headroom Configuration
Headroom will create `pause` pods with requetss to just keep empty nodes up and ready for scheduling.<br> This is useful for scaling up quickly when needed.<br>
Headroom will create `pause` pods with resources-requests to just keep free amount of resources up and ready for scheduling.<br> This is useful for scaling up quickly when needed.<br>
The pods will be configured with ultra-low priority, and will be terminated and recreated on new nodes to free them up for usage if needed.
| Key Name | Description | Type | Optional? | Optional Per NodeGroup? |
| ------------------------------ | ----------- | ---- | --------- | ----------------------- |
Expand Down
21 changes: 13 additions & 8 deletions charts/karpenter_nodes/examples/nodegroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ nodeGroups:
weight: 2
instances:
categories:
- m
- r
- m
- r
capacitySpread:
start: 1
end: 5
Expand All @@ -18,8 +18,8 @@ nodeGroups:
instances:
minGeneration: 5
categories:
- m
- r
- m
- r
capacityType:
- on-demand
nodeClassRef:
Expand All @@ -28,20 +28,19 @@ nodeGroups:
weight: 2
instances:
categories:
- m
- r
- m
- r
capacitySpread:
start: 1
end: 5

nodes-workers-c:
nodeGroupLabel: nodes-workers
capacitySpread:
start: 1
end: 5
instances:
categories:
- c
- c
nodeClassRef:
name: nodes-workers-amd64
nodes-canary:
Expand All @@ -58,6 +57,9 @@ nodeGroups:
instances:
capacityType:
- on-demand
cores:
- "8"
- "16"
consolidationPolicy: "WhenEmpty"
taints:
- key: "dedicated"
Expand All @@ -79,6 +81,9 @@ nodeGroups:
architecture: "multiarch"
capacityType:
- on-demand
minGeneration: 7
cores:
- "8"
taints:
- key: "dedicated"
value: "ingress"
Expand Down
13 changes: 1 addition & 12 deletions charts/karpenter_nodes/examples/output/output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1230,17 +1230,11 @@ spec:
- key: "karpenter.k8s.aws/instance-cpu"
operator: In
values:
- "4"
- "8"
- "12"
- "16"
- "24"
- "32"
- "48"
- key: karpenter.k8s.aws/instance-generation
operator: Gt
values:
- "3"
- "6"
- key: "topology.kubernetes.io/zone"
operator: In
values:
Expand Down Expand Up @@ -1342,13 +1336,8 @@ spec:
- key: "karpenter.k8s.aws/instance-cpu"
operator: In
values:
- "4"
- "8"
- "12"
- "16"
- "24"
- "32"
- "48"
- key: karpenter.k8s.aws/instance-generation
operator: Gt
values:
Expand Down

0 comments on commit e3e925a

Please sign in to comment.