Coder Social home page Coder Social logo

zhuwenxing / attu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zilliztech/attu

0.0 0.0 0.0 12.4 MB

Milvus management GUI

Home Page: https://attu.vercel.app

License: Apache License 2.0

Shell 0.10% JavaScript 0.98% TypeScript 98.51% CSS 0.18% HTML 0.11% Dockerfile 0.12%

attu's Introduction

Attu

typescript downloads

Attu is an all-in-one milvus administration tool. With Attu, you can dramatically reduce the cost of managing milvus.

attu

Quick start guide for Attu

❗ attu version 2.2.3 or higher is incompatible with Milvus versions < v2.2.

If you prefer to use a desktop application, you can download the desktop version of Attu.

Running Attu from Docker

Before you begin, make sure that you have Milvus installed on either your server or Zilliz Cloud. Note that Attu only supports Milvus 2.x and some of the features are not supported yet for Zilliz Cloud.

Here are the steps to start a container for running Attu:

docker run -p 8000:3000 -e MILVUS_URL={milvus server IP}:19530 zilliz/attu:v2.3.5

Make sure that the Attu container can access the Milvus IP address. After starting the container, open your web browser and enter http://{ Attu IP }:8000 to view the Attu GUI.

Running Attu within Kubernetes

Before you begin, make sure that you have Milvus installed and running within your K8's Cluster. Note that Attu only supports Milvus 2.x.

Here are the steps to start a container for running Attu:

kubectl apply -f https://raw.githubusercontent.com/zilliztech/attu/main/attu-k8s-deploy.yaml

Make sure that the Attu pod can access the Milvus service. In the example provided this connects directly to my-release-milvus:19530. Change this based on the Milvus service name. A more flexible way to achieve this would be to introduce a ConfigMap. See this example for details.

Optional Environment Variables for Running Attu Docker

Parameter Example Required Description
MILVUS_URL 192.168.0.1:19530 false Optional, Milvus server URL
ATTU_LOG_LEVEL info false Optional, sets the log level for Attu
ROOT_CERT_PATH /path/to/root/cert false Optional, path to the root certificate
PRIVATE_KEY_PATH /path/to/private/key false Optional, path to the private key
CERT_CHAIN_PATH /path/to/cert/chain false Optional, path to the certificate chain
SERVER_NAME your_server_name false Optional, name of your server

Please note that the MILVUS_URL should be an address that the Attu Docker container can access. Therefore, "127.0.0.1" or "localhost" will not work.

To run the Docker container with these environment variables, use the following command:

docker run -p 8000:3000 \
-v /your-tls-file-path:/app/tls \
-e ATTU_LOG_LEVEL=info  \
-e ROOT_CERT_PATH=/app/tls/ca.pem \
-e PRIVATE_KEY_PATH=/app/tls/client.key \
-e CERT_CHAIN_PATH=/app/tls/client.pem \
-e SERVER_NAME=your_server_name \
zilliz/attu:dev

Common connection problem using Attu

  • I can't log into the system

    Make sure that the IP address of the Milvus server can be accessed from the Attu container. #161

Features

  • Basic Dashboard
  • Collection Management: Create, drop, and manage collections using our intuitive interface. You can also create aliases, view collection schemas, and configure indexes with custom parameters.
  • Data Management: Insert entities, preview your data, and run queries to analyze your results.
  • Vector Search/Query: Use our advanced filtering system to search and query vectors with precision.
  • System View: View system information and Milvus node configurations easily.
  • Milvus User Management: Manage users and roles and their permissions with ease.
  • Database Management: Manage databases in Milvus.
  • More Features Coming Soon: Stay tuned for additional features that will make Milvus even more powerful and user-friendly.

Screenshots

attu

attu

attu

attu

attu

attu

attu

✨ Contributing Code

Thank you for your interest in contributing to Attu! Here's how you can build Attu locally to contribute code, test out the latest features, or try out an open PR:

Build the Server

  1. Fork and clone the Attu repository.
  2. Navigate to the server directory by running cd server in the terminal.
  3. Install dependencies by running yarn install.
  4. To start the server in development mode, run yarn start.
  5. Create a new branch for your PR by running git checkout -b my-branch.

Build the Client

  1. Fork and clone the Attu repository.
  2. Navigate to the client directory by running cd client in the terminal.
  3. Install dependencies by running yarn install.
  4. To start the server in development mode, run yarn start.
  5. Create a new branch for your PR by running git checkout -b my-branch.

Submitting a Pull Request

  1. Make changes and ensure that tests pass.
  2. Commit changes and push to your fork.
  3. Create a Pull Request targeting the main branch of Attu.

We appreciate your contributions to Attu, regardless of size. Thanks for supporting the project!

❓ Do you have any questions or problems?

If you encounter any bugs or want to request a new feature, please create a GitHub issue. It's important to check if someone else has already created an issue for the same problem before submitting a new one.

Userful links

Here are some helpful resources to get you started with Milvus:

  • Milvus documentation: Here, you can find detailed information on how to use Milvus, including installation instructions, tutorials, and API documentation.
  • Milvus python SDK: The Python SDK allows you to interact with Milvus using Python. It provides a simple and intuitive interface for creating and querying vectors.
  • Milvus Java SDK: The Java SDK is similar to the Python SDK but designed for Java developers. It also provides a simple and intuitive interface for creating and querying vectors.
  • Milvus Go SDK: The Go SDK provides a Go API for Milvus. If you're a Go developer, this is the SDK for you.
  • Milvus Node SDK: The Node SDK provides a Node.js API for Milvus. If you're a Node.js developer, this is the SDK for you.
  • Feder: Feder is a JavaScript tool designed to aid in the comprehension of embedding vectors.

Community

💬 Join our vibrant community on the Milvus Slack Channel where you can share your knowledge, ask questions and engage in meaningful conversations. It's not just about coding, it's about connecting with other like-minded individuals. Click the link below to join now!

Miluvs Slack Channel

Also, don't forget to check out our documentation and GitHub repositories for more resources and information. We look forward to seeing you on the channel!

attu's People

Contributors

shanghaikid avatar nameczz avatar tumao727 avatar czhen-zilliz avatar sutcalag avatar alwayslove2013 avatar dependabot[bot] avatar iynewz avatar thyeezz avatar jayclifford345 avatar bennu-li avatar b0n0r avatar kateshaowanjou avatar locorichard avatar scholliyt avatar axiangcoding avatar chen-jingjie avatar hrbhot avatar keongalvin avatar techgeniuswang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.