Skip to content

Commit

Permalink
fix(kfp): fixed pods autorestart
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcagiara committed Oct 30, 2024
1 parent 7507470 commit 30cda71
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kubeflow-pipelines/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kubeflow-pipelines
description: A Helm chart for deploying Kubeflow Pipelines
type: application
version: 0.1.0
version: 0.1.1
maintainers:
- name: ffais
url: https://github.com/ffais
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ spec:
component: metadata-grpc-server
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmaps/pipeline-install-config.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secrets/mysql-secret.yaml") . | sha256sum }}
labels:
application-crd-id: kubeflow-pipelines
component: metadata-grpc-server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
checksum/config: {{ include (print $.Template.BasePath "/configmaps/pipeline-install-config.yaml") . | sha256sum }}
labels:
app: ml-pipeline-scheduledworkflow
application-crd-id: kubeflow-pipelines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
checksum/config: {{ include (print $.Template.BasePath "/configmaps/ml-pipeline-ui-configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secrets/mlpipeline-s3-artifact.yaml") . | sha256sum }}
labels:
app: ml-pipeline-ui
application-crd-id: kubeflow-pipelines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ spec:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
checksum/config: {{ include (print $.Template.BasePath "/configmaps/pipeline-install-config.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/secrets/mysql-secret.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/secrets/mlpipeline-s3-artifact.yaml") . | sha256sum }}
labels:
app: ml-pipeline
application-crd-id: kubeflow-pipelines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ spec:
application-crd-id: kubeflow-pipelines
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmaps/workflow-controller-configmap.yaml") . | sha256sum }}
labels:
app: workflow-controller
application-crd-id: kubeflow-pipelines
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{- if not .Values.s3.externalSecret.secretName }}
apiVersion: v1
data:
accesskey: {{ .Values.s3.accessKey | b64enc | quote }}
secretkey: {{ .Values.s3.secretKey | b64enc | quote }}
kind: Secret
metadata:
annotations:
labels:
application-crd-id: kubeflow-pipelines
name: mlpipeline-s3-artifact
type: Opaque
{{- end }}

0 comments on commit 30cda71

Please sign in to comment.