PCP_KUBE_PODS - Online Linux Manual PageSection : 1
Updated : PCP
Source : Performance Co-Pilot

NAMEpcp-kube-pods − list Kubernetes pods to scan for running PCP services

SYNOPSIS$PCP_BINADM_DIR/discover/pcp-kube-pods

DESCRIPTIONpcp-kube-pods uses kubectl(1) to provide a list of IP addresses for PODs running in a local Kubenetes cluster, that may be running PCP services like pmcd(1) and pmproxy(1). It is used by the pmfind(1) command and the pmDiscoverServices(3) API as a ``shell'' command. The script invokes the kubectl get pod" command line (see kubectl-get(1)) to discover IP addresses for pods. The .status.podIP output field is extracted from the Kubernetes pod object(s). Additional options can be specified via configuration file, such as -l service=database" to restrict the results using Kubernetes pod labels. The default configuration file is $PCP_SYSCONF_DIR/discover/pcp-kube-pods.conf. If no local kubectl command is found, nothing is reported and an exit code indicating success is returned.

DIAGNOSTICSAll diagnostics produced are provided by the kubectl command. The kubectl exit status is propogated unchanged.

FILES$PCP_BINADM_DIR/discover  default path to address discovery commands like pcp-kube-pods $PCP_SYSCONF_DIR/discover/pcp-kube-pods.conf  configuration file containing command line options passed to kubectl-get $PCP_SYSCONF_DIR/discover/pcp-kube-pods.disabled  existence of this file causes the script to report nothing

PCP ENVIRONMENTEnvironment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).

SEE ALSOkubectl-get(1), kubectl(1), pmcd(1), pmfind(1), pmDiscoverServices(3) and pcp.env(5).
0
Johanes Gumabo
Data Size   :   7,095 byte
man-p___cp-kube-pods.1Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 257,646
Visitor ID   :     :  
Visitor IP   :   3.141.45.90   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.