ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • kubernetes 관리용 CLI 설치 리스트
    IT 발자취.../리눅스 2022. 9. 6. 10:15

    Install List

    * kubectl

    * istioctl

    * docker

    * Helm

    * Terraform

     

     

    kubectl

    1.다음 명령으로 최신 릴리스를 다운로드한다.

    curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"

    2.kubectl 설치

    sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

     

    istioctl

    1. Go to the Istio release page to download the installation file for your OS, or download and extract the latest release automatically (Linux or macOS):

    $ curl -L https://istio.io/downloadIstio | sh -

    2. Move to the Istio package directory. For example, if the package is istio-1.15.0

    $ cd istio-1.15.0
    $ sudo install -o root -g root -m 0755 istioctl /usr/local/bin/istioctl

     

    docker

    $ sudo apt-get update
    $ sudo apt-get install docker.io
    $ sudo usermod -aG docker $USER
    ### system restart

     

    Helm

    ### 1. Download
    $ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
    $ chmod +x ./get_helm.sh
    $ ./get_helm.sh

    Terraform

    $ sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
    
    ### GPG Key
    $ wget -O- https://apt.releases.hashicorp.com/gpg | \
        gpg --dearmor | \
        sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
    $ gpg --no-default-keyring \
        --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
        --fingerprint
    ### Installation
    $ echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
        https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
        sudo tee /etc/apt/sources.list.d/hashicorp.list
    $ sudo apt update
    $ sudo apt-get install terraform
    ### Verify Installation
    $ terraform -help

    'IT 발자취... > 리눅스' 카테고리의 다른 글

    인증키 생성 (smallstep)  (0) 2022.09.08
    [리눅스] PAM이란?  (0) 2021.06.23
    [명령어] apt remove vs purge 차이  (0) 2018.12.13

    댓글

Designed by Gintire