We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
前面部署里启动mysql,使用的pvc,后面打patch,确使用了emptyDir。导致其他服务在mysql中初始化的database都没有,建议修改成一致 [root@xxxx patch]# cat mysql-persistent-storage.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: app: mysql application-crd-id: kubeflow-pipelines name: mysql namespace: kubeflow spec: selector: matchLabels: app: mysql application-crd-id: kubeflow-pipelines strategy: type: Recreate template: metadata: labels: app: mysql application-crd-id: kubeflow-pipelines spec: containers: - args: - --ignore-db-dir=lost+found - --datadir - /var/lib/mysql env: - name: MYSQL_ALLOW_EMPTY_PASSWORD value: "true" image: registry.cn-shenzhen.aliyuncs.com/tensorbytes/ml-pipeline-mysql:5.7-f8fcd name: mysql ports: - containerPort: 3306 name: mysql resources: requests: cpu: 100m memory: 800Mi volumeMounts: - mountPath: /var/lib/mysql name: mysql-persistent-storage serviceAccountName: mysql nodeSelector: app: kubeflow volumes: - name: mysql-persistent-storage emptyDir: {}
The text was updated successfully, but these errors were encountered:
@yushanjin thx,已修复 #96
Sorry, something went wrong.
No branches or pull requests
前面部署里启动mysql,使用的pvc,后面打patch,确使用了emptyDir。导致其他服务在mysql中初始化的database都没有,建议修改成一致
[root@xxxx patch]# cat mysql-persistent-storage.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: mysql
application-crd-id: kubeflow-pipelines
name: mysql
namespace: kubeflow
spec:
selector:
matchLabels:
app: mysql
application-crd-id: kubeflow-pipelines
strategy:
type: Recreate
template:
metadata:
labels:
app: mysql
application-crd-id: kubeflow-pipelines
spec:
containers:
- args:
- --ignore-db-dir=lost+found
- --datadir
- /var/lib/mysql
env:
- name: MYSQL_ALLOW_EMPTY_PASSWORD
value: "true"
image: registry.cn-shenzhen.aliyuncs.com/tensorbytes/ml-pipeline-mysql:5.7-f8fcd
name: mysql
ports:
- containerPort: 3306
name: mysql
resources:
requests:
cpu: 100m
memory: 800Mi
volumeMounts:
- mountPath: /var/lib/mysql
name: mysql-persistent-storage
serviceAccountName: mysql
nodeSelector:
app: kubeflow
volumes:
- name: mysql-persistent-storage
emptyDir:
{}
The text was updated successfully, but these errors were encountered: