On-prem Kubernetes cluster integration for running kubectl commands on connected clusters via Aurora agent relay
On-prem Kubernetes cluster integration for running kubectl commands on connected clusters. Commands are relayed through the Aurora agent installed on the cluster.
Connected clusters are listed by name and cluster_id. Use the cluster_id to target a specific cluster.
{cluster_list}
Note: For cloud-managed clusters (GCP GKE, AWS EKS, Azure AKS), use terminal_exec with kubectl commands instead.
Run kubectl commands on connected on-prem Kubernetes clusters.
Usage:
on_prem_kubectl(cluster_id='CLUSTER_ID', command='get pods -n default')
Specify the cluster using the from the connected clusters list.
cluster_idon_prem_kubectl(cluster_id='ID', command='get pods -n NAMESPACE')on_prem_kubectl(cluster_id='ID', command='logs PODNAME -n NAMESPACE --tail=100')on_prem_kubectl(cluster_id='ID', command='describe pod PODNAME -n NAMESPACE')on_prem_kubectl(cluster_id='ID', command='get events -n NAMESPACE --sort-by=.lastTimestamp')on_prem_kubectl(cluster_id='ID', command='get nodes -o wide')on_prem_kubectl(cluster_id='ID', command='top pods -n NAMESPACE')cluster_id to target the correct cluster.terminal_exec with kubectl commands.