eksctl create cluster \
--name 클러스터명 \
--region ap-northeast-2 \
--vpc-cidr=10.0.0.0/20
kubectl set env ds aws-node -n kube-system ENABLE_PREFIX_DELEGATION=true
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
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
| # Terminal Cheat Sheet | |
| pwd # print working directory | |
| ls # list files in directory | |
| cd # change directory | |
| ~ # home directory | |
| .. # up one directory | |
| - # previous working directory | |
| help # get help | |
| -h # get help |
nslookup <서비스이름>.<네임스페이스>.svc.cluster.local
nslookup my-service.default.svc.cluster.local
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
| 1. **Setup & Image Management**: | |
| - 🏗️ `docker build -t myapp .` ➡️ Build image from a Dockerfile. | |
| - 📦 `docker pull ubuntu` ➡️ Fetch an image from a registry. | |
| - 📤 `docker push myuser/myapp` ➡️ Store your image remotely. | |
| - 🗂️ `docker images` ➡️ List all local images. | |
| - 📸 `docker rmi image_name` ➡️ Remove an image. | |
| - 🧠 `docker history image_name` ➡️ See layers of an image. | |
| - 📋 `docker tag source_image target_image` ➡️ Tag an image. | |
| - 📦 `docker save -o outputfile.img myimage` ➡️ Save image to a file. | |
| - 🎁 `docker load -i inputfile.img` ➡️ Load image from a file. |
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
| 🌞 Morning 117 commits █▉░░░░░░░░░░░░░░░░░░░ 9.3% | |
| 🌆 Daytime 510 commits ████████▌░░░░░░░░░░░░ 40.6% | |
| 🌃 Evening 520 commits ████████▋░░░░░░░░░░░░ 41.4% | |
| 🌙 Night 108 commits █▊░░░░░░░░░░░░░░░░░░░ 8.6% |


