기타정보

기타정보

[정보] ingress-nginx argocd 설정 파일(redirection loop)

문제발견 ingress-nginx를 사용중에 argocd를 연결하니 307 redirection loop가 발생 했다. 해결방법 공식 홈페이지를 찾아보니 무조건 backend는 https로 접속하는 metadata:annotation을 추가로 달아줬다. # If you encounter a redirect loop or are getting a 307 response code # then you need to force the nginx ingress to connect to the backend using HTTPS. # nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" Ingress Configuration - Argo CD - Declarative Gi..

기타정보

[정보] kubernetes 외부통신 적용(metallb)

namespace 생성 kubectl create namespace metallb-system helm 등록 helm repo add bitnami https://charts.bitnami.com/bitnami metallb 적용 helm install -n metallb-system my-metallb bitnami/metallb --version 4.10.1 address pool 파일 작성 # IPAddressPool.yaml # The address-pools lists the IP addresses that MetalLB is # allowed to allocate. You can have as many # address pools as you want. apiVersion: metallb.io..

기타정보

[정보] kubernetes 관리도구 k9s 설치

https://github.com/derailed/k9s/releases Releases · derailed/k9s 🐶 Kubernetes CLI To Manage Your Clusters In Style! - derailed/k9s github.com wget https://github.com/derailed/k9s/releases/download/v0.31.6/k9s_Linux_amd64.tar.gz mv /usr/sbin k9s

기타정보

[정보] kubernetes etcd 상태확인

etcdctl 사용 이유 master1이 down되면 master2가 리더가되어 etcd write 권한을 얻게 된다. 그리고 관련 정보도 sync 되어 ha 구성을 할 수 있다. etcdctl 설치 Releases · etcd-io/etcd Distributed reliable key-value store for the most critical data of a distributed system - etcd-io/etcd github.com ETCD_VER=v3.4.29 # choose either URL GOOGLE_URL=https://storage.googleapis.com/etcd GITHUB_URL=https://github.com/etcd-io/etcd/releases/download DOW..

기타정보

[정보] kubernetes 사용에 도움되는 ansible playbook

/etc/hosts 노드 정보 추가 # update-hosts-playbook.yaml - name: Update /etc/hosts hosts: node become: true # Run all tasks with sudo tasks: - name: Add entries to /etc/hosts lineinfile: path: "/etc/hosts" line: "{{ item }}" with_items: - "192.168.0.200 k8s-lb" - "192.168.0.201 master1" - "192.168.0.202 master2" - "192.168.0.203 master3" - "192.168.0.204 worker1" - "192.168.0.205 worker2" - "192.168.0.2..

기타정보

[정보] kubernetes 트러블 슈팅

재부팅 시 kubernetes 안올라올 때 swapoff -a # 제일 중요 systemctl enable kubelet && systemctl start kubelet Unable to connect to the server: tls: failed to verify certificate: x509 export KUBECONFIG=/etc/kubernetes/admin.conf reset kubernetes sudo kubeadm reset --force sudo systemctl restart kubelet rm -rf $HOME/.kube/* rm /etc/cni/net.d sudo reboot [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-ipta..

기타정보

[정보] ubuntu 20.04 쿠버네티스 한방 설치(containerd/keepalived) - (단일구성/다중구성)

기본 환경 Ubuntu 20.04 환경에서 Stable하게 성공했습니다. Static hostname: master Icon name: computer-vm Chassis: vm Machine ID: 6685ed20e74d4a84909769d1d1e80123 Boot ID: 17e47d7f4e5440afb37fb21d0777bcc5 Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-169-generic Architecture: x86-64 세줄요약 단일구성 - 마스터노드 초기화 후 마스터노드로 워커노드 조인 - CNI 설정 - 온프레미스 metallb 설치 다중구성 - 각 마스터노드에 keepalived 설치 및 MA..

기타정보

[정보] 메일서버 쉽게 만들기 mail in a box

https://mailinabox.email/guide.html Mail-in-a-Box Setup Guide The first step in setting up a Mail-in-a-Box is to pick your new email address. An email address has two parts. The part after the @-sign is the domain name. Each domain name is owned by someone, and you are going to be the owner of your own. Josh’s emai mailinabox.email TroubleShooting 설치가 에러없이 뚝하고 끊키는 경우 proxmox lxc 말고 VM ubuntu 22...

기타정보

[정보] mailhog 메일 테스트용 SMTP 서

https://github.com/mailhog/MailHog GitHub - mailhog/MailHog: Web and API based SMTP testing Web and API based SMTP testing. Contribute to mailhog/MailHog development by creating an account on GitHub. github.com https://www.youtube.com/watch?v=Pmvsqak417A

기타정보

[정보] 이메일 테스트 리눅스 명령어

apt install mailutils echo "Hello world" | mail -s "Test" james@example.com

TwoIceFish
'기타정보' 카테고리의 글 목록 (2 Page)