idi,ddlmZmZGddeeZy))Plugin RedHatPluginc2eZdZdZdZdZdZdZdZdZ dZ dZ y) etcdaThe etcd plugin collects information from the etcd key-value store. It is primarily used by Kubernetes/OpenShift clusters and is often run inside a container within the cluster. Collections will default to executing within an `etcdctl` container, if one is present, and only execute on the host if such a container is not currently running. The `etcdctl` name preference is adopted from OpenShift Container Platform deployments. This plugin is written for etcd v3 and later. z etcd plugin)r) containersystemservicescluster)/etc/etcd/etcd.conf)etcdctlrcFd}|jD]}|j|s|}n|jddi|jddg|j d||j d|gd}|j |Dcgc]}d | c}|ycc}w) Nr etcd_confz /etc/etcd/caz/etc/etcd/*.keyzls -lR /var/lib/etcd/)rz /etc/etcd)versionz member listz alarm listzendpoint statuszendpoint healthzetcdctl ) containersget_container_by_name add_file_tagsadd_forbidden_pathadd_cmd_output add_copy_spec)selfetcd_conconsubcmdssubs 9/usr/lib/python3/dist-packages/sos/report/plugins/etcd.pysetupz etcd.setup%s?? C))#.   !;     !  3xH ;(;  )0 1#xu  1  1s BN) __name__ __module__ __qualname____doc__ short_desc plugin_namepackagesprofilesfilesrr rrrrs1 JKH=H $E$JH r'rN)sos.report.pluginsrrrr&r'rr)s45 6<5 r'