An open API service indexing awesome lists of open source software.

https://github.com/ctron/ditto-operator

A Kubernetes Operator for Eclipse Ditto™
https://github.com/ctron/ditto-operator

iot kubernetes operator

Last synced: 4 months ago
JSON representation

A Kubernetes Operator for Eclipse Ditto™

Awesome Lists containing this project

README

          

# Operator for Eclipse Ditto™

[![CI](https://github.com/ctron/ditto-operator/workflows/ci/badge.svg)](https://github.com/ctron/ditto-operator/actions?query=workflow%3Aci)

## Install the operator

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`.

### Using OperatorHub

The operator is available on [OperatorHub](https://operatorhub.io/operator/ditto-operator).

### Using Helm

You can also install the operator using [Helm](https://helm.sh/):

helm install ditto-operator ./helm/ditto-operator

## MongoDB

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 Ditto instance

Create a new Ditto instance:

~~~yaml
apiVersion: iot.eclipse.org/v1alpha1
kind: Ditto
metadata:
name: test
spec:
mongoDb:
host: mongodb
~~~