Kubernetes secrets management with AWS KMS

A workflow to manage secrets and configuration on Kubernetes. PROS: simple single source of truth securely versionned decrypted on the fly private key managed by AWS CONS:

java.net.UnknownHostException with Alpine Linux

There is no Name Service Switch file in Alpine linux, and java need one for java.net.InetAddress.getLocalHost for example. echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' > /etc/nsswitch.

Slack message on CoreOS fleet unit failure

Quick overview AWS oriented, but the logic can be used with other messaging services. Create an AWS Lambda function to post to Slack.