Skip to content

x_k8s_get

Signature

x_k8s_get(any, string, string, string, string)

Description

Gets a resource from a Kubernetes cluster.

Examples

Clustered resources

For clustered resources, you can leave the namespace empty ''.

# `$client` is a binding pointing to a Kubernetes client

x_k8s_get($client, 'apps/v1', 'Deployment', 'crossplane-system', 'crossplane')