Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
chore(mysql): use mysql 8 to prevent high memory usage in environment…
Browse files Browse the repository at this point in the history
…s with ulimit-nofile too high

Ref docker-library/mysql#579)
  • Loading branch information
GerardoGR committed Jul 5, 2022
1 parent e50b291 commit 0a0b825
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions kustomize/fl-suite/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,26 @@ resources:
- ../../../components/kubeflow-pipeline/kustomize
- ../../../components/fl-orchestrator
- ../../../components/client-image-builder/kustomize

patches:
# This patch (kustomize patch) is here to use mysql 8.0 which prevents really
# high memory usage (https://github.com/docker-library/mysql/issues/579) in
# environments with nofile set to infinity or too high. This patch can be
# discarded once https://github.com/kubeflow/pipelines/pull/5946 is merged
# into kubeflow.
- patch: |-
- op: replace
path: /spec/template/spec/containers/0/image
value: gcr.io/ml-pipeline/mysql:8.0
- op: replace
path: /spec/template/spec/containers/0/args
value:
- --default-authentication-plugin=mysql_native_password
- --datadir
- /var/lib/mysql
target:
name: mysql
namespace: kubeflow
kind: Deployment
group: apps
version: v1

0 comments on commit 0a0b825

Please sign in to comment.