Send Mail to gmail account with perl Installation of Send::SMTP::Gmail: In order to send mail via Gmail, you need to have TLS verification. Having TLS and Installation of perl package Send::SMTP::Gmail is covered in brief. For Ubuntu: sudo apt-get install openssl libnet-ssleay-perl libcrypt-ssleay-perl For RedHat/Fedora/CentOs: yum install perl-IO-Socket-SSL perl-Digest-HMAC perl-TermReadKey perl-MIME-Lite perl-File-LibMagic perl-IO-Socket-INET6 perl-Net-SSLeay perl-Crypt-SSLeay perl-Email-Send Usages: Following method is used to send mail and attachment in it. Please read it and post your comments. sub sendMail { use Email::Send::SMTP::Gmail; my $to=shift; my $cc=shift; my $subject=shift; my $body=shift; my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com', -login=>'yourUser@eko.co.in',
With the dramatically increasing demand for container orchestration specifically Kubernetes, demand to template K8S manifests(Json/Yaml) also came to light. To handle increasing manifests, new CRDs(Custom resource definition), etc… it became obvious that we need a package manager somewhat like yum, apt, etc… However, the nature of Kubernetes manifest is very different than what one used to have with Yum and Apt. These manifests required a lot of templates which is now supported by Helm, a tool written in GoLang with custom helm functions and pipelines. Neutral background on templating Templating has been a driver for configuration management for a long time. While it may seem trivial for users coming from Ansible, Chef, Puppet, Salt, etc…, it is not. Once one moves to Kubernetes, the very first realization is hard declarative approach that Kubernetes follows. It is difficult to make generic templating with declarative form since each application may have some unique feature and r