Running Ansible tasks takes some time to complete. You can greatly reduce this time by using SSH multiplexing and pipelining, and by stopping or caching the fact gathering steps. Let’s discuss these optimizations in detail.
Ansible is a standard tool for managing your infrastructure. You write declarative code that executes installations of software packages, sets configuration, and maintains your sysytem. Read in the first article how to access ansible facts about the hosts.
Kubernetes `CronJob` define periodic scheduled tasks in your cluster. In my new article, I explain how to use a CronJob for persisting pod log data in simple text files.
Kubernetes service account define fine grained access to any Kubernetes resource, including namespaces, pods and log data. In this article I explain how service accounts work by using curl statements against the API. It was a great educational experience! Read what I learned.
In Kubernetes, Pods are dynamic and ephemeral. And so is their log data: When a pod terminates, its gone. Retaining log files can be complex - do you really need the ELK or EFK stack? If all you need are plain text files, then my KubeLogExporter can be your solution.
Your Kubernetes cluster provides a finite amount of resources such as CPU, memory and storage. Carefully crafting resource limitations and health checks keeps your apps running.
A private Docker registry simplifies managing your application deployments in Kubernetes. Read my tutorial to setup you own private Docker registry in a few minutes!