Skip to main content

pods_proxy

Creates, updates, deletes, gets or lists a pods_proxy resource.

Overview​

Namepods_proxy
TypeResource
Idk8s.core.pods_proxy

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
connect_deleteexecname, namespace, protocol, cluster_addrpathconnect DELETE requests to proxy of Pod
connect_getexecname, namespace, protocol, cluster_addrpathconnect GET requests to proxy of Pod
connect_patchexecname, namespace, protocol, cluster_addrpathconnect PATCH requests to proxy of Pod
connect_postexecname, namespace, protocol, cluster_addrpathconnect POST requests to proxy of Pod
connect_putexecname, namespace, protocol, cluster_addrpathconnect PUT requests to proxy of Pod
connect_delete_pathexecname, namespace, path, protocol, cluster_addrpathconnect DELETE requests to proxy of Pod
connect_get_pathexecname, namespace, path, protocol, cluster_addrpathconnect GET requests to proxy of Pod
connect_patch_pathexecname, namespace, path, protocol, cluster_addrpathconnect PATCH requests to proxy of Pod
connect_post_pathexecname, namespace, path, protocol, cluster_addrpathconnect POST requests to proxy of Pod
connect_put_pathexecname, namespace, path, protocol, cluster_addrpathconnect PUT requests to proxy of Pod

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cluster_addrstring(default: localhost, x-stackQL-envVar: KUBE_HOST)
namestringname of the PodProxyOptions
namespacestringobject name and auth scope, such as for teams and projects
pathstringpath to the resource
protocolstring(default: https, enum: [https, http], x-stackQL-envVar: KUBE_PROTOCOL)
pathstringPath is the URL path to use for the current proxy request to pod.

Lifecycle Methods​

EXEC variables use wire (API) names.

connect DELETE requests to proxy of Pod

EXEC k8s.core.pods_proxy.connect_delete
@name='{{ name }}' --required,
@namespace='{{ namespace }}' --required,
@protocol='{{ protocol }}' --required,
@cluster_addr='{{ cluster_addr }}' --required,
@path='{{ path }}'
;