Siddhi Operator Release 0.2.0-m1
Pre-release
Pre-release
Installing
Docker Image:
siddhiio/siddhi-operator:0.2.0-m1
kubectl apply -f https://github.com/siddhi-io/siddhi-operator/releases/download/v0.2.0-m1/00-prereqs.yaml
kubectl apply -f https://github.com/siddhi-io/siddhi-operator/releases/download/v0.2.0-m1/01-siddhi-operator.yaml
Highlights
Changed
-
Aggregate previous
apps
andquery
specs to a single spec calledapps
.apps: - configMap: app - script: |- @App:name("MonitorApp") @App:description("Description of the plan") @sink(type='log', prefix='LOGGER') @source( type='http', receiver.url='http://0.0.0.0:8080/example', basic.auth.enabled='false', @map(type='json') ) define stream DevicePowerStream (type string, deviceID string, power int); @sink(type='log', prefix='LOGGER') define stream MonitorDevicesPowerStream(sumPower long); @info(name='monitored-filter') from DevicePowerStream#window.time(100 min) select sum(power) as sumPower insert all events into MonitorDevicesPowerStream;
-
Replace previous
pod
spec with the container spec.container: env: - name: RECEIVER_URL value: "http://0.0.0.0:8080/example" - name: BASIC_AUTH_ENABLED value: "false" - name: NATS_URL value: "nats://siddhi-nats:4222" - name: NATS_DEST value: siddhi - name: NATS_CLUSTER_ID value: siddhi-stan image: "buddhiwathsala/siddhi-runner:0.1.1"
-
The
imagePullSecret
underpod
spec which was in previous releases moved to the top level in the YAML. (i.e Directly under thespec
of CRD )
Removed
- Remove previous
tls
spec. Now you can configure ingress TLS secret using thesiddhi-operator-config
config map.
Features & Improvements
-
Added the
messagingSystem
spec to the CRD.messagingSystem: type: nats config: bootstrap.servers: - "nats://siddhi-nats:4222" cluster.id: siddhi-stan
-
Added
persistentVolume
spec to the CRD.persistentVolume: access.modes: - ReadWriteOnce resources: requests: storage: 1Gi storageClassName: standard volume.mode: Filesystem
Bug Fixes
Find all the fixes and functionality changes from this issue #33