+
    Û1j½  ã                   ó>   € ^ 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?L¿R!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ð 	ô 	
ð
 	×ÑØˆi�zÐ"Øˆi�}Ð%Øˆi�Ð'ð
ô 	ð 9ˆ
Ø�˜,Ð'ˆØ�	˜Ð&ˆØ�I˜]Ð+ˆØ"�| 4¨ v¨T°#°°kÀ'ÀÈ$ÐOˆ
ð ˜Ø'¨ðð
 ˜Ø˜˜Ø'Ð);ðð ˜Ø'¨ðð
ˆð 	>Ü�g˜s¨W×5Õ5Ð9KØ,×1Ñ1Ó3�ÜŸ
š
Ø:¸Gó�ó "�DØ—N‘NØ :¨d¨VÐ!4Ø/°:¸d¸VÐ1DØ  ð$ö ñ "÷ 6ó  #ˆKØ ˆGØ—?‘? 6¨2Ó.ˆDÛ�Ø$˜I Q s eÐ,’ñ ô —J’J˜{Ÿ™¨wÓ7Ó8ˆEØ%Ÿ/™/Ð*AÓBˆKØ×ÑØ�)˜1˜U˜GÐ$Ø#0°°Ð!>ð  ö ó #ùòA
÷` 6×5ûô ô 	>Ø�N‰NÐ-¨g¨Y°b¸¸Ð<×=Ñ=ûð	>ú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ò
ˆð ˜cŸh™h |Ó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   