전체 글291 [nginx] HTTP를 HTTPS로 리다이렉션 server { listen 80; server_name www.domain.com; return 301 https://www.domain.com$request_uri; } 참고 https://nginxstore.com/blog/nginx/nginx-rewrite-%EA%B7%9C%EC%B9%99-%EB%A7%8C%EB%93%A4%EA%B8%B0/ 2023. 6. 28. QR코드로 시크릿키 찾아내기 활용도 OTP를 위해 등록해놓은 정보를 다른 시크릿 툴로 넘길 때 유용합니다. GitHub - scito/extract_otp_secrets: Extract one time password (OTP) secrets from QR codes exported by two-factor authentication Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can b... github.com 2023. 6. 28. EBS 볼륨 마운트 1. 파일 시스템 용량 확인 df -h 2. 연결된 디스크 목록 확인 lsblk 3. 파티션 생성 command -> n -> p -> p -> w fdisk /dev/xvd 4. 포맷 mkfs -t xfs /dev/xvdc1 5. 파티션 마운트 mount /dev/xvdf1 /docker 6. UUID 확인 blkid 7. 자동 마운트 설정 vi /etc/fstab --- UUID ="12341201234-234-23-4234-234-234" /docker xfs default 0 0 8. 볼륨마운트 mount -a 2023. 6. 28. EBS 볼륨 마운트 1. 파일 시스템 용량 확인 df -h 2. 연결된 디스크 목록 확인 lsblk 3. 파티션 생성 command -> n -> p -> p -> w fdisk /dev/xvd 4. 포맷 mkfs -t xfs /dev/xvdc1 5. 파티션 마운트 mount /dev/xvdf1 /docker 6. UUID 확인 blkid 7. 자동 마운트 설정 vi /etc/fstab --- UUID ="12341201234-234-23-4234-234-234" /docker xfs default 0 0 8. mount -a 2023. 6. 28. 쿠버네티스 보안 사례 https://sysdig.com/learn-cloud-native/kubernetes-security/kubernetes-security-101/ Kubernetes Security 101: Fundamentals and Best Practices Kubernetes security is simpler than it sounds. Learn the basics of Kubernetes security, what you need to secure, and best practices for securing it. sysdig.com https://aws.github.io/aws-eks-best-practices/ Introduction - EKS Best Practices Guides Introductio.. 2023. 6. 28. [helm] rollback 헬름을 이용하다보면 rollback을 해야하는 경우가 있을 수 있다. 1. 헬름 롤백 - RELEASE : 헬름 이름 - REVISION : 리비전 번호 helm rollback [REVISION] [flags] * 참고로 네임스페이스가 있다면 반드시 지정해야한다. flags 들 --cleanup-on-fail 롤백이 실패할 때 이 롤백에서 생성된 새 리소스의 삭제를 허용 --dry-run 롤백 모의 실행 --force 필요한 경우 삭제/재작성을 통해 리소스를 강제로 업데이트 -h, --help rollback 명령어에 대한 도움말 --history-max int 릴리스 당 저장되는 최대 리비젼 수를 제한. 제한이 없는 경우는 0을 사용 (default 10) --no-hooks 롤백 중 훅 실행 방지 .. 2023. 6. 28. 이전 1 ··· 35 36 37 38 39 40 41 ··· 49 다음