Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,28 @@ owned resources being garbage collected by Kubernetes.

$[prodname] creates a default-deny for the calico-system namespace. If you deploy workloads into the calico-system namespace, you must create policy that allows the required traffic for your workloads prior to upgrade.

### License agent removed

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some general questions:

  1. What happens if you don't remove the license agent?
  2. Does it make a difference when I do this? Before or after an upgrade? I'm guessing we do this first, then perform the upgrade.
  3. I presume that this removal step needs to remain in the CE docs until 3.27, when it will no longer apply because we will stop supporting upgrades from 3.24. Is that right?
  4. Is this just cleanup, or does this constitute a breaking change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1. What happens if you don't remove it?

It keeps running and keeps exporting its metrics. Nothing in the release manages it — the operator doesn't reconcile it, nothing upgrades or removes it — so it becomes an orphan: not built, not tested, not patched. CVEs accumulate in an image that never gets rebuilt.

2. Before or after the upgrade?

Either works.

3. Keep the note until 3.27?

That's correct. When 3.24 is the oldest supported cluster, we are not supporting this upgrade path anymore.

4. Cleanup or breaking change?

No functionality breaks — license validity is still observable via the operator metrics. But it's a user-visible removal, not silent cleanup: the manifest URL will 404, and dashboards or alerts on the agent's metric names need repointing. Should be a deprecation/removal in the release notes.


The license agent has been removed in $[prodname] v3.24.0-3. If you previously installed

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you previously installed it

Under what circumstances would a CE users NOT have installed it? It seems to me that this applies to everyone using Calico Enterprise. Or is there a way to have a license without the agent?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The license agent has no operational role in the cluster. It runs as a standalone Deployment whose only job is to read the LicenseKey and expose Prometheus gauges — it does not gate, enforce or enable any feature. A Calico Enterprise cluster without it is fully functional; the only difference is those metrics.

Its replacement is already running on every cluster installed from our manifests. tigera-operator exports tigera_operator_license_expiry_timestamp_seconds and tigera_operator_license_valid, both labelled by package, and ships PrometheusRule alerts on them — LicenseExpiringWarning at 30 days and LicenseExpiringCritical at 7 days or when the license is invalid. The agent shipped no alerts, so this is more coverage than before, not less.

The one real impact is on users whose dashboards or alerts reference the agent's metric names; those need repointing at the operator metrics.

it, uninstall it using the manifest from the version you are upgrading
**from** — it is still available at its versioned URL. For example, if upgrading from v3.23.2:

```bash
kubectl delete -f https://downloads.tigera.io/ee/v3.23.2/manifests/licenseagent.yaml
```
Comment on lines +63 to +65

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this procedure look like for Helm installations?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

installing license agent is not part of the default installation, it comes as an additional step and therefore not included in the helm installations as well. the instructions to install license agent for reference: https://docs.tigera.io/calico-enterprise/3.21/operations/monitor/metrics/license-agent


If you no longer have that manifest:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be a second, perhaps unnecessary method. We know that we host manifests for all published versions. So can't we just rely on the manifest being available?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough. I tried to be helpful to user but if it is too much explanation, I am okay with dropping this section and only refer them to find the correct manifest to do the uninstall.


```bash
kubectl delete servicemonitor calico-lic-monitor -n tigera-prometheus --ignore-not-found
kubectl delete networkpolicies.projectcalico.org calico-system.tigera-license-agent-access -n tigera-license-agent --ignore-not-found
kubectl delete networkpolicies.projectcalico.org allow-tigera.tigera-license-agent-access -n tigera-license-agent --ignore-not-found
kubectl delete clusterrole,clusterrolebinding tigera-license-agent --ignore-not-found
kubectl delete namespace tigera-license-agent --ignore-not-found
```

To learn about the license metrics, see [Operator metrics](../../../../operations/monitor/metrics/operator-metrics.mdx).

## Upgrade from 3.19 or later

:::note
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,28 @@ These steps differ based on your cluster type. If you are unsure of your cluster

:::

### License agent removed

The license agent has been removed in $[prodname] v3.24.0-3. If you previously installed
it, uninstall it using the manifest from the version you are upgrading
**from** — it is still available at its versioned URL. For example, if upgrading from v3.23.2:

```bash
kubectl delete -f https://downloads.tigera.io/ee/v3.23.2/manifests/licenseagent.yaml
```

If you no longer have that manifest:

```bash
kubectl delete servicemonitor calico-lic-monitor -n tigera-prometheus --ignore-not-found
kubectl delete networkpolicies.projectcalico.org calico-system.tigera-license-agent-access -n tigera-license-agent --ignore-not-found
kubectl delete networkpolicies.projectcalico.org allow-tigera.tigera-license-agent-access -n tigera-license-agent --ignore-not-found
kubectl delete clusterrole,clusterrolebinding tigera-license-agent --ignore-not-found
kubectl delete namespace tigera-license-agent --ignore-not-found
```

To learn about the license metrics, see [Operator metrics](../../../../operations/monitor/metrics/operator-metrics.mdx).

## Upgrade Calico Enterprise

<Tabs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,28 @@ pod-security.kubernetes.io/enforce-version: latest
security.openshift.io/scc.podSecurityLabelSync: "false"
```

### License agent removed

The license agent has been removed in $[prodname] v3.24.0-3. If you previously installed
it, uninstall it using the manifest from the version you are upgrading
**from** — it is still available at its versioned URL. For example, if upgrading from v3.23.2:

```bash
kubectl delete -f https://downloads.tigera.io/ee/v3.23.2/manifests/licenseagent.yaml
```

If you no longer have that manifest:

```bash
kubectl delete servicemonitor calico-lic-monitor -n tigera-prometheus --ignore-not-found
kubectl delete networkpolicies.projectcalico.org calico-system.tigera-license-agent-access -n tigera-license-agent --ignore-not-found
kubectl delete networkpolicies.projectcalico.org allow-tigera.tigera-license-agent-access -n tigera-license-agent --ignore-not-found
kubectl delete clusterrole,clusterrolebinding tigera-license-agent --ignore-not-found
kubectl delete namespace tigera-license-agent --ignore-not-found
```

To learn about the license metrics, see [Operator metrics](../../../operations/monitor/metrics/operator-metrics.mdx).

## Download the new manifests

Make a manifests directory.
Expand Down
9 changes: 9 additions & 0 deletions calico-enterprise/release-notes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ This version of Calico Enterprise is based on [Calico Open Source $[openSourceVe

- The compliance reporting feature has been removed from the $[prodname] web console.
- $[prodname] is moving the `projectcalico.org/v3` API from the aggregated API server to native Kubernetes CRDs. Both mechanisms will be supported until native v3 CRDs are compatible with all supported platforms, after which the aggregated API server will be removed.
- The license agent has been removed and is no longer maintained.

## Technology Preview features

Expand All @@ -53,6 +54,14 @@ Migrate in this order:

:::

### License agent removed

If you previously installed the license agent, remove it from your cluster before or after upgrading.
No `license-agent` image is published for this release or later.
For platform-specific steps, see the upgrade guides for [Helm](../getting-started/upgrading/upgrading-enterprise/kubernetes-upgrade-tsee/helm.mdx#license-agent-removed),
[the operator](../getting-started/upgrading/upgrading-enterprise/kubernetes-upgrade-tsee/operator.mdx#license-agent-removed),
or [OpenShift](../getting-started/upgrading/upgrading-enterprise/openshift-upgrade.mdx#license-agent-removed).

## Release details

### Calico Enterprise X.Y.Z (early preview)
Expand Down
4 changes: 4 additions & 0 deletions static/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@

# Removed features

# License agent
/calico-enterprise/latest/operations/monitor/metrics/license-agent /calico-enterprise/latest/operations/license-options 301
/calico-enterprise/3.24/operations/monitor/metrics/license-agent /calico-enterprise/3.24/operations/license-options 301

#FIPS
/calico-enterprise/latest/operations/fips /calico-enterprise/latest/operations 301
/calico-enterprise/3.19/operations/fips /calico-enterprise/3.19/operations 301
Expand Down