naftiko: 1.0.0-alpha2 info: label: Kubernetes API — Autoscaling description: 'Kubernetes API — Autoscaling. 2 operations. Lead operation: Kubernetes List HorizontalPodAutoscalers in a namespace. Self-contained Naftiko capability covering one Kubernetes business surface.' tags: - Kubernetes - Autoscaling created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KUBERNETES_API_KEY: KUBERNETES_API_KEY capability: consumes: - type: http namespace: kubernetes-autoscaling baseUri: https://kubernetes.default.svc description: Kubernetes API — Autoscaling business capability. Self-contained, no shared references. resources: - name: apis-autoscaling-v2-namespaces-namespace-horizontalpodautoscalers path: /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers operations: - name: listnamespacedhorizontalpodautoscalers method: GET description: Kubernetes List HorizontalPodAutoscalers in a namespace outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnamespacedhorizontalpodautoscaler method: POST description: Kubernetes Create a HorizontalPodAutoscaler 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_API_KEY}}' exposes: - type: rest namespace: kubernetes-autoscaling-rest port: 8080 description: REST adapter for Kubernetes API — Autoscaling. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers name: apis-autoscaling-v2-namespaces-namespace-horizontalpodautoscalers description: REST surface for apis-autoscaling-v2-namespaces-namespace-horizontalpodautoscalers. operations: - method: GET name: listnamespacedhorizontalpodautoscalers description: Kubernetes List HorizontalPodAutoscalers in a namespace call: kubernetes-autoscaling.listnamespacedhorizontalpodautoscalers outputParameters: - type: object mapping: $. - method: POST name: createnamespacedhorizontalpodautoscaler description: Kubernetes Create a HorizontalPodAutoscaler call: kubernetes-autoscaling.createnamespacedhorizontalpodautoscaler with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: kubernetes-autoscaling-mcp port: 9090 transport: http description: MCP adapter for Kubernetes API — Autoscaling. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: kubernetes-list-horizontalpodautoscalers-namespace description: Kubernetes List HorizontalPodAutoscalers in a namespace hints: readOnly: true destructive: false idempotent: true call: kubernetes-autoscaling.listnamespacedhorizontalpodautoscalers outputParameters: - type: object mapping: $. - name: kubernetes-create-horizontalpodautoscaler description: Kubernetes Create a HorizontalPodAutoscaler hints: readOnly: false destructive: false idempotent: false call: kubernetes-autoscaling.createnamespacedhorizontalpodautoscaler with: body: tools.body outputParameters: - type: object mapping: $.