전체 글 썸네일형 리스트형 [kubernetes] 쿠버네티스 워크로드 - 네임스페이스(namespaces) 워크로드 - 네임스페이스(namespaces) 네임스페이스 확인 kubectl get namespaces $ kubectl get namespaces NAME STATUS AGE default Active 2d1h ingress-nginx Active 2d1h kube-node-lease Active 2d1h kube-public Active 2d1h kube-system Active 2d1h metallb-system Active 2d1h kubectl get pods --namespace kube-system kubectl get all --namespace kube-system 네임스페이스 생성 kubectl create namespace infrateam $ kubectl create namesp.. 더보기 mypage git : https://github.com/anti1346 - 작성 중- InfluxDB, Grafana 및 Telegraf를 사용하여 모니터링 시스템을 구성하기 - 정리중 : https://anti1346.tistory.com/1545 - 정리 예정- https://anti1346.tistory.com/282- https://anti1346.tistory.com/233- https://anti1346.tistory.com/126- https://scbyun.com/67- - - - 더보기 [kubernetes] 쿠버네티스 볼륨(Volume) - 정적 프로비저닝(Static Provisioning) / nfs 쿠버네티스 정적 프로비저닝(Static Provisioning) nfs 서버 구성(kube-control1) - nfs 서버 구성 : https://sangchul.kr/432 nfs 클라이언트 구성(kube-node1, kube-node2, kube-node3) sudo apt install -y nfs-common showmount -e 192.168.56.11 $ showmount -e 192.168.56.11 Export list for 192.168.56.11: /nfs-directory/shares-data1 192.168.56.0/24 PV(Persistent Volume) 생성 nfs-pv1.yaml 파일 작성 vim nfs-pv1.yaml apiVersion: v1 kind: Persis.. 더보기 [kubernetes] 쿠버네티스 워크로드 - 워크로드 리소스 쿠버네티스 워크로드 - 워크로드 리소스 디플로이먼트(Deployment) : 모든 Pod가 필요시 교체 또는 상호 교체할 수 있는 경우, 클러스터의 스테이트리스 애플리케이션 워크로드를 관리하기에 적합 레플리카셋(ReplicaSet) - 레거시 리소스 레플리케이션컨트롤러(ReplicationController)를 대체 : 레플리카 파드 집합의 실행을 항상 안정적으로 유지하는 것이다. 이처럼 레플리카셋은 보통 명시된 동일 파드 개수에 대한 가용성을 보증하는 데 사용한다. 스테이트풀셋(StatefulSet) : 어떻게든 스테이트(state)를 추적하는 하나 이상의 파드를 동작하게 해준다. 예를 들면, 워크로드가 데이터를 지속적으로 기록하는 경우, 사용자는 Pod와 PersistentVolume을 연계하는 St.. 더보기 [Mac] virtualbox command virtualbox command virtualbox 버전 정보 VBoxManage --version > VBoxManage --version 7.0.0r153978 VM 목록 출력 VBoxManage list [--long] [--sorted] [bridgedifs | cloudnets | cloudprofiles | cloudproviders | cpu-profiles | dhcpservers | dvds | extpacks | floppies | groups | hddbackends | hdds | hostcpuids | hostdrives | hostdvds | hostfloppies | hostinfo | hostonlyifs | hostonlynets | intnets | natnets | o.. 더보기 MacOS에서 VNC 클라이언트를 설정하기 MacOS에서 VNC 클라이언트를 설정하기 1. macOS에 기본으로 내장된 Screen Sharing 앱을 사용하기 Spotlight 검색을 열고 "Screen Sharing"을 입력하여 앱을 찾습니다. 앱을 실행하고 접속하려는 컴퓨터의 IP 주소나 호스트 이름을 입력합니다. 필요한 인증 정보(사용자 이름 및 비밀번호)를 입력하고 "Connect"를 클릭합니다. 2. 외부 VNC 클라이언트 앱 사용하기 MacOS에서는 다양한 외부 VNC 클라이언트 앱을 사용할 수 있습니다. 몇 가지 인기 있는 앱은 "RealVNC", "TightVNC", "VNC Viewer" 등이 있습니다. 원하는 VNC 클라이언트 앱을 선택하고 해당 앱을 다운로드하고 설치합니다. 앱을 실행하고 접속하려는 컴퓨터의 IP 주소나 호스.. 더보기 Shell Script에서 EOF(End Of File) 사용하는 방법 Shell Script에서 EOF(End Of File) 사용하는 방법리눅스 쉘 스크립트에서 EOF (End Of File) 또는 "Here Document"를 사용하면 스크립트 내에서 멀티라인 텍스트 블록을 정의할 수 있습니다. 이것은 주로 스크립트에서 파일이나 명령에 데이터를 전달할 때 유용합니다.Here Document란?Here Document는 특정 명령어에 다중 라인 입력을 제공하는 방법입니다. 기본 문법command command : 입력을 받을 명령어 (예: cat, bash, ftp 등)EOF : 입력의 끝을 나타내는 구분자 (임의의 문자열 가능, EOF는 관례적으로 사용)EOF 사용 예제파일 생성cat 명령어와 함께 EOF를 사용해 파일을 생성할 수 있습니다.cat output.tx.. 더보기 [리눅스] ansible user 모듈(user module) ansible user 모듈(user module) 불필요한 계정 삭제하기 userDelete.yaml 파일 작성 cat (item=lp) ok: [kube-node1] => (item=lp) changed: [kube-node3] => (item=lp) changed: [kube-node5] => (item=lp) ok: [kube-node1] => (item=news) changed: [kube-node2] => (item=news) changed: [kube-node4] => (item=lp) changed: [kube-node3] => (item=news) ok: [kube-node1] => (item=uucp) changed: [kube-node2] => (item=uucp) changed: [.. 더보기 이전 1 ··· 119 120 121 122 123 124 125 ··· 285 다음