2 min read
It's common practice to use a map in terraform to configure resources. If we want to use a map with optional values we can make use of the try() function
Let's us the following map as an example:
config = {
namespaces = ["namespace1", "namespace2"]
(...)
}
02/07/2021
Read more...3 min read
On Kubernetes, scaling an application is just a matter of defining how many replicas we want:
$ kubectl scale deployment/demo --replicas=5
deployment.apps/demo scaled
Having to manually adjust the number of replicas is not really practical. Here's where the HorizontalPodAutoscaler (HPA) comes into play
01/07/2021
Read more...