Skip to content
CNPE · Chapter 22 of 22 Appendix C: Error Catalogue

Appendix C: Error Catalogue

Every entry really occurred while this course was being built. On the left the message, on the right cause and remedy, followed by the day on which it occurs.

Cluster and nodes

Message Cause and remedy Day
http: server gave HTTP response to HTTPS client during image pull containerd does not know the HTTP registry. hosts.toml under /etc/containerd/certs.d/<host:port>/ and one config_path in the CRI section, then restart containerd 6
0/3 nodes are available: … didn't match pod topology spread constraints The control plane counts as a domain with 0 pods → nodeTaintsPolicy: Honor 2
0/3 nodes are available: 1 node(s) were unschedulable, 2 … untolerated taint(s) Check cordon and taints: k describe node \| grep Taints 17
… Insufficient cpu although nodes are barely loaded Requests allocated, not load: LimitRange default values add up; k describe node → “Allocated resources” B
Scrape targets kube-etcd, kube-scheduler … down kubeadm binds to 127.0.0.1 → change the bind addresses in the static pods and kube-proxy’s metricsBindAddress 10

Workloads

Message Cause and remedy Day
exceeded quota: team-quota, requested: limits.cpu=… only in events The ReplicaSet fails, not the Deployment → read events, adjust quota or requests 1, 15, 17
HPA shows 6, only 2 running Pods Pending (spread, quota) – the HPA does not report an error 2
Replica count jumps back after apply Remove replicas from the manifest under an HPA 2
OOMKilled, exit 137 Memory limit too small → set the limit based on measurements 11, B
unable to retrieve container logs with --previous The second-to-last container is gone; read the last one without --previous 11
unable to lock level db at /data/queues/common (Gitea) Two pods on the same volume → strategy: Recreate 0, 2
Readiness probe failed: … connection refused Probe on the wrong port; the Service has no ready endpoints 11

GitOps

Message Cause and remedy Day
app path does not exist, status Unknown Wrong path in the Application 17
namespace '' do not match any of the allowed destinations in project ApplicationSet without destination.namespace 4
resource :ResourceQuota is not permitted in project The AppProject blocks the kind – and the whole sync 4
Git corrected, but sync stays Running/Retrying The old operation is hanging → argocd app terminate-op 4, 14, 17
Permanently OutOfSync, diff shows only @sha256:… Kyverno adds the digest → write the digest into Git 14
YAML error did not find expected key in the template Double quotes inside → single quotes outside 4
Empty namespace after deleting an environment CreateNamespace creates, never deletes 4

CI and supply chain

Message Cause and remedy Day
open …/.yq-inplace-…: permission denied Steps with different users → runAsUser: 0 or a shared user 6
cosign: --tlog-upload=false is not supported with --signing-config cosign 3: create a signing config without Rekor (cosign signing-config create) 14
no signatures found Image (digest) not signed, or signature not copied along 14
image … does not have a digest ImageValidatingPolicy with mutateDigest: false → digest in Git 14

Policies and APIs

Message Cause and remedy Day
Kyverno v1.20 removed execution of legacy kyverno.io policy types ClusterPolicy → ValidatingPolicy/MutatingPolicy/GeneratingPolicy 9
permission denied: rolebindings … is forbidden (Kyverno log) The background controller needs RBAC + bind on the role 9
Generated objects deleted, they don’t come back Created by hand beforehand → not managed; delete them and trigger the policy again 9
type mismatch: unexpected type name "Object.metadata" for new Deployments MutatingPolicy on pods with autogen → autogen.podControllers.controllers: [] 13, 15
expression of type 'any' cannot be range of a comprehension Wrap resource.List(...) in dyn(...) 13
Replacement pods of a Deployment rejected after Deny Fix existing violations first via the audit reports 13
PolicyException resources would not be processed until it is enabled Set features.policyExceptions.enabled and the namespace 13
Unready resources: zugang (Crossplane) Secret without a readiness check → readinessChecks: [{type: None}] 8
cannot run readiness check … not a (int64) number MatchInteger on readyReplicas → NonEmpty 8
SYNCED False, volumeClaimTemplates: Invalid value Immutable field → lock it in the XRD with self == oldSelf 8
strict decoding error: unknown field Typo; without strict validation the field would be silently dropped 7
Old API version despite the new CRD Delete kubectl’s discovery cache 7

Monitoring and mesh

Message Cause and remedy Day
Scrape context deadline exceeded The NetworkPolicy does not let monitoring reach the port 10
Target missing entirely instead of down ServiceMonitor refers to an unknown port name 17
Scrape server returned HTTP status 403 Linkerd authorization blocks Prometheus → route for /metrics 15
403 for a mesh client Wrong identity in MeshTLSAuthentication 17
Quota full after introducing the mesh The proxy gets the LimitRange default → config.linkerd.io/proxy-* annotations 15

Contents

More