docker2 elasticsearch docker-compose 로 테스트 아래처럼 docker-compose 화일을 생성한다. docker-compose.yaml version: '2.2' services: es01: image: docker.elastic.co/elasticsearch/elasticsearch:7.11.1 container_name: es01 environment: - node.name=es01 - cluster.name=es-docker-cluster - discovery.seed_hosts=es02,es03 - cluster.initial_master_nodes=es01,es02,es03 - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" ulimits: memlock: soft: -1 har.. 2021. 2. 21. K8S 환경에 scouter java agent 연결하기 이미 있는 Docker image 에 java agent 를 연동하는 방법 - 가장 쉬운 방법은 scouter java agent 를 포함시켜서 Docker image 를 만들면 된다. 하지만 그렇게 되면 원본 Docker image 를 손을 대야 한다는 문제가 생기기 때문에 다른 방법을 찾아보다가 init-container 를 사용하면 된다는것을 알게 되었다. Init Containers This page provides an overview of init containers: specialized containers that run before app containers in a Pod. Init containers can contain utilities or setup scripts not pres.. 2021. 2. 6. 이전 1 다음