mirror of https://github.com/dapr/docs.git
Changed to use the Helm chart by bitnami
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
parent
1cdb40f549
commit
75161a0bfe
|
@ -95,23 +95,7 @@ If you do not specify a `databaseName` value in your component definition, make
|
||||||
{{% /codetab %}}
|
{{% /codetab %}}
|
||||||
|
|
||||||
{{% codetab %}}
|
{{% codetab %}}
|
||||||
The easiest way to install MongoDB on Kubernetes is by using the [Helm chart](https://github.com/helm/charts/tree/master/stable/mongodb):
|
You can conveniently install MongoDB on Kubernetes using the [Helm chart packaged by Bitnami](https://github.com/bitnami/charts/tree/main/bitnami/mongodb/). Please refer to the documentation for the Helm chart for deploying MongoDB, both as a standalone server, and with a Replica Set (required for using transactions and actors).
|
||||||
|
|
||||||
```sh
|
|
||||||
helm install mongo stable/mongodb
|
|
||||||
```
|
|
||||||
|
|
||||||
This installs MongoDB into the `default` namespace.
|
|
||||||
To interact with MongoDB, find the service with: `kubectl get svc mongo-mongodb`.
|
|
||||||
|
|
||||||
For example, if installing using the example above, the MongoDB host address would be:
|
|
||||||
|
|
||||||
```text
|
|
||||||
mongo-mongodb.default.svc.cluster.local:27017
|
|
||||||
```
|
|
||||||
|
|
||||||
Follow the on-screen instructions to get the root password for MongoDB.
|
|
||||||
The username is `admin` by default.
|
|
||||||
{{% /codetab %}}
|
{{% /codetab %}}
|
||||||
|
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
Loading…
Reference in New Issue