Let’s create a simple Nginx deployment with four replicas. Like any other Kubernetes configuration, a deployment file will contain:

- apiVersion (apps/v1)
- Kind (Deployment)
- The metadata with a spec section to define the replicas and configurations related to the deployment

```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
# Define the Deployment Name
name: nginx-deployment
labels:
app: webserver
spec:
# Define the Number of Pods
replicas: 4
# Define the Selector
selector:
matchLabels:
app: webserver
template:
metadata:
labels:
app: webserver
spec:
containers: # Container Details
- name: nginx
image: nginx:latest # Image
ports:
- containerPort: 80
```

Now you can create the deployment using the following command (`--record` flag is to save the command):

```bash
kubectl apply -f <your_file_name.yaml> --record
```

Note: Using `nginx:latest` in a deployment YAML file is not recommended for production environments because it does not define a specific version of the `nginx` image.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence