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
| kubectl debug node/<node> -it --image=ubuntu | |
| apt-get update | |
| apt-get install htop --yes | |
| apt-get install psmisc --yes | |
| # htop | |
| # pstree -p |
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
| getpods() { | |
| if [ -z "$1" ]; then | |
| watch -n 1 'kubectl get pods -A' | |
| else | |
| result="" | |
| sep="|" | |
| for arg in "$@"; do | |
| if [ -z "$result" ]; then | |
| result="$arg" |
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
| FROM node:16.17-alpine AS base | |
| ENV PORT 3000 | |
| WORKDIR /base | |
| COPY package.json ./ | |
| COPY yarn.lock ./ | |
| RUN npm install --global [email protected] --force | |
| RUN yarn install --frozen-lockfile | |
| COPY . . | |
| FROM base AS builder |
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
| # ----------------------------------- Build ---------------------------------- # | |
| FROM node:16.17-alpine as builder | |
| WORKDIR /app | |
| RUN apk add --no-cache g++ make python3 | |
| COPY package*.json yarn.lock /app/ | |
| RUN npm install --global [email protected] --force | |
| RUN yarn install --frozen-lockfile |
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
| a4b.amazonaws.com | |
| access-analyzer.amazonaws.com | |
| account.amazonaws.com | |
| acm-pca.amazonaws.com | |
| acm.amazonaws.com | |
| airflow-env.amazonaws.com | |
| airflow.amazonaws.com | |
| alexa-appkit.amazon.com | |
| alexa-connectedhome.amazon.com | |
| amazonmq.amazonaws.com |