For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

CDM Node serves an old certificate

CDM Node reads the certificate from the cdm-tls-cert Secret when it starts and keeps it in memory. After cert-manager issues a new certificate, CDM Node keeps serving the old one until its pods restart. Core Clusters that use a new domain fail the TLS handshake in the meantime.

Symptoms

  • The Certificate is ready, but Core Clusters still fail the TLS handshake. For the symptoms of the handshake failure, see TLS handshake fails.
  • The names in the Secret differ from the names that CDM Node serves.

To list the names in the Secret, run:

bash

To list the names that CDM Node serves, run:

bash

When the two outputs differ, CDM Node serves an old certificate.

Possible causes

  • CDM Node runs a version earlier than 1.7.0. These versions do not restart after the certificate changes.

  • The Reloader component does not watch the Secret. To check the annotation that triggers the restart, run:

    bash

    The output must contain secret.reloader.stakater.com/reload with the value cdm-tls-cert.

  • The Reloader pod does not run. To check it, run:

    bash

Solution

To resolve this issue, restart the CDM Node pods:

Note

The restart takes one pod at a time. The pod that restarts is unavailable for a short time.

  1. Restart the pods:

    bash
  2. Wait until the restart finishes:

    bash

    The command prints partitioned roll out complete: 3 new pods have been updated... when all pods run again.

  3. List the names that CDM Node serves again. The output now matches the names in the Secret.