## NAME

gdcloud compute backends create - Create backends for a load balancer.

## SYNOPSIS

```text
gdcloud compute backends create BACKEND_NAME [flags]
```

### EXAMPLES

```text
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
```

### REQUIRED FLAGS

```text
      --labels strings   Selector defining which endpoints (Pods or VMs) to use for this backend.
```

### OPTIONAL FLAGS

```text
      --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 WIDE FLAGS

These flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.

For more information, see the [gdcloud CLI reference overview](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-reference/gdcloud.md.txt) page.