Skip to content
New issue

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

version 0.3.2, di-storage server start, but has rpc error #71

Open
ResultLv opened this issue Aug 1, 2022 · 3 comments
Open

version 0.3.2, di-storage server start, but has rpc error #71

ResultLv opened this issue Aug 1, 2022 · 3 comments

Comments

@ResultLv
Copy link

ResultLv commented Aug 1, 2022

image

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
@ResultLv ResultLv changed the title di-storage server start, but has rpc error version 0.3.2, di-storage server start, but has rpc error Aug 3, 2022
@lzt123123
Copy link

I hava the same question,too.

1 similar comment
@caozongpeng
Copy link

I hava the same question,too.

@ynxu15
Copy link

ynxu15 commented Jul 12, 2023

same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants