[OpenShift 4.4] CodeReady Workspaces 를 이용하여 통합 개발 환경(IDE) 구현

CodeReady Workspace 란? Red Hat® CodeReady Workspaces는 팀을 위한 클라우드 네이티브 개발을 실용적으로 만들어주는 개발자 툴입니다. 쿠버네티스와 컨테이너를 사용해 개발 또는 IT 팀의 누구에게든 일관적으로 사전 설정된 개발 환경을 제공합니다. 개발자는 Red Hat OpenShift®에서 구동되는 컨테이너에서 코드를 작성하고, 빌드하고, 테스트할 수 있습니다. 사용자 경험 또한 노트북에서 통합 개발 환경(IDE)을 사용하는 것만큼이나 빠르고 친숙합니다. https://www.redhat.com/ko/technologies/jboss-middleware/codeready-workspaces CodeReady Workspace 배포 CodeReady 배포 할 Project 생성합니다. admin 계정으로 로그인 후, OperatorHub 에서 CodeReady 를 검색합니다....

July 1, 2020 · chhanz

[OpenShift 4.4] Deploying Applications From Template

해당 자료는 사내 교육용으로 제작된 자료입니다. 자료 사용시 출처 부탁 드려요. 목차 Deploying Applications From Images Deploying Applications From Source Deploying Applications From Template Deploying Applications From Template 이번 Lab 은 Template 로 생성된 App 을 배포 하도록 하겠습니다. Django + pgsql 배포 (no pv) 신규 Project 생성 From Catalog 를 선택합니다. Django + pgsql(Ephemeral) 선택합니다. 필요한 옵션을 입력하고 APP 을 배포합니다. pgsql 이 배포됩니다. Django 가 Build 됩니다....

June 24, 2020 · chhanz

[OpenShift 4.4] Deploying Applications From Source

해당 자료는 사내 교육용으로 제작된 자료입니다. 자료 사용시 출처 부탁 드려요. 목차 Deploying Applications From Images Deploying Applications From Source Deploying Applications From Template Deploying Applications From Source 이번 Lab 은 Source 를 이용하여 App 을 배포 하도록 하겠습니다. PHP WebApp 배포 Web Console 로 developer 계정으로 로그인합니다. 테스트를 위한 신규 Project 생성합니다. From Git 항목을 선택합니다. 소스 주소 https://github.com/chhanz/docker-swarm-demo.git 를 입력하고 사용할 Builder 로 PHP 를 선택합니다....

June 22, 2020 · chhanz

[OpenShift 4.4] Deploying Applications From Images

해당 자료는 사내 교육용으로 제작된 자료입니다. 자료 사용시 출처 부탁 드려요. 목차 Deploying Applications From Images Deploying Applications From Source Deploying Applications From Template Deploying Applications From Images 이번 Lab 은 Container Image 로 생성된 App 을 배포 하도록 하겠습니다. Django WebApp 배포 Web Console 로 developer 계정으로 로그인합니다. CLI 로 배포 $ oc login -u developer $ oc project django-project $ oc new-app openshiftkatacoda/blog-django-py --name blog-from-image $ oc expose svc/blog-from-image $ oc get all NAME READY STATUS RESTARTS AGE pod/blog-django-py-6b787ccc9f-hl7tk 1/1 Running 0 16m pod/blog-from-image-1-74snj 1/1 Running 0 41s pod/blog-from-image-1-deploy 0/1 Completed 0 45s NAME DESIRED CURRENT READY AGE replicationcontroller/blog-from-image-1 1 1 1 45s NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/blog-django-py ClusterIP 172....

June 18, 2020 · chhanz

[Container] Container & Orchestration 교육 자료

해당 자료는 사내 교육용으로 제작된 자료입니다. 자료 사용시 출처 부탁 드려요. https://github.com/chhanz/container-hands-on Container & Orchestration 교육 자료 목차 Docker Podman Kubernetes OpenShift Docker Hands-on 환경 OS : CentOS 7.7 Disable SELinux, Firewalld Install Install Package $ yum -y install docker start service docker $ systemctl enable --now docker RUN start container nginx $ docker run -d -ti --name nginx -p 80:80 nginx check container nginx $ docker ps -a access web $ crul http://192....

May 21, 2020 · chhanz

[Kubernetes] IBM Cloud Kubernetes Service 를 Free Tier 로 사용해보자!

목차 IBM Cloud Kubernetes Service 생성 IBM Cloud Cli 및 Kubectl 설치 Deploy Sample Service Delete Kubernetes Cluster 참고 자료 관리형 Kubernetes Service 각 Public Cloud Provider 에서는 관리형 Kubernetes Service를 제공하고 있습니다. AWS 에서는 Amazon Elastic Kubernetes Service(AWS EKS), Azure 에서는 Azure Kubernetes Service(AKS)의 이름으로 서비스를 하고 있으며, IBM 에서는 IBM Cloud Kubernetes Service(IKS) 라는 서비스를 제공하고 있습니다. 이번 포스팅에서는 무료로 관리형 Kubernetes 서비스를 이용 할 수 있는 IBM Cloud Kubernetes Service(이하 IKS) 를 이용하여...

January 27, 2020 · chhanz

[Kubernetes] CKA(Certified Kubernetes Administrator) 시험 합격 후기

[Kubernetes] CKA(Certified Kubernetes Administrator) 시험 합격 후기 안녕하세요. chhanz 입니다. 2019년 취득 목표로 잡고 공부하던 CKA, Certified Kubernetes Administrator 자격증을 드디어 취득하였습니다. CKA 자격증을 취득하고 느낀점은 커뮤니티에 올려주신 많은 합격 후기들이 “너무 도움이 많이 되었다.” 라는 점입니다. 그리하여 제가 공부를 어떻게 했고, 시험이 어떤식으로 진행이 되었는지 공유해드리겠습니다. 공부 준비 다양한 리소스를 이용하여 공부를 하였으나, 제가 제일 유용하였고 도움이 되었다고 생각되는 자료 리스트입니다. Kubernetes Tutorials 언제나 기본기는 중요합니다. hands-on lab 도 제공하여 처음 기본을 잡는데 유용하였습니다....

September 30, 2019 · chhanz

[Kubernetes] kubeadm 을 이용한 Kubernetes 설치

kubeadm 을 이용한 Kubernetes 설치 kubeadm 을 이용하여 kubernetes 테스트 환경을 쉽고 빠르게 구축하도록 하겠습니다. 준비 사항 이번 테스트 환경은 1 Master node, 2 Worker node 로 구성을 할 예정입니다. 상세 내역은 아래와 같습니다. OS Version : CentOS 7.6 Docker Version : v18.6.1 Kubernetes Version : v1.15.3 사전 준비 Kubernetes 설치를 위해 사전 준비 작업이 필요합니다. 위 작업은 운영체제 설정 작업 및 Package 설치 작업이며, 해당 작업은 Kubernetes Preinstaller 를 이용하여 손쉽게 작업하도록 하겠습니다....

September 4, 2019 · chhanz

[Kubernetes] Kubernetes Volume #2

이번 포스팅은 Kubernetes Korea Group의 Kubernetes Architecture Study 모임에서 스터디 후, 발표된 내용입니다. Link : k8skr-study-architecture Github Kubernetes Volume #2 저번 포스팅 Kubernetes Volume #1 에서는 Local Volume 에 관련된 emptyDir / hostPath / gitRepo 에 대해 설명드렸습니다. 이어서 이번 포스팅에서는 Network Volume 으로 사용될 nfs / cephfs / ceph rbd 를 예제와 함께 알아보도록 하겠습니다. Persistent Volume 와 Persistent Volume Claim Persistent Volume 와 Persistent VolumeClaim 가 있는데,...

April 15, 2019 · chhanz

[Kubernetes] Kubernetes Volume #1

이번 포스팅은 Kubernetes Korea Group의 Kubernetes Architecture Study 모임에서 스터디 후, 발표된 내용입니다. Link : k8skr-study-architecture Github Kubernetes Volume Kubernetes 에서 Volume 으로 사용 가능한 유형은 아래와 같습니다. emptyDir hostPath gitRepo Openstack Cinder cephfs iscsi rbd 그 외 Public Cloud Storage 이처럼 Kubernetes 에서는 다양한 Volume 을 지원합니다. 책에 소개된 emptyDir / hostPath / gitRepo 에 대해 예제와 함께 어떤식으로 사용이 되는지 확인 해보겠습니다....

April 12, 2019 · chhanz