Skip to content

This is a diagnose program for kubernetes and OS which runs on.

License

Notifications You must be signed in to change notification settings

solomonxu/k8s-diagnose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s-diagnose

This is a diagnose program for kubernetes and OS which runs on. The version v0.0.2 can send test email using config.

How to use the shell:

  1. Clone the project to your local directory. git clone https://github.com/solomonxu/k8s-diagnose.git

  2. Create your own config files. cd k8s-diagnose/conf cp diag-sample.conf diag.conf cp mail-sample.rc mail.rc

  3. Modify config files, fit to your real email service.

    vi diag.conf

email of notify

notify_type=email notify_email_account=7094****@qq.com notify_email_recipients=7000****@qq.com

vi mail.rc

7094****@@qq.com

account 7094****@qq.com { set smtp=smtps://smtp.qq.com:465 set smtp-auth=login set smtp-auth-user=7094****@@qq.com set smtp-auth-password="password or auth-code" set from=7094****@qq.com set ssl-verify=ignore set nss-config-dir=/etc/pki/nssdb }

  1. Change permission of shell. cd bin chmod -R a+x *

  2. Run shell and test to send emal. cd bin ./test/test-common.sh

About

This is a diagnose program for kubernetes and OS which runs on.

Resources

License

Stars

Watchers

Forks

Packages

No packages published