본문 바로가기
728x90

클라우드18

prometheus - kong Metrics 설정 prometheus.yml - scrape configs 에 kong metrics 정보 추가 # /apps/prometheus/prometheus.yml ... scrape_configs: ... - job_name: 'kong' scrape_interval: 5s metrics_path: '/metrics' scheme: 'http' static_configs: - targets: ['{kong host}'] ... 2021. 9. 28.
ubuntu Prometheus 설치 환경 Oracle VM VirtualBox v6.1.6 r137129 Ubuntu 18.04.4 LTS ​ (network - NAT 네트워크) vm 접속 IP : 192.168.56.1 vm 내부 IP : 10.0.2.5 계정생성 apt-get update, upgrade pigohno@server01:~$ sudo apt-get update Hit:2 http://kr.archive.ubuntu.com/ubuntu bionic InRelease Get:4 http://kr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:1 https://packages.cloud.google.com/apt kubernetes-xenial InRele.. 2021. 9. 27.
gitlab pipeline gcp Gitlab 소스 Commit 01. gitlab pipeline > project 생성 > new project > (maven 소스 있을 때) 참고 01. gitlab pipeline > source clone > import Maven Projects (maven 소스 있을 때) 참고 Dockerfile 생성 .gitlab-ci.yml variables: DOCKER_DRIVER: overlay2 DOCKER_HOST: "0.0.0.0:2375" DOCKER_TLS_CERTDIR: "" image: docker:latest services: - docker:dind stages: - build - deploy - production docker-build: stage: build script: - .. 2021. 9. 6.
gitlab pipeline aws project 생성new project project 정보 입력 maven 소스가 있을 때 - New filepom.xml 파일 생성​source clone(https://gitlab.aws-**.**.com/bm/demo/awesome-shopping-cart-service)URI : https://gitlab.aws-**.**.com/bm/demo/awesome-shopping-cart-service.git Git Repositories > 마우스 우클릭 Clone a Repository 클릭 URI 입력 > User 정보 입력 후 Next > branch 선택 후 Next > FinishImport Maven Projects..(maven 소스가 있을 때.. 프로젝트 껍데기에 다운받은 소스를 프로젝.. 2021. 9. 5.
728x90
LIST