Skip to content

Instantly share code, notes, and snippets.

# Source: https://gist.github.com/7e0ada996b5d09486f2df0d7e1cbbea2
###############################################
# Amazon Lambda Containers #
# Packaging AWS Functions as Container Images #
# https://youtu.be/DsQbBVr-GwU #
###############################################
# Requirements:
# - AWS account (https://aws.amazon.com/)
@azN2
azN2 / dns-load.yaml
Created July 6, 2022 12:24
coreDNS throttling test
# kubectl logs -f -l k8s-app=kube-dns -n kube-system
# kubectl edit cm/coredns -n kube-system
## log
## cache 30
# kubectl scale deployment/coredns -n kube-system --replicas=1
# kubectl get pods –watch
# kubectl get pods -l k8s-app=kube-dns -n kube-system -o wide
# kubectl scale deployment/coredns -n kube-system --replicas=2
apiVersion: apps/v1