Skip to content

Commit

Permalink
feat: cdk version and vpc cni upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-robot-in committed Mar 27, 2024
1 parent a43b64a commit 8bd3738
Show file tree
Hide file tree
Showing 10 changed files with 235 additions and 210 deletions.
4 changes: 2 additions & 2 deletions assets/helmCharts/node-problem-detector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: v0.8.12
appVersion: v0.8.15
description: 'This chart installs a [node-problem-detector](https://github.com/kubernetes/node-problem-detector)
daemonset. This tool aims to make various node problems visible to the upstream
layers in cluster management stack. It is a daemon which runs on each node, detects
Expand All @@ -18,4 +18,4 @@ name: node-problem-detector
sources:
- https://github.com/kubernetes/node-problem-detector
- https://kubernetes.io/docs/concepts/architecture/nodes/#condition
version: 2.3.2
version: 2.3.12
11 changes: 8 additions & 3 deletions assets/helmCharts/node-problem-detector/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node-problem-detector

![Version: 2.3.2](https://img.shields.io/badge/Version-2.3.2-informational?style=flat-square) ![AppVersion: v0.8.12](https://img.shields.io/badge/AppVersion-v0.8.12-informational?style=flat-square)
![Version: 2.3.12](https://img.shields.io/badge/Version-2.3.12-informational?style=flat-square) ![AppVersion: v0.8.15](https://img.shields.io/badge/AppVersion-v0.8.15-informational?style=flat-square)

This chart installs a [node-problem-detector](https://github.com/kubernetes/node-problem-detector) daemonset. This tool aims to make various node problems visible to the upstream layers in cluster management stack. It is a daemon which runs on each node, detects node problems and reports them to apiserver.

Expand Down Expand Up @@ -58,8 +58,8 @@ helm install my-release deliveryhero/node-problem-detector -f values.yaml
| hostPID | bool | `false` | |
| image.digest | string | `""` | the image digest. If given it takes precedence over a given tag. |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"k8s.gcr.io/node-problem-detector/node-problem-detector"` | |
| image.tag | string | `"v0.8.12"` | |
| image.repository | string | `"registry.k8s.io/node-problem-detector/node-problem-detector"` | |
| image.tag | string | `"v0.8.15"` | |
| imagePullSecrets | list | `[]` | |
| labels | object | `{}` | |
| logDir.host | string | `"/var/log/"` | log directory on k8s host |
Expand All @@ -73,15 +73,19 @@ helm install my-release deliveryhero/node-problem-detector -f values.yaml
| metrics.prometheusRule.defaultRules.disabled | list | `[]` | |
| metrics.prometheusRule.enabled | bool | `false` | |
| metrics.serviceMonitor.additionalLabels | object | `{}` | |
| metrics.serviceMonitor.additionalRelabelings | list | `[]` | |
| metrics.serviceMonitor.enabled | bool | `false` | |
| metrics.serviceMonitor.metricRelabelings | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| priorityClassName | string | `"system-node-critical"` | |
| rbac.create | bool | `true` | |
| rbac.pspEnabled | bool | `false` | |
| resources | object | `{}` | |
| securityContext.privileged | bool | `true` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.labels | object | `{}` | |
| serviceAccount.name | string | `nil` | |
| settings.custom_monitor_definitions | object | `{}` | Custom plugin monitor config files |
| settings.custom_plugin_monitors | list | `[]` | |
Expand All @@ -93,6 +97,7 @@ helm install my-release deliveryhero/node-problem-detector -f values.yaml
| tolerations[0].effect | string | `"NoSchedule"` | |
| tolerations[0].operator | string | `"Exists"` | |
| updateStrategy | string | `"RollingUpdate"` | Manage the daemonset update strategy |
| volume.localtime.type | string | `"FileOrCreate"` | |

## Maintainers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
type: "FileOrCreate"
type: {{ default "FileOrCreate" .Values.volume.localtime.type }}
- name: custom-config
configMap:
name: {{ include "node-problem-detector.customConfig" . }}
defaultMode: 493
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@ metadata:
helm.sh/chart: {{ include "node-problem-detector.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.serviceAccount.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,11 @@ spec:
targetLabel: host_ip
sourceLabels:
- __meta_kubernetes_pod_host_ip
{{- if .Values.metrics.serviceMonitor.additionalRelabelings }}
{{- toYaml .Values.metrics.serviceMonitor.additionalRelabelings | nindent 4 }}
{{- end }}
{{- if .Values.metrics.serviceMonitor.metricRelabelings }}
metricRelabelings:
{{- toYaml .Values.metrics.serviceMonitor.metricRelabelings | nindent 4 }}
{{- end }}
{{- end }}
24 changes: 21 additions & 3 deletions assets/helmCharts/node-problem-detector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ logDir:
pod: ""

image:
repository: k8s.gcr.io/node-problem-detector/node-problem-detector
tag: v0.8.12
repository: registry.k8s.io/node-problem-detector/node-problem-detector
tag: v0.8.15
# image.digest -- the image digest. If given it takes precedence over a given tag.
digest: ""
pullPolicy: IfNotPresent
Expand All @@ -76,6 +76,10 @@ rbac:
hostNetwork: false
hostPID: false

volume:
localtime:
type: "FileOrCreate"

priorityClassName: system-node-critical

securityContext:
Expand All @@ -94,11 +98,23 @@ tolerations:
serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true
# Annotations to add to the service account
annotations: {}
# Labels to add to the service account
labels: {}
# The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
name:

affinity: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: eks.amazonaws.com/compute-type
operator: NotIn
values:
- fargate

nodeSelector: {}

Expand All @@ -110,6 +126,8 @@ metrics:
serviceMonitor:
enabled: false
additionalLabels: {}
additionalRelabelings: []
metricRelabelings: []
prometheusRule:
enabled: false
defaultRules:
Expand Down
Loading

0 comments on commit 8bd3738

Please sign in to comment.