본문 바로가기

반응형

CLOUD

(58)
OCP 4.10.23 설치(openshift) - 6. pv •PV와 PVC의 yaml 작성 후 rw테스트 •configs.imageregistry.operator.openshift.io 에서 defaultRoute: true, managementState: Managed 수정 •각각의 cluster operator, route, svc, pod에서 Image-registry 생성 확인 •Integrated registry에 login Test를 위해 nfs 서버 올리기 mkdir -p /data/pv-dir /data/pv-dir 172.16.2.0/24(rw,sync,no_wdelay,no_root_squash,insecure) systemctl enable nfs-server --now exportfs -r exportfs -v [root@bastion ~]..
OCP 4.10.23 설치(openshift) - 5. infra node •Monitoring 과 Prometheus, ingress pod를 이동시킵니다. •Taint and tolerations 사용 •Taint 설정 -> comfigmap 설정 -> configmap.yaml 작성 -> mcp 생성 -> mc 생성 openshift 자동완성 기능을 활성화 합니다. oc completion bash | sudo tee /etc/bash_completion.d/openshift > /dev/null secret 생성 htpasswd -bBc /root/htpasswd admin new1234! oc create secret generic htpass-secret --from-file=htpasswd=/root/htpasswd -n openshift-config oc edit..
OCP 4.10.23 설치(openshift) - 4. Install-config, bootstrap, master, worker •Ignition file을 만들기 위한 install-config.yaml 작성 •pullSecret – bastion 인증 정보 •sshKey – bastion pub key •additionalTrustBundle – ca.pem 정보 •imageContentSources – image mirror •Manifests 생성 후 cluster-scheduler-02-config.yml 에 mastersSchedulable를 False로 변경(True시 maste가 worker node 역할도 함) •생성한 ignition file을 이용하여 클러스터 구성 [bastion] ssh 키 생성 ssh-keygen -t rsa -b 4096 install-config.yaml 생성 cd /var/www/ht..
OCP 4.10.23 설치(openshift) - 3. HA proxy, image mirror(cfssl) HAproxy •LB 용도로서 HAproxy 사용 •Master와 bootstrap은 6443, 22623 port 등록 •Worker와 infra는 80, 443 port 등록 [bastion] HAproxy 설치 yum -y install haproxy config vi /etc/haproxy/haproxy.cfg #--------------------------------------------------------------------- # Example configuration for a possible web application. See the # full configuration options online. # # https://www.haproxy.org/download/1.8/doc/co..
OCP 4.10.23 설치(openshift) - 2. DNS DNS •DNS를 구성하여 Cluster 정보 등록 •노드들의 ntp server를 bastion을 바라보게 함 •Ocp cluster zone과 ntp zone 두개를 등록 [registry] bind install yum install -y bind bind-utils zone 등록 cat /etc/named.rfc1912.zones zone "maru.ocp4.com" IN { type master; file "maru.ocp4.com.zone"; allow-update { none; }; }; zone "pool.ntp.org" IN { type master; file "/var/named/pool.ntp.org.zone"; allow-update { none; } ; }; EOF ocp zone..
OCP 4.10.23 설치(openshift) - 1. private registry, timezone, chrony Openshift란? Openshift는 Red Hat에서 하이브리드 멀티 클라우드를 관리하기 위한 엔터프라이즈 쿠버네티스 컨테이너 플랫폼 입니다. https://www.redhat.com/ko/technologies/cloud-computing/openshift 레드햇 오픈시프트로 쿠버네티스 컨테이너 오케스트레이션 실행 레드햇 오픈시프트는 자동화된 풀스택 오퍼레이션으로 하이브리드 클라우드, 멀티클라우드 및 엣지 배포를 관리하는 엔터프라이즈급 쿠버네티스 컨테이너 플랫폼입니다. www.redhat.com 구성도 Cluster 정보 Role version Spec. Network IP Address bootstrap rhcos 4.10.23 4 vCPU / 16GB MEM / 50GB 172.16.2.190..
[Google Cloud Study Jam] 클라우드 스터디잼 쿠버네티스 중급과정 후기 신청 2~3개월에 한번씩 모집하는거 같습니다. 물론 무료입니다. 개인으로 신청하거나 5명 이상을 모아서 그룹으로 신청 할수도 있습니다. https://sites.google.com/view/cloud-studyjam2/home 구글 클라우드 스터디 잼 중급반 클라우드 기술이 요즘 대세라는데, 공부를 시작할 동기부여가 없으신가요? GCP를 주제로 스터디 그룹을 진행/참여하고 있지만 뚜렷한 목표설정이 필요하신가요? 구글 클라우드 스터디 잼 입문반 sites.google.com 과정 신청 후 아래와 같이 두개의 메일이 옵니다. 안내 메일과 코세라 등록 메일 입니다. 안내에 따라 join 후 강의를 들으시면 됩니다. 모든 강의와 실습을 완료하면 수료증을 줍니다. 저같은 경우 휴대폰에도 코세라 어플을 다운받아서 ..
AWS SAA(어소시에이트) 합격후기 및 공부방법(문제풀이) AWS를 공부하고 이왕 공부한 김에 자격증이나 하나 따자 해서 응시한 자격증 입니다. 대부분의 해외 자격증이 그렇듯 응시료가 국내에 비해 비쌉니다.(150불) 가격때문에 망설였지만 바우처가 반값에 생겨 응시하였습니다. 시험은 온라인과 오프라인으로 응시 가능합니다.(저는 오프라인) 어차피 저는 개념 정독이 안되는 스타일이라서 문제풀이부터 했습니다. 기간은 2주정도 되고 평일에는 출퇴근 시간 지하철과 회사에서 틈틈이 눈치보며 했습니다(연말이라 일이 연초로 다 밀리고 있어서...) 주말에는 5시간 정도 했습니다. udemy https://www.udemy.com/course/aws-saa-c02/ examtopics https://www.examtopics.com/exams/amazon/aws-certifie..

반응형