반응형 IT Knowledge174 Git clone Peer's certificate issuer [오류 내용] git clone시, 아래와 같이 Peer의 인증서 발행자를 신뢰하지 못하는 경우. [root@vm-centos-ctl app]# git clone https://github.com/ansible/awx.git Cloning into 'awx'... fatal: unable to access 'https://github.com/ansible/awx.git/': Peer's certificate issuer has been marked as not trusted by the user. [해결방안] git clone시 SSL을 검증하지 않도록 설정하는 방법. 2가지 방법이 있다. 1) Set SSL Verify to false only for specific repo: git config ht.. 2022. 1. 7. git proxy Setting(http/https) 회사에서 서버들이 인터넷을 하기 위해 Proxy 를 사용해야 한다면, $git clone시 Proxy 설정이 반드시 필요하다. git Proxy 설정방법 : git config --global http.proxy git config --global https.proxy 예를 들면. Git config --global http.proxy 192.168.0.1:8080 위의 Proxy 설정은 ~/.gitconfig 에서 확인 가능하다. 2022. 1. 7. Nginx 80 redirect 443(force redirect to HTTPS) Nginx HTTP(80)로 들어오면 강제로 HTTPS(443)로 전환하도록 설정하기 [설정방법] /conf/nginx.conf 설정 수정 Server 블록을 80과 443으로 분리 server { listen 80; server_name example.com; root html; } server { listen 443 ssl https; server_name example.com root html; } 그중 HTTP를 제공하는 서버 블록에 location 설정을 추가해주면 됩니다. HTTP요청을 HTTPS로 301 Redirect 응답을 보내줍니다. server { listen 80; server_name example.com; root html; location / { return 301 https:.. 2022. 1. 7. Docker.sock 일반 계정 사용 권한 이슈(permission denied) [상황] Jenkins Script를 통해 docker image를 만들고 배포하려고 할 때, Jenkins Agent를 구동하는 계정이 root가 아닌 일반 사용자계정이면 아래의 오류가 발생한다. [오류] Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerf.. 2022. 1. 5. Kubernetes Worker Node Join시 Token 오류 Kubernetes Cluster 구성시, 받을 수 있는 오류를 작성하여 공유합니다. [오류] Worker 노드에서 Master 노드에 Join 작업중에 아래와 같은 오류 발생 I1130 01:21:48.742218 44687 token.go:223] [discovery] The cluster-info ConfigMap does not yet contain a JWS signature for token ID "iuxb6j", will try again [원인] Master 노드 초기화 당시 발급되었던 Token 은 TTL이 있음(24시간 후 만료) 마스터 노드 초기화 완료후, 다음날 Worker 노드를 조인하려고 보니 Token이 만료되었던것.. [조치방법] Token을 재생성 후, 다시 Worker 노.. 2021. 12. 31. RedisClusterNode, Redis Node IP 변경 검증 이슈 [이슈 현상] Redis Cluster의 Node IP가 변경되어도, RoundRobinSocketAddressSupplier는 변경된 Node IP로 새로고침을 하지 않고, 이전의 IP로 계속 연결을 시도합니다. [환경] Lettuce 버전 : 5.1.8 버전~6.1.5.RELEASE Redis 버전 : 5.0.5~6.2.6 Kubernetes에서 6개의 Pod로 Redis Cluster를 구축 Statefulset을 통해서 Redis-cluster 배포 Redis Pod중 일부가 재시작되면서, Redis의 NodeID는 같지만, IP가 변경됨 Redis Cluster는 깨지지 않음. Lettuce에서는 Redis Pod의 이전IP를 사용하여 연결을 시도함. [예상되는 동작] 노드의 IP가 변경되면, .. 2021. 12. 27. 이전 1 ··· 14 15 16 17 18 19 20 ··· 29 다음 반응형