Kubernetes Services · Capability

Kubernetes Services API — ServiceStatus

Kubernetes Services API — ServiceStatus. 2 operations. Lead operation: Kubernetes Services Get Service status. Self-contained Naftiko capability covering one Kubernetes Services business surface.

Run with Naftiko Kubernetes ServicesServiceStatus

What You Can Do

GET
Getnamespacedservicestatus — Kubernetes Services Get Service status
/v1/api/v1/namespaces/{namespace}/services/{name}/status
PUT
Replacenamespacedservicestatus — Kubernetes Services Replace Service status
/v1/api/v1/namespaces/{namespace}/services/{name}/status

MCP Tools

kubernetes-services-get-service-status

Kubernetes Services Get Service status

read-only idempotent
kubernetes-services-replace-service-status

Kubernetes Services Replace Service status

idempotent

Capability Spec

kubernetes-services-servicestatus.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Kubernetes Services API — ServiceStatus
  description: 'Kubernetes Services API — ServiceStatus. 2 operations. Lead operation: Kubernetes Services Get Service status.
    Self-contained Naftiko capability covering one Kubernetes Services business surface.'
  tags:
  - Kubernetes Services
  - ServiceStatus
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KUBERNETES_SERVICES_API_KEY: KUBERNETES_SERVICES_API_KEY
capability:
  consumes:
  - type: http
    namespace: kubernetes-services-servicestatus
    baseUri: https://kubernetes.default.svc
    description: Kubernetes Services API — ServiceStatus business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-namespaces-namespace-services-name-status
      path: /api/v1/namespaces/{namespace}/services/{name}/status
      operations:
      - name: getnamespacedservicestatus
        method: GET
        description: Kubernetes Services Get Service status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: replacenamespacedservicestatus
        method: PUT
        description: Kubernetes Services Replace Service status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.KUBERNETES_SERVICES_API_KEY}}'
  exposes:
  - type: rest
    namespace: kubernetes-services-servicestatus-rest
    port: 8080
    description: REST adapter for Kubernetes Services API — ServiceStatus. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/namespaces/{namespace}/services/{name}/status
      name: api-v1-namespaces-namespace-services-name-status
      description: REST surface for api-v1-namespaces-namespace-services-name-status.
      operations:
      - method: GET
        name: getnamespacedservicestatus
        description: Kubernetes Services Get Service status
        call: kubernetes-services-servicestatus.getnamespacedservicestatus
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: replacenamespacedservicestatus
        description: Kubernetes Services Replace Service status
        call: kubernetes-services-servicestatus.replacenamespacedservicestatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kubernetes-services-servicestatus-mcp
    port: 9090
    transport: http
    description: MCP adapter for Kubernetes Services API — ServiceStatus. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: kubernetes-services-get-service-status
      description: Kubernetes Services Get Service status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kubernetes-services-servicestatus.getnamespacedservicestatus
      outputParameters:
      - type: object
        mapping: $.
    - name: kubernetes-services-replace-service-status
      description: Kubernetes Services Replace Service status
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: kubernetes-services-servicestatus.replacenamespacedservicestatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.