A Kubernetes Operator for Eclipse Ditto™
You need to install the operator. Once you have installed the operator, you can create a new Ditto instance by
create a new custom resource of type Ditto
.
The operator is available on OperatorHub.
You can also install the operator using Helm:
helm install ditto-operator ./helm/ditto-operator
You need to provide a MongoDB instance. You can easily deploy one with
the following Helm chart:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install mongodb bitnami/mongodb --set podSecurityContext.enabled=false --set containerSecurityContext.enabled=false --set auth.rootPassword=admin123456 --set auth.enabled=false
Create a new Ditto instance:
apiVersion: iot.eclipse.org/v1alpha1
kind: Ditto
metadata:
name: test
spec:
mongoDb:
host: mongodb