Alerts and Monitoring

Your Kubernetes Checkout Is Timing Out. Is It Your Cluster or a Dependency?

November 23, 2026 Kerolos Atallah 7 min read
Kubernetes checkout timing out: is it your cluster or a dependency

By Kerolos Atallah

Disclosure: I maintain kubectl-outagedeck, the open-source tool used in this tutorial.

Pager, 14:09 UTC: Checkout has been timing out since 14:04. Payment provider reports an incident. What do you check first?

Pager, 15:12 UTC: Checkout timed out. Same provider reports an incident. Same call?

Those pages are fictional, and they look almost interchangeable. By the end of this walkthrough you’ll have enough evidence to make opposite calls. Start by finding the last step that worked. That one clue changes which dashboard deserves your attention.

In the example architecture, Cloudflare fronts checkout, the application runs on AWS, and Stripe handles payment authorization. A disposable Kubernetes workload lets you practice the dependency check safely. It does not route traffic through those providers, submit payment data, or reproduce a real outage.

1. Start with the failing request

Record the first failure in UTC, the affected region or route, and the last successful stage of the request. If available, use a trace ID to tie the probe to an application request. Did it reach the ingress and then the pod? Did the app wait on a downstream call, or did the request fail before the call even started?

In a cluster that you are authorized to inspect, compare changes in the failure window with rollout, pod, and service evidence. Substitute your actual names; the example below assumes the application and its Service are both named checkout-api:

CHECKOUT_CONTEXT='replace-with-the-context-you-are-authorized-to-inspect'
kubectl --context "$CHECKOUT_CONTEXT" -n payments-lab get deployment checkout-api
kubectl --context "$CHECKOUT_CONTEXT" -n payments-lab rollout history deployment/checkout-api
kubectl --context "$CHECKOUT_CONTEXT" -n payments-lab get pods -l app=checkout-api
kubectl --context "$CHECKOUT_CONTEXT" -n payments-lab get endpointslices \
  -l kubernetes.io/service-name=checkout-api
kubectl --context "$CHECKOUT_CONTEXT" -n payments-lab get events --sort-by=.metadata.creationTimestamp

A new ReplicaSet, disappearing ready endpoints, or failing readiness probes can explain why requests never get as far as payment authorization. Conversely, a stable rollout and Ready pods do not verify a downstream payment call. Readiness only tests what you configured it to test. Compare the failing trace with an earlier successful one, using sanitized application telemetry. Release times and provider status posting times are clues; the request path tells you which clues deserve attention. See the Kubernetes docs for rollout history and EndpointSlice readiness conditions.

2. Check known dependencies without cluster access

If you already know what the request depends on, run the provider check from a workstation with kubectl and Krew. You do not need a kubeconfig or a working connection to the cluster for this mode:

kubectl krew update
kubectl krew install outagedeck
date -u '+%Y-%m-%dT%H:%M:%SZ'
kubectl outagedeck aws cloudflare stripe

The plugin fetches normalized provider status reports through OutageDeck. The commands above check current information, so their output will not match the fictional timelines below. Record when the feed was last checked separately from when the vendor says impact started. If a provider reports an issue, read its original incident details when available. Compare the product or component, region when applicable, failure symptom, and reported impact window with your own evidence. A provider-wide operational state cannot rule out an account-specific problem or an incident that has not been posted. An unavailable check is unknown; record the error rather than treating the provider as healthy.

3. Read the declared dependencies of a workload

Provider lists are easy to forget under pressure. You can keep a small declaration in workload metadata so on-call engineers have somewhere to start. For a disposable lab, set up the sample in a separate terminal using a context you have explicitly verified. The following setup commands create a namespace and a demo Deployment, then set a label and annotation on the Deployment. They are the only commands here that change cluster resources:

LAB_CONTEXT='replace-with-your-disposable-context'
kubectl --context "$LAB_CONTEXT" create namespace payments-lab
kubectl --context "$LAB_CONTEXT" -n payments-lab \
  create deployment checkout-api --image=nginx:1.27-alpine
kubectl --context "$LAB_CONTEXT" -n payments-lab \
  label deployment checkout-api app=checkout-api --overwrite
kubectl --context "$LAB_CONTEXT" -n payments-lab \
  annotate deployment checkout-api \
  outagedeck.com/providers=aws,cloudflare,stripe

The stock container is only a stand-in for checkout. It does not create an actual checkout Service or call the vendors. For an existing workload, put the declaration under the Deployment’s metadata.annotations, not under its pod template, and put the matching label under metadata.labels. The label selector targets the workload object, even if you use the same label on the pods. See the plugin’s example manifest.

Switch LAB_CONTEXT to a read-only context for the same disposable cluster and namespace. Discovery lists Deployments, StatefulSets, and DaemonSets in the apps API group. The identity running the check needs list on those resources in payments-lab; it does not need write access. Check your permissions before running the plugin:

LAB_CONTEXT='replace-with-your-read-only-lab-context'
for resource in deployments.apps statefulsets.apps daemonsets.apps; do
  kubectl --context "$LAB_CONTEXT" -n payments-lab auth can-i list "$resource"
done

If all three checks say yes, run discovery:

kubectl outagedeck --context "$LAB_CONTEXT" \
  --namespace payments-lab --selector app=checkout-api

The plugin documentation covers Deployment, StatefulSet, and DaemonSet discovery. The command reads declared provider names and uses them for the same kind of lookup as the explicit command. Confirm that all three names appear; their status values and order are not part of the exercise. It does not infer network dependencies, trace requests, or prove that every declaration is current. If the observed request path and the declaration disagree, investigate the observed path and correct the declaration through your normal review process.

4. Make the call before reading the reveal

Both cases below are synthetic. Start with the evidence available to the first responder, then pick the next action.

Case A, 14:04 UTC

The monitor says checkout timed out. Kubernetes shows the same release and stable ready endpoints. Traces from two application instances show that the request reached the app, then stalled during the downstream payment authorization call. A fictional status report published at 14:08 UTC puts the start of intermittent authorization API timeouts at 14:00 UTC, in the relevant product and region.

Would you roll back checkout, or check the vendor’s authorization path first?

Reveal

Check the payment dependency first. The report and your own traces point to the same operation and window. Preserve sanitized request IDs, check whether the failures span instances and regions, and compare your recovery with the provider’s mitigation. The timing is consistent with the dependency being involved, but it does not establish cause. Avoid blind retries on money-moving operations; check your existing idempotency and reconciliation procedures first.

Case B, 15:12 UTC

Same red checkout dashboard. The status check again finds a fictional incident at the payment provider, but this one affects the merchant dashboard. Look at the local timeline: a rollout began two minutes earlier, pods from the new revision fail readiness, and the Service loses ready endpoints. Failing requests never reach the payment call.

Would you put checkout on hold until the provider recovers, or investigate the rollout?

Reveal

Investigate the rollout and service routing first. You already have evidence of a failure before authorization, and the provider notice names a different component. If your team’s rollback criteria are met, use its rollback playbook and verify checkout recovery. Keep the provider report on the timeline in case new evidence changes the picture, but don’t let the red badge decide what you do next.

In either case, write one sentence connecting your first action to the last successful stage of the request. If you can only say that two dashboards turned red around the same time, you still have both paths open.

Keep the dependency list usable

Keep the annotation with the deployment manifest so someone reviews it whenever integrations change. Put the incident worksheet in your runbook: failing stage, first failure in UTC, local changes, upstream scope, next check. For a standing watch, kubectl outagedeck alerts aws cloudflare stripe prints an optional setup link. The command does not send notifications or create an account or subscription, and none of the checks in this tutorial requires signing up.


About the author

Kerolos Atallah

Kerolos Atallah maintains kubectl-outagedeck, an open-source Kubernetes plugin for checking status reports from the cloud and SaaS providers behind a workload.

Leave a comment