07A. kOps ์ค์นํ๊ธฐ
About 1 min
07A. kOps ์ค์นํ๊ธฐ ๊ด๋ จ
๋ชฉ์ฐจ
์ธ์ ๋ ์ต์ Kubernetes
Unit 7. AWS์์ EC2๋ก Kubernetes ํด๋ฌ์คํฐ ๊ตฌ์ถํ๊ธฐ
์ธ์ ๋ ์ต์ Kubernetes
Installing - kOps - Kubernetes Operations
๋ฆฌ๋
์ค
๋ฐ์ด๋๋ฆฌ๋ก ์ค์นํ๊ธฐ
curl -Lo kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
chmod +x kops
sudo mv kops /usr/local/bin/kops
macOS
๋ฐ์ด๋๋ฆฌ๋ก ์ค์นํ๊ธฐ
curl -Lo kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-darwin-amd64
chmod +x kops
sudo mv kops /usr/local/bin/kops
brew
๋ก ์ค์นํ๊ธฐ
brew update && brew install kops
์๋์ฐ
๋ฐ์ด๋๋ฆฌ๋ก ์ค์นํ๊ธฐ
kubernetes/kops/releases
ํ์ด์ง์์kops-windows-amd64
ํ์ผ์ ๋ฐ์ต๋๋ค(์ ๋ณด์ด๋ฉด[Show all nn assets]
ํด๋ฆญ).kops-windows-amd64
ํ์ผ์kops.exe
ํ์ผ๋ก ์ด๋ฆ์ ๋ฐ๊ฟ๋๋ค.kops.exe
ํ์ผ์C:\minikube
ํด๋ ์์ ๋ณต์ฌํฉ๋๋ค(๋ง์ฝ, ๋ค๋ฅธ ํด๋์ ๋ณต์ฌํ๊ณ ์ถ๋ค๋ฉด ํด๋น ํด๋์ ๊ฒฝ๋ก๋ฅผ ํ๊ฒฝ ๋ณ์์ Path์ ์ถ๊ฐํด์ค๋๋ค).
choco
๋ก ์ค์นํ๊ธฐ
choco install kubernetes-kops
choco
choco
๋ ์๋์ฐ์ฉ ํจํค์ง ๊ด๋ฆฌ ํ๋ก๊ทธ๋จ์
๋๋ค. choco install
๋ช
๋ น์ผ๋ก ๋ค์ํ ํ๋ก๊ทธ๋จ๋ค์ ์์ฝ๊ฒ ์ค์นํ ์ ์์ต๋๋ค. ์ค์น๋ ๋ค์ ๋ช
๋ น์ ์คํํ๋ฉด ๋ฉ๋๋ค. ์ด๋ ๋ฐ๋์ PowerShell์ ๊ด๋ฆฌ์ ๊ถํ์ผ๋ก ์คํํด์ผ ํฉ๋๋ค.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Chocolatey Software | Installing Chocolatey
Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.