This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
OlderNewer