본문 바로가기
728x90
반응형
SMALL

DevOps28

(IaC) SaltStack Tutorial TODO - 전체 minion 에 timezone 을 설정하고, webserver 역할인 minion 에만 nginx 를 구성한다 master - minion 구성 - VM 환경이나 클라우드에 구성한다 - Vagrant / Terraform [master] environment 확인 - state file, pillar file base directory 확인 (/etc/salt/master) - [minion] custom grain 으로 webserver role 할당 - minion config 파일 수정 (/etc/salt/minion) master: saltmaster grains: roles: - webserver 4. [master] state 파일 작성 4.1 ) timezone (/srv.. 2023. 3. 1.
(IaC) SaltStack 개념 master-minion 구조의 IaC 툴 master - minion 은 PKI based Grains : 미니언 > 마스터로 보내주는 정보 : os 정보, 네트워크 정보, 하드웨어 정보, salt minion의 ID, 기타 등등 : Custom Grains /etc/salt/minion 파일에 아래 내용 추가: grains: roles: - webserver custom_values: - staging-msa Pillars : 마스터 > 미니언으로 공유시켜주는 글로벌 변수 (같은 것) : 비번이라던가.. 설정값들 : logic 과 데이터의 분리 Salt 설정 적용 : Salt Command $ salt prod-infra-msa1 cmd.run 'apt -y install bind' : Salt St.. 2023. 3. 1.
(Jenkins) Dockerfile 을 통한 python 이 설치된 Jenkins Agent 도커 컨테이너 이미지 만들기 1. dockerfile 을 만든다 https://www.gyanblog.com/python/how-install-python-windows-command-line-Dockerfile/ How to Install Python from command line and Docker on Windows How to install Python from command line using pyenv, and we will also create a Dockerfile for Windows www.gyanblog.com *활용하는 이미지는 도커 jenkins agent 임 *도커 jenkins agent 는 windowsservercore-1809 의 확장이며, git 이 설치되어 있음 !!!! 일 하나 줄었음 ㅎ_ㅎ .. 2022. 3. 7.
(Jenkins) Jenkins Logo 변경하기 / 젠킨스 로고 변경 1. "Simple Theme" 플러그인 설치 (젠킨스 재시작 안 해도 됨) 2. CSS 로 수정 Jenkins 관리 > 시스템 설정 > Theme > Extra CSS #jenkins-name-icon{ display: none; } .logo:after { content: ' 로고'; font-weight: bold; font-size: 30px; font-family:"Malgun Gothic", cursive; margin-lef: 200px; margin-right: 12px; color: White; line-hight: 40px; } 2022. 3. 7.
728x90
반응형
LIST