이름
gdcloud compute backends create - 부하 분산기의 백엔드를 만듭니다.
개요
gdcloud compute backends create BACKEND_NAME [flags]
EXAMPLES
To create backend "my-backend" for a load balancer, run:
gdcloud compute backends create my-backend \
--cluster-name="user-vm-1-cluster" \
--labels=app=web,rev=v1.2
필수 플래그
--labels strings Selector defining which endpoints (Pods or VMs) to use for this backend.
선택적 플래그
--cluster-name string Name of the Kubernetes cluster that the scope of the defined selectors are limited to.
--zone string Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.
GDCLOUD 전체 플래그
이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration
, --format
, --help
, --project
, --quiet
).
자세한 내용은 gdcloud CLI 참조 개요 페이지를 참고하세요.