InfoGrab DocsInfoGrab Docs

정적 kubeconfig로 Kubernetes 클러스터 등록

독립형 Teleport 설치를 Kubernetes 클러스터에 연결하기.

해당 클러스터에서 Teleport Kubernetes 서비스를 실행하여 Kubernetes 클러스터를 Teleport에 등록할 수 있지만, 클러스터 외부의 Linux 호스트에서 Teleport Kubernetes 서비스를 실행할 수도 있습니다. 이는 Teleport 배포를 접근을 관리하려는 Kubernetes 클러스터와 분리하려는 경우에 유용합니다. 작동 방식 # 이 설정에서 Teleport Kubernetes 서비스는 kubeconfig 파일을 사용하여 선택한 Kubernetes 클러스터의 API 서버에 인증합니다. 사전 요구사항 # A running Teleport cluster. If you want to get started with Teleport, sign up for a free trial or set up a demo environment . The tctl and tsh clients. Installing `tctl` and `tsh` clients Determine the version of your Teleport cluster. The tctl and tsh clients must be at most one major version behind your Teleport cluster version. Send a GET request to the Proxy Service at /v1/webapi/find and use a JSON query tool to obtain your cluster version. Replace teleport.example.com:443 with the web address of your Teleport Proxy Service: $ TELEPORT_DOMAIN=teleport.example.com:443 $ TELEPORT_VERSION="$(curl -s https://$TELEPORT_DOMAIN/v1/webapi/find | jq -r '.server_version')" Follow the instructions for your platform to install tctl and tsh clients: Mac Download the signed macOS .pkg installer for Teleport, which includes the `tctl` and `tsh` clients: ```code $ curl -O https://cdn.teleport.dev/teleport-${TELEPORT_VERSION?}.pkg ``` In Finder double-click the `pkg` file to begin installation. Warning Using Homebrew to install Teleport is not supported. The Teleport package in Homebrew is not maintained by Teleport and we can't guarantee its reliability or security. Windows - Powershell ``