+
    G%@i                     >    ^ RI t ^ RIt^ RIHtHt  ! R R]]4      tR# )    N)PluginUbuntuPluginc                   D   a  ] tR t^t o RtRtRtRtR	tRt	R t
R tRtV tR# )
Microk8sa  The Microk8s plugin collects the current status of the microk8s
snap on a Ubuntu machine.

It will collect logs from journald related to the snap.microk8s
units as well as run microk8s commands to retrieve the configuration,
status, version and loaded plugins.
zThe lightweight Kubernetesmicrok8sc                   V P                  R R7       . R%OpV P                  RR.4       T P                  V Uu. uF  q P                   RV 2NK  	  up4       RpV R2pV P                  RV R24       RpV P	                  VR	R
7       V P                  V R2V R2V R2.4       RpV R2pV R2pV R2p	V RV RV RV	 R2p
RRRR/RRRR.RR/RRRR/.p \        V	RRR7      ;_uu_ 4       pVP                  4       p\        P                  ! RV4      pV F!  pVP                  RRV 2RR V 2RR./4       K#  	  R!R!R!4       T Fx  pT
pTP                  R. 4      pT F
  pT RT 2pK  	  \        P                  ! TP                  R4      4      pTP                  R4      pT P                  T RT 2R$T 2R
7       Kz  	  R!# u upi   + '       g   i     L; i  \         d"   pT P                  R"T	 R#T 24        R!p?LR!p?ii ; i)&zsnap.microk8s.*)unitsz!/var/snap/microk8s/current/args/*4/var/snap/microk8s/current/credentials/client.config z1/var/snap/microk8s/current/var/kubernetes/backendz/cluster.crtzopenssl x509 -in z -noout -datesls_microk8s_dqlite_dir)suggest_filenamez
/info.yamlz/cluster.yamlz/failure-domainz!/snap/microk8s/current/bin/dqlitez/cluster.keyz -c z -k z -s file://z k8squeryz.clustersuggested_file_suffixoptsz-f jsonz.cluster_-f_jsonz.leaderrzutf-8)encodingz#Address:\s*(\d+\.\d+\.\d+\.\d+:\d+)z
.describe z
.describe_NzFailed to parse z: microk8s_sql_)zaddons repo listconfigzctr plugins lszctr plugins ls -dstatusversion)add_journaladd_copy_specadd_cmd_outputmicrok8s_cmdadd_dir_listingopenreadrefindallappend	Exception	add_alertgetjsondumps)selfmicrok8s_subcmdssubcmdcrt_dir
dqlite_crtdb_path
dqlite_bincertkeyservers
dqlite_cmdqueriescluster_definitionclusternodesnodeequery_entrysql_cmdr   optr   file_suffixs   &                      =/usr/lib/python3/dist-packages/sos/report/plugins/microk8s.pysetupMicrok8s.setup"   s   01
 	/B
 	
 	:J
:J  !6(+:J
 	 Fy-

|>:	
 F 	5 	 	

 	iz"i}%i'
 	 9
,'	&I]+"|4vT#k'$O
 '
 '); '
 	>gsW559K,113

:G "DNN:dV!4/:dV1D$  " 6  #K G??62.D$IQse,  JJ{w78E%//*ABK)1UG$#0!>    #A
` 65  	>NN-gYb<==	>s<   GG  1AG G  G	G  G   H+HHc                    R pV P                  V P                  VR4       . ROpRRP                  V4       R2pV P                  RVR4       R# )	z((certificate-authority-data:|token:)\s.*z\1 "**********"z(^\s*(|z)\s*:\s*)(.*)r
   z\1*********N)zcertificate-authority-datazclient-certificate-datazclient-key-datatoken)do_cmd_output_subr   joindo_path_regex_sub)r&   rsubprotect_keys	key_regexs   &   r;   postprocMicrok8s.postproc   sW    :t00$8JK
 chh|45]C	B~	
     N)	container)r   )__name__
__module____qualname____firstlineno____doc__
short_descplugin_nameprofilespackagesr   r<   rG   __static_attributes____classdictcell__)__classdict__s   @r;   r   r      s6      .JKHHL[z
 
rI   r   )r$   r   sos.report.pluginsr   r   r   rJ   rI   r;   <module>rY      s      	 3~
v| ~
rI   