Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
� i��d � �v � d dl mZmZmZmZ d dlmZ d dlZ G d� de� Z G d� dee� Z G d� d ee� Z y) � )�Plugin�RedHatPlugin�UbuntuPlugin� PluginOpt)� translateNc � � e Zd ZdZdZdZ eddd�� eddd �� ed dd�� edd ed�� gZdZ d� Z d� Zd� Zy)� Kubernetesz+Kubernetes container orchestration platform� kubernetes)� container�allFz'collect all namespace output separately)�default�desc�describez(collect describe output of all resources�podlogsz$capture stdout/stderr logs from pods�podlogs-filter� z1only collect logs from pods matching this pattern)r �val_typer �kubectlc �p � t | j D �cg c] }| j |� �� c}� S c c}w )N)�any�files�path_exists)�self�fs �?/usr/lib/python3/dist-packages/sos/report/plugins/kubernetes.py�check_is_masterzKubernetes.check_is_master% s* � �����<�A�D�$�$�Q�'�<�=�=��<s �3c � � | j d� | j d� | j g d�� g d�}|D ] }| j |�� � | j � sy d}dD ]"