Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate en docs
Browse files Browse the repository at this point in the history
Milvus-doc-bot authored and Milvus-doc-bot committed Dec 23, 2024
1 parent 79980bd commit 0d24cd2
Showing 433 changed files with 27,114 additions and 2,999 deletions.
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ summary: >-
<pre><code translate="no" class="language-shell">$ kubectl create namespace observability
$ kubectl create -f https://github.com/jaegertracing/jaeger-operator/releases/download/v1.62.0/jaeger-operator.yaml -n observability
<button class="copy-code-btn"></button></code></pre>
<p>Zu diesem Zeitpunkt sollte eine <code translate="no">jaeger-operator</code> Bereitstellung verfügbar sein. Sie können es mit folgendem Befehl anzeigen:</p>
<p>Zu diesem Zeitpunkt sollte eine <code translate="no">jaeger-operator</code> Bereitstellung verfügbar sein. Sie können es mit dem folgenden Befehl anzeigen:</p>
<pre><code translate="no" class="language-shell">$ kubectl <span class="hljs-keyword">get</span> deployment jaeger-<span class="hljs-keyword">operator</span> -n observability

NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
2 changes: 1 addition & 1 deletion localization/v2.4.x/site/de/menuStructure/de.json
Original file line number Diff line number Diff line change
@@ -527,7 +527,7 @@
"children": []
},
{
"label": "Satz-Transformatoren",
"label": "Satzumwandler",
"id": "embed-with-sentence-transform.md",
"order": 2,
"children": []
6 changes: 3 additions & 3 deletions localization/v2.4.x/site/es/menuStructure/es.json
Original file line number Diff line number Diff line change
@@ -1124,7 +1124,7 @@
"order": 1,
"children": [
{
"label": "Overview",
"label": "Visión general",
"id": "milvus_backup_overview.md",
"order": 0,
"children": []
@@ -1136,7 +1136,7 @@
"children": []
},
{
"label": "RESTful API",
"label": "API RESTful",
"id": "milvus_backup_api.md",
"order": 2,
"children": []
@@ -1581,7 +1581,7 @@
"children": []
},
{
"label": "Sin estructurar",
"label": "No estructurado",
"id": "rag_with_milvus_and_unstructured.md",
"order": 3,
"children": []
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ $ kubectl create -f https://github.com/jaegertracing/jaeger-operator/releases/do
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
jaeger-<span class="hljs-keyword">operator</span> <span class="hljs-number">1</span> <span class="hljs-number">1</span> <span class="hljs-number">1</span> <span class="hljs-number">1</span> <span class="hljs-number">48</span>s
<button class="copy-code-btn"></button></code></pre>
<h3 id="2-Deploy-Jager" class="common-anchor-header">2. Distribuire Jager</h3><p>Il modo più semplice per creare un'istanza di Jaeger è creare un file YAML come nell'esempio seguente. Questo installerà la strategia AllInOne predefinita, che distribuisce l'immagine <strong>all-in-one</strong> (che combina <strong>jaeger-agent</strong>, <strong>jaeger-collector</strong>, <strong>jaeger-query</strong> e Jaeger UI) in un singolo pod, utilizzando per impostazione predefinita lo <strong>storage in-memory</strong>.</p>
<h3 id="2-Deploy-Jager" class="common-anchor-header">2. Distribuire Jager</h3><p>Il modo più semplice per creare un'istanza di Jaeger è creare un file YAML come nell'esempio seguente. Questo installerà la strategia predefinita AllInOne, che distribuisce l'immagine <strong>all-in-one</strong> (che combina <strong>jaeger-agent</strong>, <strong>jaeger-collector</strong>, <strong>jaeger-query</strong> e Jaeger UI) in un singolo pod, utilizzando per impostazione predefinita lo <strong>storage in-memory</strong>.</p>
<p>Se si desidera memorizzare le tracce per un lungo periodo, fare riferimento a <a href="https://www.jaegertracing.io/docs/1.62/operator/#production-strategy">production-strategy</a>.</p>
<pre><code translate="no" class="language-yaml">apiVersion: jaegertracing.io/v1
kind: Jaeger
@@ -145,4 +145,4 @@ jaeger-query &lt;none&gt; * <span class="hljs-number">192.168</span><s
<p>

<span class="img-wrapper"> <img translate="no" src="/docs/v2.4.x/assets/jaeger-trace-load.png" alt="Trace Load Collection Request" class="doc-image" id="trace-load-collection-request" />
</span> <span class="img-wrapper"> <span>Richiesta di raccolta del carico</span> </span></p>
</span> <span class="img-wrapper"> <span>Traccia della richiesta di raccolta del carico</span> </span></p>
4 changes: 2 additions & 2 deletions localization/v2.4.x/site/it/menuStructure/it.json
Original file line number Diff line number Diff line change
@@ -1433,7 +1433,7 @@
"children": []
},
{
"label": "Dify",
"label": "Dificare",
"id": "dify_with_milvus.md",
"order": 6,
"children": []
@@ -1717,7 +1717,7 @@
"children": []
},
{
"label": "Ricerca di somiglianza audio",
"label": "Ricerca della somiglianza audio",
"id": "audio_similarity_search.md",
"order": 8,
"children": []
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
id: config_jaeger_tracing.md
title: 配置跟踪
related_key: 'Jaeger, Milvus, Trace'
summary: 本指南提供了如何配置 Jaeger 以收集 Milvus 跟踪信息的说明
summary: 本指南介绍了如何配置 Jaeger Milvus 收集跟踪信息
---
<h1 id="Configure-Trace" class="common-anchor-header">配置跟踪<button data-href="#Configure-Trace" class="anchor-icon" translate="no">
<svg translate="no"
@@ -37,7 +37,7 @@ summary: 本指南提供了如何配置 Jaeger 以收集 Milvus 跟踪信息的
</svg>
</button></h2><ul>
<li>已安装必要的工具,包括<a href="https://helm.sh/docs/intro/install/">Helm</a>和<a href="https://kubernetes.io/docs/tasks/tools/">Kubectl</a>。</li>
<li>必须安装 Cert-manager 1.6.1 或更高版本。安装指南请<a href="https://cert-manager.io/v1.6-docs/installation/#default-static-install">点击此处</a>。</li>
<li>必须安装 Cert-manager 1.6.1 或更高版本。<a href="https://cert-manager.io/v1.6-docs/installation/#default-static-install">点击此处</a>查看安装指南。</li>
</ul>
<h2 id="Deply-Jaeger" class="common-anchor-header">部署 Jaeger<button data-href="#Deply-Jaeger" class="anchor-icon" translate="no">
<svg translate="no"
@@ -128,7 +128,7 @@ $ helm upgrade --install -f values.yaml my-release milvus/milvus
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"
></path>
</svg>
</button></h2><p>一旦使用 Helm Chart 部署了 Jaeger 和 Milvus,dfault 就会启用入口。您可以运行以下命令查看入口:</p>
</button></h2><p>一旦使用 Helm Chart 部署了 Jaeger 和 Milvus,dfault 就会启用入口。你可以运行以下命令查看入口:</p>
<pre><code translate="no" class="language-shell">$ kubectl <span class="hljs-keyword">get</span> ingress

NAME CLASS HOSTS ADDRESS PORTS AGE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"codeList":["$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0-beta/configs/milvus.yaml\n","# For Milvus standalone\n$ wget https://github.com/milvus-io/milvus/releases/download/v2.5.0-beta/milvus-standalone-docker-compose.yml -O docker-compose.yml\n","...\n standalone:\n container_name: milvus-standalone\n image: milvusdb/milvus:v2.2.13\n command: [\"milvus\", \"run\", \"standalone\"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n volumes:\n - /local/path/to/your/milvus.yaml:/milvus/configs/milvus.yaml # Map the local path to the container path\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus\n ports:\n - \"19530:19530\"\n - \"9091:9091\"\n depends_on:\n - \"etcd\"\n - \"minio\"\n...\n","$ sudo docker compose up -d\n"],"headingContent":"Configure Milvus with Docker Compose","anchorList":[{"label":"Konfigurieren von Milvus mit Docker Compose","href":"Configure-Milvus-with-Docker-Compose","type":1,"isActive":false},{"label":"Herunterladen einer Konfigurationsdatei","href":"Download-a-configuration-file","type":2,"isActive":false},{"label":"Ändern Sie die Konfigurationsdatei","href":"Modify-the-configuration-file","type":2,"isActive":false},{"label":"Download einer Installationsdatei","href":"Download-an-installation-file","type":2,"isActive":false},{"label":"Ändern Sie die Installationsdatei","href":"Modify-the-installation-file","type":2,"isActive":false},{"label":"Starten Sie Milvus","href":"Start-Milvus","type":2,"isActive":false},{"label":"Wie geht es weiter?","href":"Whats-next","type":2,"isActive":false}]}
{"codeList":["$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0/configs/milvus.yaml\n","# For Milvus standalone\n$ wget https://github.com/milvus-io/milvus/releases/download/v2.5.0/milvus-standalone-docker-compose.yml -O docker-compose.yml\n","...\n standalone:\n container_name: milvus-standalone\n image: milvusdb/milvus:v2.2.13\n command: [\"milvus\", \"run\", \"standalone\"]\n environment:\n ETCD_ENDPOINTS: etcd:2379\n MINIO_ADDRESS: minio:9000\n volumes:\n - /local/path/to/your/milvus.yaml:/milvus/configs/milvus.yaml # Map the local path to the container path\n - ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus\n ports:\n - \"19530:19530\"\n - \"9091:9091\"\n depends_on:\n - \"etcd\"\n - \"minio\"\n...\n","$ sudo docker compose up -d\n"],"headingContent":"Configure Milvus with Docker Compose","anchorList":[{"label":"Konfigurieren von Milvus mit Docker Compose","href":"Configure-Milvus-with-Docker-Compose","type":1,"isActive":false},{"label":"Herunterladen einer Konfigurationsdatei","href":"Download-a-configuration-file","type":2,"isActive":false},{"label":"Ändern Sie die Konfigurationsdatei","href":"Modify-the-configuration-file","type":2,"isActive":false},{"label":"Download einer Installationsdatei","href":"Download-an-installation-file","type":2,"isActive":false},{"label":"Ändern Sie die Installationsdatei","href":"Modify-the-installation-file","type":2,"isActive":false},{"label":"Starten Sie Milvus","href":"Start-Milvus","type":2,"isActive":false},{"label":"Wie geht es weiter?","href":"Whats-next","type":2,"isActive":false}]}
10 changes: 5 additions & 5 deletions localization/v2.5.x/site/de/adminGuide/configure-docker.md
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ title: Konfigurieren von Milvus mit Docker Compose
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"
></path>
</svg>
</button></h1><p>In diesem Thema wird beschrieben, wie Sie Milvus-Komponenten und die Abhängigkeiten von Drittanbietern mit Docker Compose konfigurieren.</p>
</button></h1><p>In diesem Thema wird beschrieben, wie Sie Milvus-Komponenten und deren Abhängigkeiten von Drittanbietern mit Docker Compose konfigurieren.</p>
<div class="alert note">
In der aktuellen Version werden alle Parameter erst nach einem Neustart von Milvus wirksam.</div>
<h2 id="Download-a-configuration-file" class="common-anchor-header">Herunterladen einer Konfigurationsdatei<button data-href="#Download-a-configuration-file" class="anchor-icon" translate="no">
@@ -38,8 +38,8 @@ In der aktuellen Version werden alle Parameter erst nach einem Neustart von Milv
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"
></path>
</svg>
</button></h2><p><a href="https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0-beta/configs/milvus.yaml">Laden Sie</a> <code translate="no">milvus.yaml</code> direkt oder mit dem folgenden Befehl<a href="https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0-beta/configs/milvus.yaml">herunter</a>.</p>
<pre><code translate="no">$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0-beta/configs/milvus.yaml
</button></h2><p><a href="https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0/configs/milvus.yaml">Laden Sie</a> <code translate="no">milvus.yaml</code> direkt oder mit dem folgenden Befehl<a href="https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0/configs/milvus.yaml">herunter</a>.</p>
<pre><code translate="no">$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.5.0/configs/milvus.yaml
<button class="copy-code-btn"></button></code></pre>
<h2 id="Modify-the-configuration-file" class="common-anchor-header">Ändern Sie die Konfigurationsdatei<button data-href="#Modify-the-configuration-file" class="anchor-icon" translate="no">
<svg translate="no"
@@ -211,10 +211,10 @@ In der aktuellen Version werden alle Parameter erst nach einem Neustart von Milv
d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"
></path>
</svg>
</button></h2><p>Laden Sie die Installationsdatei für Milvus <a href="https://github.com/milvus-io/milvus/releases/download/v2.5.0-beta/milvus-standalone-docker-compose.yml">standalone</a> herunter und speichern Sie sie als <code translate="no">docker-compose.yml</code>.</p>
</button></h2><p>Laden Sie die Installationsdatei für Milvus <a href="https://github.com/milvus-io/milvus/releases/download/v2.5.0/milvus-standalone-docker-compose.yml">standalone</a> herunter und speichern Sie sie als <code translate="no">docker-compose.yml</code>.</p>
<p>Sie können auch einfach den folgenden Befehl ausführen.</p>
<pre><code translate="no"><span class="hljs-comment"># For Milvus standalone</span>
$ wget https://github.com/milvus-io/milvus/releases/download/v2.5.0-beta/milvus-standalone-docker-compose.yml -O docker-compose.yml
$ wget https://github.com/milvus-io/milvus/releases/download/v2.5.0/milvus-standalone-docker-compose.yml -O docker-compose.yml
<button class="copy-code-btn"></button></code></pre>
<h2 id="Modify-the-installation-file" class="common-anchor-header">Ändern Sie die Installationsdatei<button data-href="#Modify-the-installation-file" class="anchor-icon" translate="no">
<svg translate="no"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"codeList":["from pymilvus import MilvusClient​\n​\nclient = MilvusClient(​\n uri=\"http://localhost:19530\",​\n token=\"root:Milvus\"​\n)​\n​\n# create a user​\nclient.drop_user(user_name=\"user_1\")​\n\n","import io.milvus.v2.client.ConnectConfig​\nimport io.milvus.v2.client.MilvusClientV2​\nimport io.milvus.v2.service.rbac.request.DropUserReq​\n​\nConnectConfig connectConfig = ConnectConfig.builder()​\n .uri(\"http://localhost:19530\")​\n .token(\"root:Milvus\")​\n .build();​\n ​\nMilvusClientV2 client = new MilvusClientV2(connectConfig);​\n​\nDropUserReq dropUserReq = DropUserReq.builder()​\n .userName(\"user_1\")​\n .build();​\nclient.dropUser(dropUserReq);​\n\n","const { MilvusClient, DataType } = require(\"@zilliz/milvus2-sdk-node\")​\n​\nconst address = \"http://localhost:19530\";​\nconst token = \"root:Milvus\";​\nconst client = new MilvusClient({address, token});​\n​\nmilvusClient.deleteUser({​\n username: 'user_1'​\n})​\n\n","export CLUSTER_ENDPOINT=\"http://localhost:19530\"​\nexport TOKEN=\"root:Milvus\"​\n​\ncurl --request POST \\​\n--url \"${CLUSTER_ENDPOINT}/v2/vectordb/users/drop\" \\​\n--header \"Authorization: Bearer ${TOKEN}\" \\​\n--header \"Content-Type: application/json\" \\​\n-d '{​\n \"userName\": \"user_1\"​\n}'​\n\n","from pymilvus import MilvusClient​\n​\nclient.list_users()​\n\n","import io.milvus.v2.service.rbac.request.listUsersReq​\n​\nList<String> resp = client.listUsers();​\n\n","const { MilvusClient, DataType } = require(\"@zilliz/milvus2-sdk-node\")​\n​\nmilvusClient.listUsers()​\n\n","curl --request POST \\​\n--url \"${CLUSTER_ENDPOINT}/v2/vectordb/users/list\" \\​\n--header \"Authorization: Bearer ${TOKEN}\" \\​\n--header \"Content-Type: application/json\" \\​\n-d '{}'​\n\n","['root']​\n\n","from pymilvus import MilvusClient​\n​\nclient.drop_role(role_name=\"role_a\")​\n\n","import io.milvus.v2.service.rbac.request.DropRoleReq​\n​\nDropRoleReq dropRoleReq = DropRoleReq.builder()​\n .roleName(\"role_a\")​\n .build();​\nclient.dropRole(dropRoleReq);​\n\n","const { MilvusClient, DataType } = require(\"@zilliz/milvus2-sdk-node\")​\n​\nmilvusClient.dropRole({​\n roleName: 'role_a',​\n })​\n\n","curl --request POST \\​\n--url \"${CLUSTER_ENDPOINT}/v2/vectordb/roles/drop\" \\​\n--header \"Authorization: Bearer ${TOKEN}\" \\​\n--header \"Content-Type: application/json\" \\​\n-d '{​\n \"roleName\": \"role_a\"​\n}'​\n\n","from pymilvus import MilvusClient​\n​\nclient.list_roles()​\n\n","List<String> resp = client.listRoles();​\n\n","const { MilvusClient, DataType } = require(\"@zilliz/milvus2-sdk-node\")​\n​\nmilvusClient.listRoles(​\n includeUserInfo: True​\n)​\n\n","curl --request POST \\​\n--url \"${CLUSTER_ENDPOINT}/v2/vectordb/roles/list\" \\​\n--header \"Authorization: Bearer ${TOKEN}\" \\​\n--header \"Content-Type: application/json\" \\​\n-d '{}'​\n\n","['admin']​\n\n"],"headingContent":"Drop Users & Roles​","anchorList":[{"label":"Benutzer und Rollen löschen","href":"Drop-Users--Roles​","type":1,"isActive":false},{"label":"Löschen eines Benutzers","href":"Drop-a-user​","type":2,"isActive":false},{"label":"Eine Rolle löschen","href":"Drop-a-role​","type":2,"isActive":false}]}
Loading

0 comments on commit 0d24cd2

Please sign in to comment.