2
0

attu_install-kubernetes.md 1.7 KB


id: attu_install-kubernetes.md label: Install attu with Kubernetes order: 2 group: attu related_key: attu summary: Learn how to install Attu with Kubernetes to manage your Milvus service.


Install Attu

This topic describes how to install Attu with Kubernetes, an efficient open-source management tool for Milvus.

{{tab}}

Prerequisites

Attu only supports Milvus 2.x.

Start a Attu instance

  1. Run the command to satrt a Attu instance

    kubectl apply -f https://github.com/zilliztech/attu/blob/main/attu-k8s-deploy.yaml
    
  2. Check the status of the running pods.

    kubectl get pod
    

Get the following output:

NAME                                               READY   STATUS      RESTARTS   AGE
my-attu-0                                          1/1     Running     0          30s
  1. Check the service of Attu

    kubectl get svc
    

Get the following output:

NAME                          TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                               AGE
my-attu-svc                   ClusterIP   10.96.0.1       <none>        3000/TCP                               40s
  1. Connect to Attu service

Open a new terminal and run the following command to forward the local port to the port that Attu uses.

$ kubectl port-forward service/my-attu-svc 3000

Visit http://127.0.0.1:3000 in the browser, and enter the address of the Milvus service.