Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Kepler deployment to not deploy on Fargate nodes #925

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions charts/feature-cluster-metrics/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,49 @@
"kepler": {
"type": "object",
"properties": {
"affinity": {
"type": "object",
"properties": {
"nodeAffinity": {
"type": "object",
"properties": {
"requiredDuringSchedulingIgnoredDuringExecution": {
"type": "object",
"properties": {
"nodeSelectorTerms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"matchExpressions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"operator": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"canMount": {
"type": "object",
"properties": {
Expand Down
16 changes: 13 additions & 3 deletions charts/feature-cluster-metrics/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -666,11 +666,21 @@ kepler:
# @section -- Kepler
maxCacheSize:

# @ignored
canMount: {usrSrc: false}
# @ignored
# @ignored -- Don't mount /usr/src
canMount:
usrSrc: false
# @ignored -- Include idle power metric estimation.
extraEnvVars:
EXPOSE_ESTIMATED_IDLE_POWER_METRICS: "true"
# @ignored -- Do not deploy Kepler on EKS Fargate nodes
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: eks.amazonaws.com/compute-type
operator: NotIn
values: [fargate]
# @ignored
podAnnotations:
k8s.grafana.com/logs.job: integrations/kepler
Expand Down
43 changes: 43 additions & 0 deletions charts/k8s-monitoring-v1/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,49 @@
"kepler": {
"type": "object",
"properties": {
"affinity": {
"type": "object",
"properties": {
"nodeAffinity": {
"type": "object",
"properties": {
"requiredDuringSchedulingIgnoredDuringExecution": {
"type": "object",
"properties": {
"nodeSelectorTerms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"matchExpressions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"operator": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"enabled": {
"type": "boolean"
},
Expand Down
14 changes: 12 additions & 2 deletions charts/k8s-monitoring-v1/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2490,14 +2490,24 @@ kepler:
# @section -- Deployment: Kepler
enabled: false

# @ignored -- This skips including these values in README.md
# @ignored -- Don't mount /usr/src
canMount:
usrSrc: false

# @ignored -- This skips including these values in README.md
# @ignored -- Include idle power metric estimation.
extraEnvVars:
EXPOSE_ESTIMATED_IDLE_POWER_METRICS: "true"

# @ignored -- Do not deploy Kepler on EKS Fargate nodes
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: eks.amazonaws.com/compute-type
operator: NotIn
values: [fargate]

beyla:
# -- Should this Helm chart deploy Grafana Beyla to the cluster.
# @section -- Deployment: Beyla
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.