# Kubernetes Node Affinity & Taint Toleration Admission Checker

> Kubernetes Node Affinity & Taint Toleration Admission Checker is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-24).

Computes complete node eligibility for a pod by evaluating required/preferred node affinity rules and hard/soft taints against explicit toleration matching.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/kubernetes132-node-affinity-taint-toleration-admission?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kubernetes-node-affinity-taint-toleration-admission-checker-1684b618
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-9I3KueICS31KDVjNSqdC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kubernetes-node-affinity-taint-toleration-admission-checker-1684b618 -d '<json body>'
```

Example prompt: Check whether my pod — which requires nodes labeled 'env=prod' and 'zone=us-east-1', tolerates the taint 'dedicated=gpu:NoSchedule', and prefers nodes labeled 'tier=high' — is eligible to run on my three candidate nodes with their current labels and taints.

## When to prefer this

Use this endpoint when you need deterministic, server-side computation of Kubernetes scheduling admission logic — especially when you want to evaluate multiple candidate nodes against complex required+preferred affinity rules and hard+soft taints in a single call, without spinning up a real Kubernetes API server or kube-scheduler.

## Known failure modes

- Malformed node label map or taint structure returns a 400 validation error
- Exceeding 512-item array limits on nodes, tolerations, or affinity terms causes a schema rejection
- Missing required fields (node_selector, nodes, preferred_terms, required_terms, tolerations) returns an error
- Invalid operator values in affinity expressions may cause computation failure
- Payment not attached or insufficient USDC causes a 402 response

## How this service works

Compute complete node eligibility from required/preferred node affinity and hard/soft taints with exact toleration matching.

## Output

Returns a structured eligibility artifact per node indicating whether each node passes required affinity, fails on specific taints, satisfies toleration matching, and its soft-preference score — giving a complete admission decision for each candidate node.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "$defs": {
    "s_4dbca1a6673f": {
     "type": "object",
     "maxProperties": 32,
     "additionalProperties": {
      "type": "string",
      "maxLength": 256
     }
    }
   },
   "required": [
    "k8sAffinity"
   ],
   "properties": {
    "k8sAffinity": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "node_selector",
        "nodes",
        "preferred_terms",
        "required_terms",
        "tolerations"
       ],
       "properties": {
        "nodes": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "labels",
           "taints"
          ],
          "properties": {
           "labels": {
            "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s_4dbca1a6673f"
           },
           "taints": {
            "type": "array",
            "items": {
             "type": "object",
             "required": [
              "effect",
              "key",
              "value"
             ],
             "properties": {
              "key": {
               "type": "string",
               "maxLength": 20000
              },
              "value": {
               "type": "string",
               "maxLength": 20000
              },
              "effect": {
               "type": "string",
               "maxLength": 20000
              }
             },
             "additionalProperties": false
            },
            "maxItems": 512
           }
          },
          "additionalProperties": false
         },
         "maxItems": 512
        },
        "tolerations": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "effect",
           "key",
           "operator",
           "value"
          ],
          "properties": {
           "key": {
            "type": "string",
            "maxLength": 20000
           },
           "value": {
            "type": "string",
            "maxLength": 20000
           },
           "effect": {
            "type": "string",
            "maxLength": 20000
           },
           "operator": {
            "type": "string",
            "maxLength": 20000
           }
          },
          "additionalProperties": false
         },
         "maxItems": 512
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kubernetes-node-affinity-taint-toleration-admission-checker-1684b618/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
