Updating NiFi
Updating (or downgrading for that matter) the deployed version of NiFi is as simple as changing the version stated in the CRD.
Continuing the example above, to change the deployed version from 1.27.0
to 2.0.0
you’d simply deploy the following CRD.
apiVersion: nifi.stackable.tech/v1alpha1
kind: NifiCluster
metadata:
name: simple-nifi
spec:
image:
productVersion: 2.0.0 (1)
1 | Change the NiFi version here |
NiFi clusters cannot be upgraded or downgraded in a rolling fashion due to a limitation in NiFi. Any change to the NiFi version in the CRD triggers a full cluster restart with brief downtime. However, the Stackable image version can be updated in a rolling manner, provided the NiFi version remains unchanged. |
NiFi 2.0.0
Before you can upgrade to 2.0.0
you need to update to at least version 1.27.x!