Rancher Server를 Mac에서 실행 with GKE
(당시의 경위는 이 근처의 슬라이드 에 남겨두고 있었습니다…)
내가 Rancher를 처음 만났던 작년 후반에는 Version 1.6 계절에 아직도 Mac 용 Docker에 대한 설치는 더 이상 사용되지 않았습니다. (지금도 Mac 용 Docker에 설치하는 것은 더 이상 사용되지 않습니다 ... 추천 환경은 이쪽)
이번 설치를 시도한 Docker for Mac 환경

주의하면 Version이 2.0.0.0으로 되어 있으며, Engine도 18.09로 업데이트되고 있습니다.
터미널에서 실수를 수행
docker가 설치되어 있다면 터미널에서만 다음 명령을 실행하기 만하면 Rancher가 설치됩니다 (예 :) ...
Rancher install
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:latest

우선, 명령이 잘 실행된 것 같습니다.
시작할 수 있는지 확인
https://localhost
를 브라우저에 입력하여 시작할 수 있는지 확인합니다.

연결 확인 화면이 나왔습니다.

무사히 시작한 것 같습니다.
비밀번호를 설정하고 계속 진행합니다.

GKE에 클러스터를 만들고 Prometheus 배포
모처럼이므로 GKE (Google Kubernetes Engine)에 클러스터를 만들고 Rancher Catalog에서 Prometheus를 넣어 보겠습니다.

GKE를 선택하고 클러스터 이름을 입력하고, 서비스 연동용 json 파일을 붙여넣고, 노드 설정 정보(하단 부분)를 입력하고, 「만들기」버튼(이 화면에서는 숨겨져 버립니다. 가)를 누르면 클러스터 생성이 시작됩니다.

잠시 후 클러스터 생성이 완료되고 Rancher에서 클러스터 상태를 확인할 수 있습니다.

카탈로그에서 Prometheus를 선택하여 소개해 봅시다.
방금 만든 클러스터의 Default를 선택한 경우 화면의 메뉴에서 카탈로그 앱을 누릅니다.

시작 버튼을 누르면 카탈로그 목록 화면이 나타납니다.


이번에는 Prometheus (from Library)를 선택합니다.
(버전은 약간 오래된 것 같습니다만, 함께 grafana도 도입되므로, 간단하게 감시 환경을 구축할 수 있습니다.)


여러가지 설정할 수 있습니다만, 최소한 넣어야 하는 것은,
Grafana Admin Password위입니다. 시작 버튼을 누르면 Prometheus와 grafana가 배포됩니다.



잘 배포 할 수 있었기 때문에 prometheus-grafana를 시작해보십시오.



자신이 모니터하고 있는지 확인할 수 있습니다.
끝에
내가 빠져 있던 당시란 Rancher 자신의 아키텍처도 바뀌어 버려 Kubernetes를 타겟으로 한 것이 되어 버리고 있습니다만, Mac상에서도 Rancher Server를 도입해 Managed Kubernetes 클러스터를 관리할 수 있는 것을 알 수 있습니다. 했다.
현시점에서는, 변함없이 환경으로서는 Docker for Mac는 비추천이므로, 실운용등에는 절대 추천 하지 않습니다만, 조금 시험해 보려면 부담없이 구축할 수 있으므로 좋은 것이 아닐까요.
(어디까지나 비추천이므로, 시행은 자기 책임으로 부탁합니다)
Reference
이 문제에 관하여(Rancher Server를 Mac에서 실행 with GKE), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/machshev/items/0f8e2fb6f33a47d90e29텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)