Installing Astarte Operator
Operator installation is usually intermediated by
astartectl cluster subcommand.
astartectl cluster manages the entire lifecycle of Astarte within
a single Kubernetes Cluster, with regards of both the Operator and the Astarte instance(s) that will be deployed
in the Cluster.
Installing the Operator is as simple as
astartectl cluster install-operator
This command will take care of installing all needed components for the Operator to run. This includes all the
RBAC roles, Custom Resource Definitions, and the Operator itself. The
--version switch allows to specify a
version to install - when not specified, the latest version will be installed instead.
To upgrade the Operator, use the dedicated
astartectl cluster upgrade-operator
Just like the
install-operator command, the
--version switch allows to specify the version to upgrade to -
when not specified, the latest version will be fetched and used.
To uninstall the Operator, use the dedicated
astartectl cluster uninstall-operator
This command will refuse to execute if any Astarte instances are active in the Cluster. Uninstalling the Operator
is possible only after all managed instances have been deleted too.
When uninstalling the Operator, all resources installed with
install-operator will be erased completely.