Skip to content

Break and fix

Each entry is symptom, likely cause, fix. Tenant-facing error messages are indexed in Troubleshooting.

Symptom: a tenant reports Pods stuck in Pending, or a Deployment or Job with no Pods.

Likely cause: Pending is scheduling: node capacity, affinity, or an unbound PVC. Quota never causes Pending: an over-quota create is rejected with exceeded quota, and the Pod never exists.

Fix:

  1. Pod exists and is Pending: kubectl describe pod <pod> -n <ns>. For Insufficient cpu / Insufficient memory, check Allocated resources in kubectl describe nodes for nodes near 100% of allocatable requests (kubectl top nodes shows usage, not requests). Escalate capacity shortfalls to RCS infrastructure.
  2. No Pods: kubectl describe rs -n <ns> (or describe job).
    • exceeded quota: compare kubectl describe resourcepool <tenant> with the tier. A tier change follows Requesting quota changes.
    • validate.kyverno.svc-fail … violates PodSecurity "restricted:": the tenant’s Pod spec, not a platform fault (Pod Security restricted).

Symptom: The Namespace name must start with '<tenant>-' when ForceTenantPrefix is enabled in the Tenant., or namespaces is forbidden: User "<user>" cannot create resource "namespaces" in API group "" at the cluster scope.

Likely cause: the name lacks the <tenant>- prefix (most common), or the user’s token lacks the tenant group. There is no namespace-count limit.

Fix:

  1. The name must be <tenant>-<name>, with the tenant name lowercased.
  2. Have the user run kubectl auth whoami. If Groups lacks oidc:<RAP group>, add them to the Keycloak group, then have them run kubectl oidc-login clean.

Symptom: an Application stays OutOfSync after a merge.

Likely cause: a rendering or schema error, or an admission webhook rejecting a resource.

Fix:

  1. kubectl -n argo-cd describe application <app>: read the sync error.
  2. Schema error: check the diff in the ArgoCD UI (often a CRD version mismatch or a removed field).
  3. Webhook rejection: kubectl get events -n <target-ns> --sort-by=.lastTimestamp.
  4. Platform Applications: if the error points nowhere, check the cluster labels on the in-cluster Secret, the sealing key and the deploy key (docs/architecture/gitops-flow.md in ubernetes-applications, Operations touchpoints).
  5. Fix the manifest, merge, and let ArgoCD sync.

Symptom: kubectl get certificate -n <ns> shows READY: False.

Likely cause: in order: the request was never approved (no CertificateRequestPolicy matches), a DNS01 challenge failure, or the Let’s Encrypt rate limit. A missing DNS record for the hostname does not block issuance: the ClusterIssuers validate with DNS01 against RCS DNS.

Fix:

  1. kubectl get certificaterequest -n <ns>: check APPROVED.

    • Empty APPROVED and DENIED: no policy matches, so the tenant’s policy isn’t enabled. approver-policy records a Request is not applicable for any policy so ignoring event only once, and events expire after about an hour. Set certificateRequestPolicy.enabled: true (or namespacedIssuers.enabled for the tenant’s own Issuers) in its values file (Tenant provisioning). Confirm with kubectl get certificaterequestpolicy <tenant>.
    • DENIED: True: the name is outside <tenant>.kestrel.arbutus.cloud, commonName is set to anything but <tenant>.kestrel.arbutus.cloud, or the key isn’t RSA ≥ 2048 (ECDSA is denied).
    • Approver logs: kubectl logs -n cert-manager deploy/cert-manager-approver-policy.
  2. Approved but not ready:

    Terminal window
    kubectl describe order,challenge -n <ns>
    kubectl logs -n cert-manager deploy/cert-manager -c cert-manager-controller --tail=50
  3. Rate limit (a 429 mentioning too many certificates): 50 per week per registered domain, and arbutus.cloud is shared with every Kestrel tenant and other RCS clusters. Wait out the window; point the tenant at letsencrypt-staging.

If the certificate is READY but the site doesn’t resolve, the hostname’s DNS record is missing: create it as a CNAME to kestrel.arbutus.cloud.

Symptom: kubectl get nodes shows a node NotReady.

Likely cause: the kubelet stopped reporting, usually from disk or memory pressure or a VM-level problem.

Fix:

  1. kubectl describe node <node>: check Conditions for DiskPressure, MemoryPressure, NetworkUnavailable.

  2. Disk pressure: clean up images and logs (crictl rmi --prune removes unused images).

  3. Unreachable: check the VM in OpenStack and reboot it if it is in an error state.

  4. Not recovered after 15 minutes:

    Terminal window
    kubectl cordon <node>
    kubectl drain <node> --ignore-daemonsets --delete-emptydir-data