instruction: Create a Kubernetes Deployment configuration with best practices
output: ```yaml
  apiVersion: apps/v1
  kind: Deployment
  metadata:
   name: nginx-deployment
   labels:
   app: nginx
  spec:
   selector:
   matchLabels:
   app: nginx
   template:
   metadata:
   labels:
   app: nginx
   spec:
   containers:
   - name: nginx
   image: nginx
  EOF
  
  cat <<EOF >./kustomization.yaml
  namespace: my-namespace
  namePrefix: dev-
  nameSuffix: "-001"
  labels:
   - pairs:
   app: bingo
   includeSelectors: true
  commonAnnotations:
   oncallPager: 800-555-1212
  resources:
  - deployment.yaml
  EOF
  Run kubectl kustomize ./ to view those fields are all set in the Deployment Resource:apiVersion: apps/v1
  kind: Deployment
  metadata:
   annotations:
   oncallPager: 800-555-1212
   labels:
   app: bingo
   name: dev-nginx-deployment-001
   namespace: my-namespace
  spec:
   selector:
   matchLabels:
   app: bingo
   template:
   metadata:
   annotations:
   oncallPager: 800-555-1212
   labels:
   app: bingo
   spec:
   containers:
   - image: nginx
   name: nginx
  Composing and Customizing ResourcesIt is common to compose a set of resources in a project and manage them inside the same file or directory.
  Kustomize offers composing resources from different files and applying patches or other customization to them.ComposingKustomize supports composition of different resources. The resources field, in the kustomization.yaml file,
  defines the list of resources to include in a configuration. Set the path to a resource's configuration file in the resources list.
  Here is an example of an NGINX application comprised of a Deployment and a Service:# Create a deployment.yaml file
  cat <<EOF > deployment.yaml
  ```