Ternary · Capability

Ternary API — Kubernetes

Ternary API — Kubernetes. 2 operations. Lead operation: List Kubernetes Pod Labels. Self-contained Naftiko capability covering one Ternary business surface.

Run with Naftiko TernaryKubernetes

What You Can Do

GET
Listkubernetespodlabels — List Kubernetes Pod Labels
/v1/v1/kubernetes/pod-labels
PUT
Updatekubernetespodlabels — Update Kubernetes Pod Labels
/v1/v1/kubernetes/pod-labels

MCP Tools

list-kubernetes-pod-labels

List Kubernetes Pod Labels

read-only idempotent
update-kubernetes-pod-labels

Update Kubernetes Pod Labels

idempotent

Capability Spec

ternary-kubernetes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Ternary API — Kubernetes
  description: 'Ternary API — Kubernetes. 2 operations. Lead operation: List Kubernetes Pod Labels. Self-contained Naftiko
    capability covering one Ternary business surface.'
  tags:
  - Ternary
  - Kubernetes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TERNARY_API_KEY: TERNARY_API_KEY
capability:
  consumes:
  - type: http
    namespace: ternary-kubernetes
    baseUri: https://api.ternary.app
    description: Ternary API — Kubernetes business capability. Self-contained, no shared references.
    resources:
    - name: v1-kubernetes-pod-labels
      path: /v1/kubernetes/pod-labels
      operations:
      - name: listkubernetespodlabels
        method: GET
        description: List Kubernetes Pod Labels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatekubernetespodlabels
        method: PUT
        description: Update Kubernetes Pod Labels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.TERNARY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: ternary-kubernetes-rest
    port: 8080
    description: REST adapter for Ternary API — Kubernetes. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/kubernetes/pod-labels
      name: v1-kubernetes-pod-labels
      description: REST surface for v1-kubernetes-pod-labels.
      operations:
      - method: GET
        name: listkubernetespodlabels
        description: List Kubernetes Pod Labels
        call: ternary-kubernetes.listkubernetespodlabels
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatekubernetespodlabels
        description: Update Kubernetes Pod Labels
        call: ternary-kubernetes.updatekubernetespodlabels
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ternary-kubernetes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Ternary API — Kubernetes. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-kubernetes-pod-labels
      description: List Kubernetes Pod Labels
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ternary-kubernetes.listkubernetespodlabels
      outputParameters:
      - type: object
        mapping: $.
    - name: update-kubernetes-pod-labels
      description: Update Kubernetes Pod Labels
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: ternary-kubernetes.updatekubernetespodlabels
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.