Portainer · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for PortainerCE Kubernetes API
66 actions
66 updates
phrasing
extends
openapi/portainer-kubernetes-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Portainer's API. It is a proposal applied on top of the contract, not a document Portainer publishes.
What the actions change
x-apievangelist-phrasing
Targets 66 · first 16 shown; the file carries all of them
$.info
$.paths['/kubernetes/{id}/applications'].get
$.paths['/kubernetes/{id}/applications/count'].get
$.paths['/kubernetes/{id}/cluster_role_bindings/delete'].post
$.paths['/kubernetes/{id}/cluster_roles/delete'].post
$.paths['/kubernetes/{id}/clusterrolebindings'].get
$.paths['/kubernetes/{id}/clusterroles'].get
$.paths['/kubernetes/{id}/configmaps'].get
$.paths['/kubernetes/{id}/configmaps/count'].get
$.paths['/kubernetes/{id}/cron_jobs'].get
$.paths['/kubernetes/{id}/cron_jobs/delete'].post
$.paths['/kubernetes/{id}/dashboard'].get
$.paths['/kubernetes/{id}/describe'].get
$.paths['/kubernetes/{id}/events'].get
$.paths['/kubernetes/{id}/ingresscontrollers'].get
$.paths['/kubernetes/{id}/ingresscontrollers'].put
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for PortainerCE Kubernetes API
version: 1.0.0
extends: openapi/portainer-kubernetes-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 65
- target: $.paths['/kubernetes/{id}/applications'].get
update:
x-apievangelist-phrasing:
intent: List Kubernetes apps across namespaces
effect: read
questions:
- Which applications are running across all namespaces in my cluster?
- Can I list only the apps on a specific node?
instructions:
- text: List applications across all namespaces in cluster {id}.
slots:
id: path.id
- text: Show apps on node {nodeName} in namespace {namespace} of cluster {id}.
slots:
nodeName: query.nodeName
namespace: query.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/applications/count'].get
update:
x-apievangelist-phrasing:
intent: Count Kubernetes apps across namespaces
effect: read
questions:
- How many applications are running across all namespaces?
- What is the app count on a particular node?
instructions:
- text: Count applications across all namespaces in cluster {id}.
slots:
id: path.id
- text: Give me the total number of apps in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/cluster_role_bindings/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete cluster role bindings
effect: destructive
questions:
- How do I remove cluster role bindings from a cluster?
- Can I delete several cluster role bindings at once?
instructions:
- text: Delete cluster role bindings from cluster {id}.
slots:
id: path.id
- text: Remove the cluster role bindings I list in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/cluster_roles/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete cluster roles
effect: destructive
questions:
- How do I delete cluster roles from a cluster?
- Can I remove several cluster roles in one call?
instructions:
- text: Delete cluster roles from cluster {id}.
slots:
id: path.id
- text: Remove the cluster roles I list in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/clusterrolebindings'].get
update:
x-apievangelist-phrasing:
intent: List cluster role bindings
effect: read
questions:
- What cluster role bindings exist in my cluster?
- Can I see cluster-level role bindings?
instructions:
- text: List cluster role bindings in cluster {id}.
slots:
id: path.id
- text: Show every cluster role binding in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/clusterroles'].get
update:
x-apievangelist-phrasing:
intent: List cluster roles
effect: read
questions:
- Which cluster roles are defined in my cluster?
- Can I see all cluster-level roles?
instructions:
- text: List cluster roles in cluster {id}.
slots:
id: path.id
- text: Show every cluster role in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/configmaps'].get
update:
x-apievangelist-phrasing:
intent: List ConfigMaps across namespaces
effect: read
questions:
- Which ConfigMaps exist across all namespaces?
- Can I include the apps that use each ConfigMap?
instructions:
- text: List ConfigMaps across all namespaces in cluster {id}.
slots:
id: path.id
- text: Show ConfigMaps in cluster {id} with apps using them set to {isUsed}.
slots:
id: path.id
isUsed: query.isUsed
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/configmaps/count'].get
update:
x-apievangelist-phrasing:
intent: Count ConfigMaps across namespaces
effect: read
questions:
- How many ConfigMaps are there across all namespaces?
- What is the total ConfigMap count in my cluster?
instructions:
- text: Count ConfigMaps across all namespaces in cluster {id}.
slots:
id: path.id
- text: Give me the total number of ConfigMaps in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/cron_jobs'].get
update:
x-apievangelist-phrasing:
intent: List CronJobs
effect: read
questions:
- Which CronJobs are running in my cluster?
- Can I see CronJobs that a specific user can access?
instructions:
- text: List CronJobs in cluster {id}.
slots:
id: path.id
- text: Show all CronJobs in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/cron_jobs/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete CronJobs
effect: destructive
questions:
- How do I delete CronJobs from a cluster?
- Can I remove several CronJobs in one request?
instructions:
- text: Delete CronJobs from cluster {id}.
slots:
id: path.id
- text: Remove the CronJobs I list in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/dashboard'].get
update:
x-apievangelist-phrasing:
intent: Get the Kubernetes dashboard summary
effect: read
questions:
- What does the Kubernetes dashboard summary show?
- Can I get a count of common Kubernetes resources?
instructions:
- text: Get the Kubernetes dashboard summary for cluster {id}.
slots:
id: path.id
- text: Show the dashboard summary counts for cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/describe'].get
update:
x-apievangelist-phrasing:
intent: Describe a Kubernetes resource
effect: read
questions:
- What is the current state of a Kubernetes resource?
- Can I describe a resource by name and kind?
instructions:
- text: Describe {kind} {name} in namespace {namespace} of cluster {id}.
slots:
kind: query.kind
name: query.name
namespace: query.namespace
id: path.id
- text: Show the status of {kind} {name} in cluster {id}.
slots:
kind: query.kind
name: query.name
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/events'].get
update:
x-apievangelist-phrasing:
intent: List Kubernetes events
effect: read
questions:
- What events have happened in my Kubernetes cluster?
- Can I see events for a specific resource?
instructions:
- text: List events in cluster {id}.
slots:
id: path.id
- text: Show events for resource {resourceId} in cluster {id}.
slots:
resourceId: query.resourceId
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/ingresscontrollers'].get
update:
x-apievangelist-phrasing:
intent: List ingress controllers
effect: read
questions:
- Which ingress controllers are available in my cluster?
- Can I list only the ingress controllers allowed by the cluster's ingress config?
instructions:
- text: List ingress controllers in cluster {id}.
slots:
id: path.id
- text: Show only allowed ingress controllers in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/ingresscontrollers'].put
update:
x-apievangelist-phrasing:
intent: Block or unblock ingress controllers
effect: write
questions:
- How do I block an ingress controller in a cluster?
- Can I unblock ingress controllers that are currently blocked?
instructions:
- text: Update ingress controllers in cluster {id}.
slots:
id: path.id
- text: Block or unblock ingress controllers in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/ingresses'].get
update:
x-apievangelist-phrasing:
intent: List cluster-level ingresses
effect: read
questions:
- Which ingresses are defined at the cluster level?
- Can I include the services behind each ingress?
instructions:
- text: List cluster-level ingresses in cluster {id}.
slots:
id: path.id
- text: Show cluster ingresses in cluster {id} with services set to {withServices}.
slots:
id: path.id
withServices: query.withServices
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/ingresses/count'].get
update:
x-apievangelist-phrasing:
intent: Count cluster-level ingresses
effect: read
questions:
- How many cluster-level ingresses are there?
- What is the total number of cluster ingresses?
instructions:
- text: Count cluster-level ingresses in cluster {id}.
slots:
id: path.id
- text: Give me the total number of cluster ingresses in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/ingresses/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete cluster ingresses
effect: destructive
questions:
- How do I delete ingresses from a cluster?
- Can I remove several cluster ingresses in one request?
instructions:
- text: Delete ingresses from cluster {id}.
slots:
id: path.id
- text: Remove the cluster ingresses I list in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/jobs'].get
update:
x-apievangelist-phrasing:
intent: List Jobs
effect: read
questions:
- Which Jobs are running in my cluster?
- Can I include Jobs that belong to CronJobs?
instructions:
- text: List Jobs in cluster {id}.
slots:
id: path.id
- text: Show Jobs in cluster {id} including CronJob children set to {includeCronJobChildren}.
slots:
id: path.id
includeCronJobChildren: query.includeCronJobChildren
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/jobs/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete Jobs
effect: destructive
questions:
- How do I delete Jobs from a cluster?
- Can I remove several Jobs in one call?
instructions:
- text: Delete Jobs from cluster {id}.
slots:
id: path.id
- text: Remove the Jobs I list in cluster {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/max_resource_limits'].get
update:
x-apievangelist-phrasing:
intent: Get unused CPU and memory per node
effect: read
questions:
- What is the maximum CPU and memory each node in my cluster can use?
- How much unused resource does every node have?
instructions:
- text: Show max CPU and memory limits for all nodes in cluster {id}.
slots:
id: path.id
- text: Get the unused resource per node in k8s environment {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/metrics/applications_resources'].get
update:
x-apievangelist-phrasing:
intent: Get total CPU and memory requests and limits
effect: read
questions:
- What is the total CPU and memory requested and limited by all applications on a node?
- Can I see application resource usage across every namespace?
instructions:
- text: Show total CPU and memory requests and limits for all apps on node {node} in cluster {id}.
slots:
node: query.node
id: path.id
- text: Get application resource usage across namespaces on node {node} of k8s environment {id}.
slots:
node: query.node
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/metrics/nodes'].get
update:
x-apievangelist-phrasing:
intent: List live metrics for all nodes
effect: read
questions:
- What are the live CPU and memory metrics for every node in my cluster?
- Can I see node metrics across the whole k8s environment?
instructions:
- text: List live metrics for all nodes in cluster {id}.
slots:
id: path.id
- text: Show node metrics for k8s environment {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/metrics/nodes/{name}'].get
update:
x-apievangelist-phrasing:
intent: Get live metrics for one node
effect: read
questions:
- How much CPU and memory is a specific node using right now?
- Can I check live metrics for a single node by name?
instructions:
- text: Show live metrics for node {name} in cluster {id}.
slots:
name: path.name
id: path.id
- text: Get CPU and memory usage of node {name} in k8s environment {id}.
slots:
name: path.name
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/metrics/pods/{namespace}'].get
update:
x-apievangelist-phrasing:
intent: List live metrics for all pods in a namespace
effect: read
questions:
- What is the live CPU and memory usage of every pod in a namespace?
- Can I see pod metrics for one namespace across the cluster?
instructions:
- text: List live metrics for all pods in namespace {namespace} of cluster {id}.
slots:
namespace: path.namespace
id: path.id
- text: Show pod metrics for namespace {namespace} in k8s environment {id}.
slots:
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/metrics/pods/{namespace}/{name}'].get
update:
x-apievangelist-phrasing:
intent: Get live metrics for one pod
effect: read
questions:
- How much CPU and memory is a specific pod using right now?
- Can I check live metrics for one pod by name and namespace?
instructions:
- text: Show live metrics for pod {name} in namespace {namespace}, cluster {id}.
slots:
name: path.name
namespace: path.namespace
id: path.id
- text: Get CPU and memory usage of pod {name} in k8s environment {id}.
slots:
name: path.name
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces'].get
update:
x-apievangelist-phrasing:
intent: List namespaces in a k8s environment
effect: read
questions:
- Which namespaces exist in my Kubernetes environment?
- Can I list namespaces with or without resource quota and unhealthy events?
instructions:
- text: List namespaces in k8s environment {id}.
slots:
id: path.id
- text: Show namespaces in {id} with resource quota {withResourceQuota} and unhealthy events {withUnhealthyEvents}.
slots:
id: path.id
withResourceQuota: query.withResourceQuota
withUnhealthyEvents: query.withUnhealthyEvents
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces'].put
update:
x-apievangelist-phrasing:
intent: Update a namespace (deprecated)
effect: write
questions:
- Can I rename or change the owner of a namespace with the older namespace update?
- Is there a deprecated call that updates a namespace's annotations or resource quota?
instructions:
- text: Update the deprecated namespace {namespace} in k8s environment {id} with annotations {Annotations}.
slots:
namespace: path.namespace
id: path.id
Annotations: requestBody.Annotations
- text: Rename the older namespace {namespace} in {id} to {Name}.
slots:
namespace: path.namespace
id: path.id
Name: requestBody.Name
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces'].post
update:
x-apievangelist-phrasing:
intent: Create a namespace
effect: write
questions:
- How do I create a new namespace in a Kubernetes environment?
- Can I set an owner and resource quota when creating a namespace?
instructions:
- text: Create namespace {Name} in k8s environment {id}.
slots:
Name: requestBody.Name
id: path.id
- text: Create namespace {Name} in {id} with owner {Owner} and resource quota {ResourceQuota}.
slots:
Name: requestBody.Name
id: path.id
Owner: requestBody.Owner
ResourceQuota: requestBody.ResourceQuota
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces'].delete
update:
x-apievangelist-phrasing:
intent: Delete a namespace
effect: destructive
questions:
- How do I delete a namespace from a Kubernetes environment?
- Can I remove a namespace I no longer need?
instructions:
- text: Delete the namespace from k8s environment {id}.
slots:
id: path.id
- text: Remove the namespace in {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}'].get
update:
x-apievangelist-phrasing:
intent: Get a namespace's details
effect: read
questions:
- What are the details of a specific namespace, including its resource quota?
- Can I fetch a namespace's owner and annotations?
instructions:
- text: Show details of namespace {namespace} in k8s environment {id}.
slots:
namespace: path.namespace
id: path.id
- text: Get namespace {namespace} in {id} with resource quota {withResourceQuota}.
slots:
namespace: path.namespace
id: path.id
withResourceQuota: query.withResourceQuota
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}'].put
update:
x-apievangelist-phrasing:
intent: Update a namespace
effect: write
questions:
- How do I change the owner or annotations of an existing namespace?
- Can I update a namespace's resource quota?
instructions:
- text: Update namespace {namespace} in k8s environment {id} with annotations {Annotations}.
slots:
namespace: path.namespace
id: path.id
Annotations: requestBody.Annotations
- text: Change the owner of namespace {namespace} in {id} to {Owner}.
slots:
namespace: path.namespace
id: path.id
Owner: requestBody.Owner
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/configmaps/{configmap}'].get
update:
x-apievangelist-phrasing:
intent: Get a ConfigMap
effect: read
questions:
- How do I read a ConfigMap's data in a namespace?
- Can I fetch one ConfigMap by name?
instructions:
- text: Get ConfigMap {configmap} in namespace {namespace}, cluster {id}.
slots:
configmap: path.configmap
namespace: path.namespace
id: path.id
- text: Show the data of ConfigMap {configmap} in k8s environment {id}.
slots:
configmap: path.configmap
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/events'].get
update:
x-apievangelist-phrasing:
intent: List events for a namespace
effect: read
questions:
- What events have happened in a namespace?
- Can I filter namespace events by a resource ID?
instructions:
- text: List events for namespace {namespace} in k8s environment {id}.
slots:
namespace: path.namespace
id: path.id
- text: Show events in namespace {namespace} of {id} for resource {resourceId}.
slots:
namespace: path.namespace
id: path.id
resourceId: query.resourceId
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/ingresscontrollers'].get
update:
x-apievangelist-phrasing:
intent: List ingress controllers in a namespace
effect: read
questions:
- Which ingress controllers are running in a namespace?
- Can I see the ingress controller list for one namespace?
instructions:
- text: List ingress controllers in namespace {namespace}, cluster {id}.
slots:
namespace: path.namespace
id: path.id
- text: Show the ingress controllers for namespace {namespace} in k8s environment {id}.
slots:
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/ingresscontrollers'].put
update:
x-apievangelist-phrasing:
intent: Block or unblock ingress controllers in a namespace
effect: write
questions:
- How do I block or unblock ingress controllers in a namespace?
- Can I disable ingress controllers for a namespace?
instructions:
- text: Block ingress controllers in namespace {namespace}, cluster {id}.
slots:
namespace: path.namespace
id: path.id
- text: Unblock ingress controllers for namespace {namespace} in k8s environment {id}.
slots:
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/ingresses'].get
update:
x-apievangelist-phrasing:
intent: List ingresses in a namespace
effect: read
questions:
- What ingresses exist in a namespace?
- Can I list all Ingress resources for one namespace?
instructions:
- text: List ingresses in namespace {namespace}, cluster {id}.
slots:
namespace: path.namespace
id: path.id
- text: Show every Ingress in namespace {namespace} of k8s environment {id}.
slots:
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/ingresses'].put
update:
x-apievangelist-phrasing:
intent: Update an Ingress
effect: write
questions:
- How do I change the hostnames on an Ingress?
- Can I edit the TLS settings of an existing Ingress?
instructions:
- text: Update Ingress {Name} in namespace {Namespace} on environment {id} with hosts {Hosts}.
slots:
Name: requestBody.Name
Namespace: path.namespace
id: path.id
Hosts: requestBody.Hosts
- text: Set TLS {TLS} on Ingress {Name} in {namespace}, env {id}.
slots:
TLS: requestBody.TLS
Name: requestBody.Name
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/ingresses'].post
update:
x-apievangelist-phrasing:
intent: Create an Ingress
effect: write
questions:
- How do I expose an app to the web with an Ingress?
- Can I attach hostnames and TLS to a new Ingress?
instructions:
- text: Create Ingress {Name} in namespace {Namespace} on environment {id}.
slots:
Name: requestBody.Name
Namespace: path.namespace
id: path.id
- text: Create Ingress {Name} for hosts {Hosts} in {namespace}, env {id}.
slots:
Name: requestBody.Name
Hosts: requestBody.Hosts
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/ingresses/{ingress}'].get
update:
x-apievangelist-phrasing:
intent: Get an Ingress by name
effect: read
questions:
- What hosts and paths does a specific Ingress expose?
- Can I read one Ingress resource by name?
instructions:
- text: Get Ingress {ingress} in namespace {namespace}, cluster {id}.
slots:
ingress: path.ingress
namespace: path.namespace
id: path.id
- text: Show the hosts and paths of Ingress {ingress} in {namespace} of k8s environment {id}.
slots:
ingress: path.ingress
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/secrets/{secret}'].get
update:
x-apievangelist-phrasing:
intent: Get a Kubernetes secret
effect: read
questions:
- How do I read the data of a Kubernetes secret in a namespace?
- Can I see which applications use a given secret?
instructions:
- text: Get Kubernetes secret {secret} in namespace {namespace} of environment {id}.
slots:
secret: path.secret
namespace: path.namespace
id: path.id
- text: Show secret {secret} from {namespace} in environment {id}.
slots:
secret: path.secret
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/services'].get
update:
x-apievangelist-phrasing:
intent: List services in a namespace
effect: read
questions:
- What services are running in a particular Kubernetes namespace?
- Can I list only the services of one namespace?
instructions:
- text: List services in namespace {namespace} of environment {id}.
slots:
namespace: path.namespace
id: path.id
- text: Show the services defined in {namespace} on {id}.
slots:
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/services'].put
update:
x-apievangelist-phrasing:
intent: Update a Kubernetes service
effect: write
questions:
- How do I change a service's ports or type?
- Can I resize an existing LoadBalancer service?
instructions:
- text: Update service {Name} in namespace {Namespace} on environment {id}.
slots:
Name: requestBody.Name
Namespace: path.namespace
id: path.id
- text: Set service {Name}'s type to {Type} in {namespace}, env {id}.
slots:
Name: requestBody.Name
Type: requestBody.Type
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/services'].post
update:
x-apievangelist-phrasing:
intent: Create a Kubernetes service
effect: write
questions:
- How do I expose a deployment to internal or external traffic with a service?
- Can I create a LoadBalancer service that picks its own node ports?
instructions:
- text: Create service {Name} in namespace {Namespace} on environment {id}.
slots:
Name: requestBody.Name
Namespace: path.namespace
id: path.id
- text: Create {Type} service {Name} with ports {Ports} in {namespace}, env {id}.
slots:
Type: requestBody.Type
Name: requestBody.Name
Ports: requestBody.Ports
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/system'].put
update:
x-apievangelist-phrasing:
intent: Mark a namespace as system
effect: write
questions:
- How do I mark a namespace as a system namespace?
- Can I toggle the system state of a namespace?
instructions:
- text: Set the system state of namespace {namespace} in environment {id} to {System}.
slots:
namespace: path.namespace
id: path.id
System: requestBody.System
- text: Mark {namespace} as a system namespace on {id}.
slots:
namespace: path.namespace
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/{namespace}/volumes'].get
update:
x-apievangelist-phrasing:
intent: List volumes in a namespace
effect: read
questions:
- Which persistent volumes are used in a Kubernetes namespace?
- Can I include the applications that use each volume?
instructions:
- text: List volumes in namespace {namespace} of environment {id}.
slots:
namespace: path.namespace
id: path.id
- text: Show volumes in {namespace} on {id} with applications {withApplications}.
slots:
namespace: path.namespace
id: path.id
withApplications: query.withApplications
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/namespaces/count'].get
update:
x-apievangelist-phrasing:
intent: Count Kubernetes namespaces
effect: read
questions:
- How many namespaces exist in my Kubernetes cluster?
- Does the namespace count include system namespaces?
instructions:
- text: Count the namespaces in environment {id}.
slots:
id: path.id
- text: Tell me how many namespaces {id} has.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/kubernetes/{id}/nodes/{name}/drain'].post
update:
x-apievangelist-phrasing:
intent: Drain a Kubernetes node
effect: write
questions:
- How do I safely evict pods from a node before maintenance?
- Can I drain a node so it can be removed?
instructions:
- text: Drain node {name} in environment {id}.
slots:
name: path.name
id: path.id
- text: Evict all pods from {name} on {id}.
slots:
name: path.name
id: path.id
method: generated
generated: '2026-11-19'
# --- truncated at 32 KB (41 KB total) ---
# Full source: https://artifacts.apis.io/portainer/overlays/portainer-kubernetes-api-phrasing-overlay.yaml
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/portainer-kubernetes-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.