Create multiple resources with a loop If you want to create multiple instances of, say, an Azure resource group, you can add a for_each argument. The for_each argument accepts a map or a set, and creates an instance for each item in that map or set. So you can create a map of key value pairs (aka a dictionary) and use …
Read MoreThis is a back to basics post about a Terraform pattern: conditionals. It's Azure centric. Conditionals: if then else Imagine we want a resource group name to follow the rules of naming convention but in other cases we don't want to. So if there is a naming convention, implement that, if not than do not. For example, …
Read MoreIn Azure Kubernetes Service (AKS), nodes of the same configuration are grouped together into node pools. These node pools contain the underlying VMs that run your applications. The initial number of nodes and their size (SKU) is defined when you create an AKS cluster, which creates a system node pool. To support …
Read MoreNormal users are assumed to be managed by an outside, independent service. Kubernetes does not have objects which represent normal user accounts. Normal users cannot be added to a cluster through an API call. However, any user that presents a valid certificate signed by the cluster's certificate authority (CA) is …
Read MoreHere is how to quickly install Kubernetes with ingress on your laptop. I use this to test and create operators with the Operator Framework. Still learning though. I was first using K3s but then I discovered Kind which seems to be even faster, deployment wise. Also it leaves a smaller footprint because it runs in a …
Read More