This Repo will setup shortcut for authenicate aws sso, eks kubeconfig, ecr and container details for debugging
installing packages using brew for macos and linux
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install awscli
brew install fzf
brew install kubectx
brew install kubectl
BU
values is required to get AWS account details:
devops
: DevOps Account (office)personal
: Personal Account (personal)all
: Combines all accounts config from aws_config directory
# Replace <BU> with filename (i.e, devops/personal/all) from aws_config directory
curl -sSL https://raw.githubusercontent.com/ajaykumar4/aws-eks-ecr-script/main/install.sh | bash -s -- <BU>
aws_sso_login
kubectx
container_log <service_name> <env>-<domain>
all_container_log <service_name> <env>-<domain>
download_container_log <service_name> <env>-<domain>
download_all_container_log <service_name> <env>-<domain>
container_describe <service_name> <env>-<domain>
download_container_describe <service_name> <env>-<domain>