본문 바로가기

Software Architecture

(7)
[ Kubernetes ] VMware 및 Centos를 이용해 Kubernetes 구성하기 두분 내용 참고 https://unknownhosts.tistory.com/10 VMware에 Kubernetes 환경 구성 해보기 안녕하세요 Y입니다. 테스트를 위해 제 로컬 vmware에 Kubernetes 환경을 구성했습니다. 구성은 Master node 1대와 Worker node 3대로 총 4대의 vmware 가상 머신을 이용해서 만들어봤습니다. 0. 사전 정보 가상 unknownhosts.tistory.com https://javacan.tistory.com/entry/k8s-install-in-centos7 Centos 7에 kubeadm을 이용해서 쿠버네티스 (1.13 기준) 설치하기 Centos 7 버전에 쿠버네티스(kubernetes)를 설치하는 과정을 정리한다. 보다 자세한 내용은 다..
[ tomcat ] Springboot의 내장 tomcat db connection pool 수치조정 application.properties파일에 아래 라인을 추가하여 max connection수치를 조정한다. spring.datasource.maxActive=5 https://stackoverflow.com/questions/25573034/spring-boot-how-do-i-set-jdbc-pool-properties-like-maximum-number-of-connection https://engkimbs.tistory.com/755
[ Docker ] Docker 명령어 모음 1. container 리스트 확인 - 실행중인 컨테이너 리스트만 확인 $docker container ls - 전체 컨테이너 리스트 확인 $docker container ls -a
[ SW springboot ] 스프링부트 프로젝트 운영관련 1. 프로젝트 실행 $nohup java -javaagent:/opt/scouter/agent.java/scouter.agent.jar -Dscouter.config=/opt/scouter/agent.java/conf/scouter.conf -Dobj_name=WAS-01 -jar hello-spring-0.0.1-SNAPSHOT.jar &
kubernetes 설치(centos 7) https://kubetm.github.io/k8s/02-beginner/cluster-install-case2/ k8s v1.15버전 설치 (실습 강의 버전) 실습 강의와 똑같은 구성을 하기 위해서는 Network를 Bridge모드로 사용할 수 있는 (공유기에서 고정IP를 할당 받을 수 있는)환경 이어야 합니다. kubetm.github.io 1. kubernetes 설치명령어 실행시 "repodata/repomd.xml from kubernetes: [Errno 256] No more mirrors to try." 에러 발생 kubernetes.repo 파일에서 아래 두라인 삭제하니 잘 설치됨. gpgcheck=1 repo_gpgcheck=1 2. workernode의 ip변경 후 systemctl ..
docker-compose로 기본 우분투 컨테이너 2개 구성하기 1. ubuntu 이미지 다운로드 cmd창에서 docker pull ubuntu 수행 2. 특정 폴더에 docker-compose.yml 파일 생성 version: "3" services: server1: image: ubuntu:latest ports: - "8083:8083" stdin_open: true tty: true server2: image: ubuntu:latest ports: - "8084:8084" stdin_open: true tty: true 3. cmd창 해당폴더에서 docker-compose up 실행 4. ubuntu에 접속하여 필요한 package설치 #apt install -y git
기초 학습 https://blog.thereis.xyz/52?category=773755 #2. Windows에서 Docker 사용하기(Gogs 설치하기) 지난 시간엔 Windows에서 Docker를 설치하고 Docker가 정상적으로 동작하는지 확인하는 시간을 가졌다. 간혹 "저 설치가 안되요! 이런저런 오류메시지가 나옵니다!" 하시는 분들은 본인의 PC가 노트북 blog.thereis.xyz Docker container 접속 https://282-ground.tistory.com/183 Docker 컨테이너 접속하는 방법/ 명령어 가끔 Docker 컨테이너 내부의 내용을 확인할 일이 있다. 방법은 쉬운데 명령어가 좀 길어서 자주 쓸 때는 기억하다가 한동안 안쓰면 까먹곤 한다. 그런 경우에 볼 용도로 블로그에 기..