Skip to content

NVIDIA inference server docs need to be updated to not use ksonnet #959

Closed

Description

@jlewi

https://www.kubeflow.org/docs/components/serving/trtinferenceserver/

Docs still use ksonnet.

For serving, I think its simpler than rather than provide kustomize manifests, our docs just contain example YAML specs that people can copy and paste in order to create a deployment.

@pdmack Any interest in picking this up?

Activity

  1. issue-label-bot commented on Jul 22, 2019

    @issue-label-bot

    Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

  2. sarahmaddox commented on Aug 15, 2019

    @sarahmaddox
    Contributor

    We've added a comment in the doc, saying that it still uses ksonnet and needs updating:
    https://www.kubeflow.org/docs/components/serving/trtinferenceserver/#kubernetes-generation-and-deploy

    It'd be good to get this updated before we archive the v0.6 branch of the docs.

    @pdmack is this something you could take on?

  3. asispatra commented on Aug 29, 2019

    @asispatra

    Do this document available for kustomize ?

  4. svnoesis commented on Aug 29, 2019

    @svnoesis

    We are trying to setup Nvidia TensorRT Inference Server Image on Kubernetes/Kubeflow. Looking at the readme instructions in the github, it talks about ksonnet.
    https://github.com/kubeflow/kubeflow/tree/master/kubeflow/nvidia-inference-server#kubernetes-generation-and-deploy

    Is there any updated steps for using kustomize for deploying nvidia-inference-server?
    Could anyone please help ?

  5. jlewi commented on Sep 8, 2019

    @jlewi
    ContributorAuthor

    @svnoesis Here's a sample Kubernetes spec (I generated it using the ksonnet commands) for deploying the NVIDIA inference server.

    ---
    apiVersion: v1
    kind: Service
    metadata:
      labels:
        app: inference-server
        ksonnet.io/component: iscomp
      name: inference-server
      namespace: default
    spec:
      ports:
      - name: http-inference-server
        port: 8000
        targetPort: 8000
      - name: grpc-inference-server
        port: 8001
        targetPort: 8001
      - name: metrics-inference-server
        port: 8002
        targetPort: 8002
      selector:
        app: inference-server
      type: LoadBalancer
    ---
    apiVersion: extensions/v1beta1
    kind: Deployment
    metadata:
      labels:
        app: inference-server
        ksonnet.io/component: iscomp
      name: inference-server-v1
      namespace: default
    spec:
      template:
        metadata:
          labels:
            app: inference-server
            version: v1
        spec:
          containers:
          - args:
            - trtserver
            - --model-store=gs://inference-server-model-store/tf_model_store
            image: nvcr.io/nvidia/inferenceserver:18.08.1-py2
            imagePullPolicy: IfNotPresent
            livenessProbe:
              httpGet:
                path: /api/health/live
                port: 8000
              initialDelaySeconds: 5
              periodSeconds: 5
            name: inference-server
            ports:
            - containerPort: 8000
            - containerPort: 8001
            - containerPort: 8002
            readinessProbe:
              httpGet:
                path: /api/health/ready
                port: 8000
              initialDelaySeconds: 5
              periodSeconds: 5
            resources:
              limits:
                nvidia.com/gpu: 1
            securityContext:
              fsGroup: 1000
              runAsUser: 1000
          imagePullSecrets:
          - name: ngc
    

    You should just modify that spec as needed to make it work for your use case; i.e change model-store to point to your model.

    It would be great if someone would open up a PR updating the docs.
    https://www.kubeflow.org/docs/components/serving/trtinferenceserver/

  6. jtfogarty commented on Jan 5, 2020

    @jtfogarty

    /area docs
    /kind feature

  7. 16 remaining items

  8. jlewi commented on Feb 7, 2020

    @jlewi
    ContributorAuthor

    @sarahmaddox I think we can close this after #1608 is merged. I don't think there is any more immediate work.

  9. sarahmaddox commented on Feb 7, 2020

    @sarahmaddox
    Contributor

    Thanks @jlewi Agreed that there's no immediate work required. But I think it would be good to add more info to this page if we can. I've labeled this issue for the doc sprint, in case anyone wants to pick it up then.

    For people interested in picking up this issue: There's useful info in the comments on the issue. In addition, you may find useful content (though out of date) in the Kubeflow v0.6 docs.

  10. hefedev commented on Feb 7, 2020

    @hefedev
    Contributor

    This is what you need to get this working with yaml spec posted above, I'd wait for kustomize build since it offers better integration with kubeflow

    export NVIDIA_API_KEY="your_nvidia_api_key"
    export NVIDIA_API_EMAIL="your_nvidia_api_email"
    export NVIDIA_IMAGE_TAG="18.08.1-py2"
    export NVIDIA_EXAMPLE_MODEL_URL="github.com/NVIDIA/tensorrt-inference-server"
    
    kubectl create secret \
        docker-registry ngc \
        --docker-server=nvcr.io \
        --docker-username="\$oauthtoken" \
        --docker-password=$NVIDIA_API_KEY \
        --docker-email=$NVIDIA_API_EMAIL
    
  11. sarahmaddox commented on Mar 30, 2020

    @sarahmaddox
    Contributor

    @deadeyegoodwin Do you have bandwidth to update the Triton Inference Server docs to include the info provided in the comments on this issue?

    If you don't have bandwidth, I'll close this issue now, since the docs no longer reference ksonnet. (They just link to the NVIDIA docs without providing additional info.)

  12. mengdong commented on Mar 30, 2020

    @mengdong

    @sarahmaddox would you be more specific on what you request for Triton Inference Server docs? Thanks. Would the helm chart the sufficient to you or you would prefer a different example?

  13. sarahmaddox commented on Mar 31, 2020

    @sarahmaddox
    Contributor

    @mengdong I'd be happy for someone from NVIDIA to confirm that the Triton Inference Server deployment using Helm is the best one for integration with Kubeflow. If that's the case, then no further work needed. In that case, I'll close this issue.

    Otherwise, if someone is able to develop and document a kustomize deployment, I'll leave this issue open. (I'd actually thought that the comments above were referring to a kustomize YAML file, but I see the YAML uses ksonnet, which Kubeflow no longer uses.)

  14. mengdong commented on Mar 31, 2020

    @mengdong

    Okay, thanks for clarifying. I am from NVIDIA. We can document a basic kustomize deployment for Triton Inference server. I will keep you posted

  15. sarahmaddox commented on Mar 31, 2020

    @sarahmaddox
    Contributor

    Thanks, that's excellent news.

  16. stale commented on Jun 30, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions