Skip to content

Commit

Permalink
Merge pull request #7 from ClearBlade/node-tolerations
Browse files Browse the repository at this point in the history
add tolerations to each pod
  • Loading branch information
cbbmiller authored Feb 12, 2025
2 parents 86dcf2d + 46af2d6 commit beadda6
Show file tree
Hide file tree
Showing 17 changed files with 98 additions and 17 deletions.
18 changes: 9 additions & 9 deletions charts/clearblade-iot-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,35 @@ apiVersion: v2
name: clearblade-iot-enterprise
description: ClearBlade IoT Enterprise
type: application
version: 3.1.2
version: 3.1.3

dependencies:
- name: cb-postgres
version: 3.1.2
version: 3.1.3
condition: cb-postgres.enabled
repository: file://charts/cb-postgres
- name: cb-haproxy
version: 3.1.2
version: 3.1.3
condition: cb-haproxy.enabled
repository: file://charts/cb-haproxy
- name: clearblade
version: 3.1.2
version: 3.1.3
repository: file://charts/clearblade
- name: cb-console
version: 3.1.2
version: 3.1.3
repository: file://charts/cb-console
- name: cb-file-hosting
version: 3.1.2
version: 3.1.3
repository: file://charts/cb-file-hosting
- name: cb-redis
version: 3.1.2
version: 3.1.3
condition: cb-redis.enabled
repository: file://charts/cb-redis
- name: cb-iotcore
version: 3.1.2
version: 3.1.3
condition: global.iotCoreEnabled
repository: file://charts/cb-iotcore
- name: cb-ia
version: 3.1.2
version: 3.1.3
condition: global.iaEnabled
repository: file://charts/cb-ia
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: cb-console
description: ClearBlade IoT Enterprise - ClearBlade Developer Console
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ spec:
imagePullSecrets:
- name: gcr-json-key
{{- end }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
containers:
- name: cb-console
image: "gcr.io/api-project-320446546234/cb_console:{{ .Values.global.enterpriseBlueVersion }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: cb-file-hosting
description: ClearBlade IoT Enterprise - File Hosting
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ spec:
imagePullSecrets:
- name: gcr-json-key
{{- end }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
containers:
- name: cb-file-hosting
image: "gcr.io/api-project-320446546234/file_hosting:{{ .Values.global.enterpriseBlueVersion }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: cb-haproxy
description: ClearBlade IoT Enterprise - ClearBlade Load Balancer
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ spec:
imagePullSecrets:
- name: gcr-json-key
{{- end }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
initContainers:
- name: check-clearblade-readiness
image: ellerbrock/alpine-bash-curl-ssl
Expand Down
2 changes: 1 addition & 1 deletion charts/clearblade-iot-enterprise/charts/cb-ia/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: cb-ia
description: ClearBlade IoT Enterprise - Intelligent Assets sidecar
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ spec:
imagePullSecrets:
- name: gcr-json-key
{{- end }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
{{- if .Values.checkClearbladeReadiness }}
initContainers:
- name: check-clearblade-readiness
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: cb-iotcore
description: ClearBlade IoT Enterprise - IoT Core Sidecar
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ spec:
imagePullSecrets:
- name: gcr-json-key
{{- end }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
{{- if .Values.checkClearbladeReadiness }}
initContainers:
- name: check-clearblade-readiness
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: cb-postgres
description: ClearBlade IoT Enterprise - Postgres
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ spec:
{{- end }}
{{- if eq .Values.global.secretManager "gsm"}}
serviceAccountName: {{ .Values.global.gcpGSMServiceAccount }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
initContainers:
- name: init
image: google/cloud-sdk:slim
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: cb-redis
description: ClearBlade IoT Enterprise - Redis
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ spec:
- name: redis-config
configMap:
name: redis-config
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
containers:
- name: cb-redis
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: clearblade
description: ClearBlade IoT Enterprise - ClearBlade Node
type: application
version: 3.1.2
version: 3.1.3
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ spec:
imagePullSecrets:
- name: gcr-json-key
{{- end }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
initContainers:
{{- if not .Values.global.gcpCloudSQLEnabled }}
- name: check-postgres-readiness
Expand Down Expand Up @@ -234,6 +243,15 @@ spec:
imagePullSecrets:
- name: gcr-json-key
{{- end }}
tolerations:
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
operator: Exists
effect: NoExecute
tolerationSeconds: 0
initContainers:
{{- if not .Values.global.gcpCloudSQLEnabled }}
- name: check-postgres-readiness
Expand Down

0 comments on commit beadda6

Please sign in to comment.