Upgrade

Upgrading your Calyptia Core Operator provides you access to the latest features, fixes and improvements to Core Operator

Before You Begin

Ensure you read the release notes (opens in a new tab) to get up to date with the introductions to the new upgrades.

Upgrade Core Operator with Calyptia CLI

You can upgrade your Core Operator installation using Calyptia CLI (opens in a new tab).

Use the following command to get a list of the Custom Resource Definitions in your cluster:

kubectl get crd

You will get a list of CRDs in your cluster.

NAME                                    CREATED AT
helmcharts.helm.cattle.io               2023-10-31T12:04:34Z
helmchartconfigs.helm.cattle.io         2023-10-31T12:04:34Z
addons.k3s.cattle.io                    2023-10-31T12:04:34Z
serverstransports.traefik.containo.us   2023-10-31T12:04:59Z
tlsoptions.traefik.containo.us          2023-10-31T12:04:59Z
middlewaretcps.traefik.containo.us      2023-10-31T12:04:59Z
tlsstores.traefik.containo.us           2023-10-31T12:04:59Z
ingressrouteudps.traefik.containo.us    2023-10-31T12:04:59Z
ingressroutetcps.traefik.containo.us    2023-10-31T12:04:59Z
ingressroutes.traefik.containo.us       2023-10-31T12:04:59Z
traefikservices.traefik.containo.us     2023-10-31T12:04:59Z
middlewares.traefik.containo.us         2023-10-31T12:04:59Z
pipelines.core.calyptia.com             2023-10-31T12:05:09Z
ingestchecks.core.calyptia.com          2023-10-31T12:06:59Z

To upgrade your Core Operator, use the following command:

calyptia install operator

You will be asked if you want to proceed with the installation:

Previous operator installation components found:
CustomResourceDefinition Pipeline installed
Operator pod: default/calyptia-core-controller-manager
ClusterRole: calyptia-core-manager-role
ClusterRole: calyptia-core-metrics-reader
ClusterRole: calyptia-core-pod-role
ClusterRole: calyptia-core-proxy-role
ClusterRoleBinding: calyptia-core-manager-rolebinding
ClusterRoleBinding: calyptia-core-proxy-rolebinding
ServiceAccount: default/calyptia-core-controller-manager
Are you sure you want to proceed? (y/N) y

After agreeing to the installation, your Core Operator will be upgraded to the latest version.

customresourcedefinition.apiextensions.k8s.io/ingestchecks.core.calyptia.com created
customresourcedefinition.apiextensions.k8s.io/pipelines.core.calyptia.com configured
serviceaccount/calyptia-core-controller-manager unchanged
clusterrole.rbac.authorization.k8s.io/calyptia-core-manager-role configured
clusterrole.rbac.authorization.k8s.io/calyptia-core-metrics-reader unchanged
clusterrole.rbac.authorization.k8s.io/calyptia-core-pod-role unchanged
clusterrole.rbac.authorization.k8s.io/calyptia-core-proxy-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/calyptia-core-manager-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/calyptia-core-proxy-rolebinding unchanged
service/calyptia-core-controller-manager-metrics-service unchanged
deployment.apps/calyptia-core-controller-manager configured
Core operator manager successfully installed.

To verify your installation, get a list of CRDs in your cluster.

NAME                                    CREATED AT
helmcharts.helm.cattle.io               2023-10-31T12:04:34Z
helmchartconfigs.helm.cattle.io         2023-10-31T12:04:34Z
addons.k3s.cattle.io                    2023-10-31T12:04:34Z
serverstransports.traefik.containo.us   2023-10-31T12:04:59Z
tlsoptions.traefik.containo.us          2023-10-31T12:04:59Z
middlewaretcps.traefik.containo.us      2023-10-31T12:04:59Z
tlsstores.traefik.containo.us           2023-10-31T12:04:59Z
ingressrouteudps.traefik.containo.us    2023-10-31T12:04:59Z
ingressroutetcps.traefik.containo.us    2023-10-31T12:04:59Z
ingressroutes.traefik.containo.us       2023-10-31T12:04:59Z
traefikservices.traefik.containo.us     2023-10-31T12:04:59Z
middlewares.traefik.containo.us         2023-10-31T12:04:59Z
pipelines.core.calyptia.com             2023-10-31T12:05:09Z
ingestchecks.core.calyptia.com          2023-10-31T12:06:59Z

The ingestchecks from the v2.0.17 upgrade have been installed.

Upgrade Core Operator with Helm

If you installed your Core Operator using Helm, you can also upgrade your installation with Helm.

First, update your repository to get the latest update using the following command;

helm repo update

Next, install the CRDs with the following command

helm upgrade --install core-crd calyptia/core-crd

Use the following command to upgrade your Core Operator with Helm

helm upgrade --install core-operator calyptia/core-operator

You will be notified when your upgrade is completed

Release "core-operator" has been upgraded. Happy Helming!
NAME: core-operator
LAST DEPLOYED: Tue Oct 31 12:13:05 2023
NAMESPACE: default
STATUS: deployed
REVISION: 2