Skip to content

Commit

Permalink
Karpenter spot instances on imdsv1, celery back on spot (#2128)
Browse files Browse the repository at this point in the history
* Karpenter spot instances on imdsv1, celery back on spot

* fixing yaml
  • Loading branch information
ben851 authored Nov 2, 2023
1 parent 7455629 commit a7167e5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions env/dev/karpenter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ spec:
karpenter.sh/discovery: notification-canada-ca-dev-eks-cluster
securityGroupSelector:
karpenter.sh/discovery: notification-canada-ca-dev-eks-cluster
metadataOptions:
httpTokens: optional
2 changes: 2 additions & 0 deletions env/production/karpenter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ spec:
karpenter.sh/discovery: notification-canada-ca-production-eks-cluster
securityGroupSelector:
karpenter.sh/discovery: notification-canada-ca-production-eks-cluster
metadataOptions:
httpTokens: optional
4 changes: 2 additions & 2 deletions env/production/node-selector-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
template:
spec:
nodeSelector:
eks.amazonaws.com/capacityType: ON_DEMAND
karpenter.sh/provisioner-name: default
---
# Celery SMS Send
apiVersion: apps/v1
Expand All @@ -28,7 +28,7 @@ spec:
template:
spec:
nodeSelector:
eks.amazonaws.com/capacityType: ON_DEMAND
karpenter.sh/provisioner-name: default
---
### ON DEMAND (PRIMARY) NODES - ALWAYS AVAILABLE

Expand Down
2 changes: 2 additions & 0 deletions env/scratch/karpenter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ spec:
karpenter.sh/discovery: notification-canada-ca-scratch-eks-cluster
securityGroupSelector:
karpenter.sh/discovery: notification-canada-ca-scratch-eks-cluster
metadataOptions:
httpTokens: optional

0 comments on commit a7167e5

Please sign in to comment.