Skip to content

Instantly share code, notes, and snippets.

@ImKunYoung
Last active November 13, 2023 09:10
리눅스 명령어

nslookup <서비스이름>.<네임스페이스>.svc.cluster.local
nslookup my-service.default.svc.cluster.local

gcloud compute firewall-rules create allow-http \
  --action=ALLOW \
  --direction=INGRESS \
  --rules=tcp:80 \
  --source-ranges=0.0.0.0/0 \
  --priority=1000 \
  --target-tags=http-server

sudo chmod 666 /var/run/docker.sock
which java

sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

htop

sudo chmod 666 /var/run/docker.sock

su 유저이름

passwd

aws eks update-kubeconfig --name <우리 클러스터 이름> --region <우리 리전 코드>
kubectl config get-clusters
kubectl config get-contexts
kubectl config use-context <클러스터 이름>
rm -rf: rm -rf <디렉토리 이름> 파일 가진 디렉토리 경고 없이 삭제

sudo service ntp stop
sudo ntpdate pool.ntp.org
sudo service ntp start

eksctl create nodegroup --cluster my-cluster --max-pods-per-node 110

참고

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment