Google Cloud Marketplace에서 Kubernetes 또는 Docker로 컨테이너 이미지 배포
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 페이지는 각 Google Cloud Marketplace 컨테이너 제품에 대한 컨테이너 readme에 대한 보충 안내서입니다.
여기에서는 완전히 새로운 Google Kubernetes Engine 클러스터 또는 로컬 Minikube 클러스터에 컨테이너를 배포하기 위한 추가 정보를 제공합니다.
또한 Docker 사용 링크도 제공합니다.
컨테이너 배포
다음 섹션에서는 Kubernetes 및 Docker에 배포하는 방법을 설명합니다.
Kubernetes에 배포
Kubernetes에 컨테이너를 배포하는 방법은 두 가지입니다. Google Kubernetes Engine에 배포하거나 Minikube를 사용해서 개발자의 머신에 로컬로 배포할 수 있습니다. 두 방법 모두 아래에서 설명합니다.
kubectl이 클러스터에 연결될 수 있는지 확인
환경을 설정한 후 kubectl이 생성한 클러스터에 도달할 수 있는지 확인하십시오. 다음을 실행하여 노드가 실행 중인지 확인할 수 있습니다.
kubectl get nodes
Kubernetes의 컨테이너에 대한 시작하기 문서 섹션 따르기
Google Cloud Marketplace의 각 컨테이너 제품에는 시작 가이드가 포함되어 있습니다. Google 클라우드 콘솔에서 배포하려는 컨테이너를 선택하고 페이지 상단 근처에 있는 {상품명으로 시작하기} 버튼을 클릭하여 컨테이너 시작 문서에 액세스 할 수 있습니다.
Minikube에 배포
필수 도구 설치 Minikube 설정 가이드의 단계를 따르십시오.
이러한 단계에 따라 로컬 Minikube 환경을 설정할 수 있습니다. 연결된 안내에서 minikube 시작 이후 아래 안내를 따를 수 있습니다.
kubectl이 클러스터에 연결될 수 있는지 확인 Minikube가 실행되는 동안 (minikube start를 실행한 후) 다음 명령을 사용하여 노드가 실행 중인지 확인할 수 있습니다.
kubectl get nodes
Kubernetes의 컨테이너에 대한 시작하기 문서 섹션 따르기
Cloud Marketplace의 각 컨테이너 제품에는 시작 가이드가 포함되어 있습니다. Google Cloud Console에서 배포하려는 컨테이너를 선택한 후 페이지 위에 있는 [product_name] 시작하기 버튼을 클릭하여 컨테이너 시작 문서에 액세스할 수 있습니다.
Docker에 배포
Docker 설치
Docker에 컨테이너를 배포하려면 먼저 로컬 머신 또는 가상 머신에 Docker를 설치해야 합니다. Docker 설치 가이드는 Docker 웹사이트에서 제공됩니다.
시작하기 가이드의 단계 따르기
Cloud Marketplace의 각 컨테이너 제품에는 시작 가이드가 포함되어 있습니다. Google Cloud Console에서 배포하려는 컨테이너를 선택하고 페이지 위에 있는 [product_name] 시작하기 버튼을 클릭하여 컨테이너 시작 가이드에 액세스할 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-21(UTC)"],[],[],null,["# Deploying container images from Google Cloud Marketplace to Kubernetes or Docker\n\nThis page is a supplemental guide to the container readme for each\n[Google Cloud Marketplace container product](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container).\nIt provides additional information for deploying a container to a\nbrand new Google Kubernetes Engine cluster or to a local Minikube cluster.\nIt also provides links for using Docker.\n| As of July 18, 2018, the container registry\n| `launcher.gcr.io` and its alias `l.gcr.io` are deprecated.\n| Docker images in `launcher.gcr.io` remain available, but are\n| no longer updated.\n|\n| If you are currently pulling images from `launcher.gcr.io`, you\n| must:\n|\n| - Change all your references to `marketplace.gcr.io`.\n| - Set up [authentication](/container-registry/docs/advanced-authentication) for Container Registry, using the following command: \n|\n| ```\n| gcloud auth configure-docker\n| \n| ```\n\nDeploy a container\n==================\n\nThe following sections describe how to deploy to Kubernetes and to Docker.\n\nDeploy to Kubernetes\n--------------------\n\nThere are two methods to deploy containers to Kubernetes. You can deploy to\nGoogle Kubernetes Engine, or locally to your machine using Minikube. Both methods are\ndescribed below.\n\n### Deploy to Google Kubernetes Engine\n\n1. **Install the required tools** \n\n Follow the steps in the\n [Quickstart for Google Kubernetes Engine](/kubernetes-engine/docs/deploy-app-cluster).\n These steps will help you setup your environment with `gcloud` and `kubectl`.\n\n2. **Verify that `kubectl` can connect to the clusters** \n\n After your environment is set up, verify `kubectl` can reach the clusters you\n created. You can run the following to see if your nodes are running:\n\n kubectl get nodes\n\n3. **Follow the getting started documentation for the container in the\n Kubernetes section** \n\n Each container product on Cloud Marketplace contains a getting\n started guide. You can access the container getting started document by\n selecting the container you want to deploy from\n [the Google Cloud console](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container),\n and then clicking the **Get Started with {** *product name* **}** button near\n the top of the page.\n\n### Deploy to Minikube\n\n1. **Install the required tools** \n\n Follow the steps in the\n [Minikube Setup guide](https://kubernetes.io/docs/getting-started-guides/minikube/).\n These steps will help you setup a local Minikube environment. After\n **minikube start** in the linked instructions, you can then follow the\n instructions below.\n\n2. **Verify that `kubectl` can connect to the clusters** \n\n While Minikube is running (after running `minikube start`), you can use the\n following command to check if your nodes are running:\n\n kubectl get nodes\n\n3. **Follow the getting started documentation for the container in the Kubernetes section**\n\n Each container product on Cloud Marketplace contains a getting\n started guide. You can access the container getting started document by\n selecting the container you want to deploy from\n [the Google Cloud console](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container),\n and then clicking the **Get Started with \\[product_name\\]** button\n near the top of the page.\n\nDeploy to Docker\n----------------\n\n1. **Install Docker**\n\n To deploy a container to Docker, first install Docker on your local machine\n or virtual machine. The Docker installation guide is available from the\n Docker [website](https://docs.docker.com/engine/installation/).\n2. **Follow the steps in the getting started guide**\n\n Each container product on Cloud Marketplace contains a getting\n started guide. You can access the container's getting started guide by\n selecting the container you want to deploy from\n [the Google Cloud console](https://console.cloud.google.com/marketplace/browse?filter=solution-type:container)\n and then clicking the **Get Started with \\[product_name\\]** button near\n the top of the page."]]