How do I connect to a milvus server ignoring ssl? #35955
-
What I'm trying to doI want to connect to milvus ignoring SSL. StatusEnvironment
Python code
Execution result
Additional information
my-release-milvus-service.yml
ConcernsIs external storage for GCP necessary? If so, please tell me why. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
To enable SSL for milvus:
Set tlsMode to 1 for one-way authentication. Set tlsMode to 2 for two-way authentication. The "/milvus/tls" is an internal virtual path inside pod, which should be mapped to the outside path. Anyway, the milvus proxy must access these certificate files to build ssl connection.
If the tlsMode is 2, the client must provide client.pem, client.key and ca.pem for the connection. |
Beta Was this translation helpful? Give feedback.
-
Storage service is optional, you can choose GCS, S3, MinIO, etc. |
Beta Was this translation helpful? Give feedback.
-
Thank you, @yhmo Since I am using Helm, I also consulted https://milvus.io/docs/configure-helm.md?tab=component. I can connect to milvus without storage, right?
hello_milvus.py
|
Beta Was this translation helpful? Give feedback.
To enable SSL for milvus:
If the milvus is deployed by helm, read this doc to know how to configure it: https://milvus.io/docs/configure-helm.md?tab=component
Basically, configurations are defined in the value.yaml and passed to the milvus.yaml for milvus:
Set tlsMode to 1 for one-way authentication. Set tlsMode to 2 for two-way authentication.
T…