개발공부

[오픈소스 기여하기] 쿠버네티스 문서와 Hugo

원석💎-dev 2022. 7. 12. 19:11
반응형

1. 웹사이트는 두 종류로 나눌 수 있다.

  • 동적 사이트 (dynamic site)
  • 정적 사이트 (static site)

 

2. 정적 사이트(static site)란?

 고정된 html을 표시만 해주는 사이트이다. 주로 개인 블로그에 많이 사용된다.

 

3. 정적 사이트(static site)의 장점?

  • 속도가 빠르다. 
  • 정적 사이트 생성기 (static site generator- jekyll, hexo...등)를 사용하면 쉽게 개발 할 수 있다.

 

4. Hugo란?

 Go를 이용해 만들어진 정적 웹 사이트 생성기이다.

 

5. 쿠버네티스 공식 문서 

 쿠버네티스의 공식문서는 Hugo를 이용해 만들어졌다. 한국어를 공식 지원하고있다.

 

6. 쿠버네티스 공식 문서 로컬 실행 (WSL)

sudo apt update

sudo apt install npm
sudo apt install hugo
sudo apt install golang-go

git clone https://github.com/kubernetes/website.git
cd website
git submodule update --init --recursive --depth 1
make serve
  • 아래 그림의 http://localhost:1313 주소로 접속하면, Kubernetes Doc이 뜬다.

 

참고 글:

https://github.com/kubernetes/website/blob/main/README-ko.md

https://ialy1595.github.io/post/blog-construct-1/

https://jinnypark9393.github.io/oss%20contribution%20academy/OSS-Kubernetes-Running-Hugo-Locally/

반응형