Latest 2022 EKS Cluster with Load Balancing Controller and External DNS

Need a terraform script to setup the latest 2022 EKS cluster including the best goodies like Helm, AWS Load Balancer Controller and External DNS? Then please have a look at my GitHub repository eks-cluster-with-lb-controller. The advantage of its configuration is that for the lifecycle of application specific resources (DNS entries, load balancers, target groups), Terraform is not needed. Kubernetes ingress resources with specific annotations are sufficient and can be checked into each application’s repository to fulfill IaC requirements....

February 7, 2022 · 1 min · Marcus Schiesser

Switching to an IAM role that requires MFA in AWS

IAM roles are a great way to increase security in AWS. A user can switch to a specific role and get a new set of permissions. The Switching to an IAM role article explains how to do this for the AWS CLI, but unfortunately leaves out how to switch to a role that requires MFA. The trick is to add a mfa_serial parameter to the profile in the ~/.aws/config file, e....

December 30, 2021 · 1 min · admin

Using URL path parameters in Splunk REST endpoints

If you wonder how to pass an URL path parameter to your custom REST endpoint in Splunk, please have a look:

December 21, 2021 · 1 min · admin

Enforce arrays for multi-values in Splunk searches

The Splunk SDK for Python is returning for multi-values that only have one entry a string instead of an array. To enforce arrays, you can do the following workaround:

December 20, 2021 · 1 min · admin

More than 100 results using the search-job API in Splunk

If you’re using the @splunk/search-job API and want to return more than the 100 results (the default value), you’ll have to pass count to the getResults function, e.g.: new SearchJob.create({ search: myQuery, }).getResults({ count: 500 });

December 14, 2021 · 1 min · admin