0. 선수지식 및 실습환경 준비
오픈소스컨설팅 Kubernetes 교육 과정 입과를 위해 알고 계시면 좋은 Container/Docker 관련 내용과 아래 오픈소스컨설팅 테크블로그의 게시글을 통해 공유 드리니 사전 학습 후 입과해주시기 바랍니다.
또한 교육과정 실습에 필요한 리눅스 vi 에디터 사용법, Shell 기초에 대한 내용 링크와 개인PC에서 실습환경을 위한 프로그램 설치 방법 전달 드립니다. 개인 PC에 프로그램 사전 설치 요청 드립니다.
Container/Docker 사전 학습 링크(아래 6건) : https://tech.osci.kr/space/TB/21002521546/%23Cloud
[Container 시리즈] 00. Container/ Docker란 뭔가요?
[Container 시리즈] 01. 도커를 설치하고 실행해보자! Docker on Amazon Linux
[Container 시리즈] 02. Docker사용법 Docker Basic Command
[Container 시리즈] 03. Docker File, Docker Image - 도커파일 및 이미지에 대하여
[Container 시리즈] 04. 실행중인 App 서비스를 컨테이너화 해보자!
[Container 시리즈] 05. Kubernetes란?
원활한 실습을 위해 아래 사항 확인 바랍니다.
리눅스 vi 에디터 사용법 : https://www.youtube.com/watch?v=GWo_MxMlJJ4
리눅스 Shell 프로그래밍 기초 : https://www.youtube.com/watch?v=dsUyFss2Sh4
실습 환경을 위한 파일 설치 (Windows PC)
Git
설치파일 링크 : http://git-scm.com/download/win
Standalone Installer - 64-bit Git for Windows Setup (64.7MB)
VirtualBox
설치파일 링크 : https://www.virtualbox.org/wiki/Downloads
VirtualBox 7.0.18 platform packages - Windows hosts (105MB)
VirtualBox 7.0.10 최신 버전 설치 시 Visual C++ Redistributable 2019 패키지 사전 설치를 요구
Visual C++ Redistributable download & install https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version
virtualbox install
Vagrant
설치파일 링크 : https://developer.hashicorp.com/vagrant/install?product_intent=vagrant
Windows - AMD64 (259MB)
Vagrant 폴더 생성
ex) C:\Users\USER_NAME\vagrant\ubuntu
Vagrant 이미지 다운로드
Vagrant 폴더에서 터미널 실행
$ vagrant init sysnet4admin/Ubuntu-k8s
폴더에 Vagrant 파일 생성 확인
$ vagrant up
인터넷에서 Ubuntu 이미지 다운로드 후 VM 기동
기동 된 VM 확인(기본 계정 : vagrant/vagrant)
vagrant 명령어로 확인
$ vagrant box list
$ vagrant ssh default Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.19.0-28-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge Last login: Sat Mar 20 18:04:46 2021 from 10.0.2.2 vagrant@k8s:~$
VM 실행 중 확인
VirtualBox에서 확인
실습 환경을 위한 파일 설치 (MacBook)
Git
설치파일 링크 : https://git-scm.com/download/mac
VirtualBox
Vagrant
설치방법 : $ brew install vagrant
Vagrant 폴더 생성
VM 이미지 다운로드
Vagrant 폴더에서 터미널 실행
$ vagrant init sysnet4admin/Ubuntu-k8s
$ vagrant up
기동 된 VM 확인(기본 계정 : vagrant/vagrant)
상세내용 Windows PC 항목 참고