# io.k8s.api.scheduling.v1beta1.CompositePodGroupSchedulingPolicy

From **Kubernetes**.

CompositePodGroupSchedulingPolicy defines the scheduling configuration for a CompositePodGroup. Exactly one policy must be set.

- Type: `object`

## Properties

### `basic`

- Required: false
basic specifies that the groups of this composite group should be scheduled independently. This field is immutable.

### `gang`

- Required: false
gang specifies that the groups of this composite group should be scheduled using all-or-nothing semantics.

## JSON Schema

```json
{"description":"CompositePodGroupSchedulingPolicy defines the scheduling configuration for a CompositePodGroup. Exactly one policy must be set.","properties":{"basic":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.scheduling.v1beta1.CompositeBasicSchedulingPolicy"}],"description":"basic specifies that the groups of this composite group should be scheduled independently. This field is immutable."},"gang":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.scheduling.v1beta1.CompositeGangSchedulingPolicy"}],"description":"gang specifies that the groups of this composite group should be scheduled using all-or-nothing semantics."}},"type":"object","x-kubernetes-unions":[{"fields-to-discriminateBy":{"basic":"Basic","gang":"Gang"}}]}
```
