Skip to content

Instantly share code, notes, and snippets.

View dijeesh's full-sized avatar
😎

Dijeesh Padinharethil dijeesh

😎
View GitHub Profile
Change xxxxxxxxxxx with your HOSTED-ZONE-ID
aws route53 list-resource-record-sets --hosted-zone-id "/hostedzone/xxxxxxxxxxx" | \
jq -r '.ResourceRecordSets[] | [.Name, .Type, (.ResourceRecords[]? | .Value), .AliasTarget.DNSName?] | @tsv'
comm -23 <(aws ec2 describe-security-groups --query 'SecurityGroups[*].GroupId' --output text | tr '\t' '\n'| sort) <(aws ec2 describe-instances --query 'Reservations[*].Instances[*].SecurityGroups[*].GroupId' --output text | tr '\t' '\n' | sort | uniq)
@dijeesh
dijeesh / Notes.txt
Created May 27, 2020 06:19
EKS 1.16.8 Upgrade, kube-proxy:v1.16.8 errors
EKS clusters created from 1.12 onwards use a config file (by mounting a configmap called kube-proxy-config
If you are updating a cluster that was originally created on < 1.12, you will need to updated the kube-proxy configmaps and daemonsets.
1. Create kube-proxy-config configmap
kubectl -n kube-system apply -f kube-proxy-config.yaml
2. Update kube-proxy configmap, replace the server: with your API Server endpoint details and apply.