Open ResultLv opened 2 years ago
storage-deployment.yaml
kind: Deployment apiVersion: apps/v1 metadata: name: di-storage namespace: prophecis labels: app.kubernetes.io/managed-by: Helm environment: prophecis service: di-storage annotations: deployment.kubernetes.io/revision: '1' meta.helm.sh/release-name: prophecis meta.helm.sh/release-namespace: default spec: replicas: 1 selector: matchLabels: environment: prophecis service: di-storage template: metadata: creationTimestamp: null labels: environment: prophecis service: di-storage version: storage-v0.3.2 spec: volumes: - name: di-config configMap: name: di-config defaultMode: 420 - name: timezone-volume hostPath: path: /usr/share/zoneinfo/Asia/Shanghai type: File - name: oss-storage hostPath: path: tmp type: Directory containers: - name: di-storage-rpc-server image: 'wedatasphere/prophecis:storage-v0.3.2' command: - /bin/sh - '-c' args: - DLAAS_PORT=8443 /main ports: - containerPort: 8443 protocol: TCP env: - name: DLAAS_POD_NAMESPACE valueFrom: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - name: DLAAS_ENV value: prophecis - name: DLAAS_LOGLEVEL value: DEBUG - name: DLAAS_PUSH_METRICS_ENABLED value: 'true' - name: LINKIS_ADDRESS value: '127.0.0.1:8088' - name: LINKIS_TOKEN_CODE value: BML-AUTH - name: MONGO_ADDRESS value: mongo.prophecis.svc.cluster.local - name: MONGO_USERNAME value: mlssopr - name: MONGO_PASSWORD value: mlssopr - name: MONGO_DATABASE value: mlsstest - name: MONGO_Authentication_Database value: admin - name: DLAAS_OBJECTSTORE_TYPE valueFrom: secretKeyRef: name: storage-secrets key: DLAAS_OBJECTSTORE_TYPE - name: DLAAS_OBJECTSTORE_AUTH_URL valueFrom: secretKeyRef: name: storage-secrets key: DLAAS_OBJECTSTORE_AUTH_URL - name: DLAAS_OBJECTSTORE_USER_NAME valueFrom: secretKeyRef: name: storage-secrets key: DLAAS_OBJECTSTORE_USER_NAME - name: DLAAS_OBJECTSTORE_PASSWORD valueFrom: secretKeyRef: name: storage-secrets key: DLAAS_OBJECTSTORE_PASSWORD - name: DLAAS_ELASTICSEARCH_SCHEME value: http - name: DLAAS_ELASTICSEARCH_ADDRESS value: 'http://elasticsearch.prophecis.svc.cluster.local:9200' - name: DLAAS_ELASTICSEARCH_ADDRESS valueFrom: secretKeyRef: name: trainingdata-secrets key: DLAAS_ELASTICSEARCH_ADDRESS - name: DLAAS_ELASTICSEARCH_USERNAME valueFrom: secretKeyRef: name: trainingdata-secrets key: DLAAS_ELASTICSEARCH_USERNAME - name: DLAAS_ELASTICSEARCH_PASSWORD valueFrom: secretKeyRef: name: trainingdata-secrets key: DLAAS_ELASTICSEARCH_PASSWORD resources: limits: cpu: 500m memory: 1Gi volumeMounts: - name: di-config mountPath: /etc/mlss/ - name: timezone-volume mountPath: /etc/localtime - name: oss-storage mountPath: /data/oss-storage terminationMessagePath: /dev/termination-log terminationMessagePolicy: File imagePullPolicy: Always restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst nodeSelector: mlss-node-role: platform securityContext: {} imagePullSecrets: - name: hubsecret schedulerName: default-scheduler strategy: type: RollingUpdate rollingUpdate: maxUnavailable: 25% maxSurge: 25% revisionHistoryLimit: 10 progressDeadlineSeconds: 600
I hava the same question,too.
same error
storage-deployment.yaml