Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g�1 � @ s� d dl mZ d dlZd dlZd dlZd dlmZmZmZm Z m Z dZdZdZ G dd� de�ZG d d� dee�ZG dd� dee e�ZdS )� )� translateN)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin� PluginOpt�kubelet� kubernetes�kube-apiserver� kube-proxy�kube-scheduler�kube-controller-manager�/etc/kubernetes/admin.confc @ s� e Zd ZdZdZdDZdZddddd gZd gZddd dgZ dddddddddddddddddd d!gZ d"d#d$d%gZed&d'd(d)�ed*d'd+d)�ed,d'd-d)�ed.d'd/d)�ed0d1e d2d3�gZd4Zd5d6� Zd7d8� Zd9d:� Zd;d<� Zd=d>� Zd?d@� ZdAdB� ZdCS )E� Kubernetesz+Kubernetes container orchestration platformr � containeri� z/etc/kubernetesz/run/flannelz/var/lib/kubelet/config.yamlz"/var/lib/kubelet/kubeadm-flags.envz /var/lib/kubelet/*_manager_statez/etc/kubernetes/pkiz /var/log/pods/kube-system_etcd-*z*/var/log/pods/kube-system_kube-apiserver-*z3/var/log/pods/kube-system_kube-controller-manager-*z*/var/log/pods/kube-system_kube-scheduler-*�eventsZdeploymentsZ ingresses�podsZpvc�servicesZ daemonsetsZreplicasetsZ endpointsZstatefulsetsZ configmapsZserviceaccountsZsecretsZjobsZcronjobsZclusterrolesZclusterrolebindingsZlimitrangesZresourcequotasZscZpvZrolesZrolebindings�allFz'collect all namespace output separately)�default�desc�describez(collect describe output of all resources�kubelogsz4copy some kube-system pod logs without using the API�podlogsz2capture stdout/stderr logs from pods using the APIzpodlogs-filter� z1only collect logs from pods matching this pattern)r Zval_typer Zkubectlc C sD t jjd�rd S x.| jD ]$}| j|�r| jd|� �7 _P qW d S )N� KUBECONFIGz --kubeconfig=)�os�environ�get�files�path_exists�kube_cmd)�selfZ_kconf� r# � /usr/lib/python3.6/kubernetes.py�set_kubeconfigk s zKubernetes.set_kubeconfigc s t � fdd�� jD ��S )z" Check if this is the master node c 3 s | ]}� j |�V qd S )N)r )�.0�f)r"