anchor.diff:  ====
   
   ----
  -{
  -  "kind": "Service",
  -  "apiVersion": "v1",
  -  "metadata": {
  -    "name": "example-external-service"
  -  },
  -  "spec": {
  -    "ports": [
  -      {
  -        "name": "mysql",
  -        "protocol": "TCP",
  -        "port": 1234,
  -        "targetPort": 1234,
  -        "nodePort": 0
  -      }
  -    ]
  -  },
  -  "selector": {} <1>
  -}
  +  kind: "Service"
  +  apiVersion: "v1"
  +  metadata:
  +    name: "example-external-service"
  +  spec:
  +    ports:
  +      -
  +        name: "mysql"
  +        protocol: "TCP"
  +        port: 3306
  +        targetPort: 3306
  +        nodePort: 0
  +  selector: {} <1>
   ----
   
   <1> The `selector` field to leave blank.
  
positive.code: ====
  
  ----
  {
    "kind": "DeploymentConfig",
    "apiVersion": "v1",
    "metadata": {
      "name": "my-app-deployment"
    },
    "spec": { <1>
      "strategy": {
        "type": "Rolling",
        "rollingParams": {
          "updatePeriodSeconds": 1,
          "intervalSeconds": 1,
          "timeoutSeconds": 120
        }
      },
      "replicas": 1,
      "selector": {
        "name": "frontend"
      },
      "template": {
        "metadata": {
          "labels": {
            "name": "frontend"
          }
        },
        "spec": {
          "containers": [
            {
              "name": "helloworld",
              "image": "openshift/openshift/origin-ruby-sample",
              "ports": [
                {
                  "containerPort": 8080,
                  "protocol": "TCP"
                }
              ],
              "env": [
                {
                  "name": "SAAS_API_KEY", <2>
                  "value": "<SaaS service API key>"
                },
                {
                  "name": "SAAS_USERNAME", <3>
                  "value": "<SaaS service user>"
                },
                {
                  "name": "SAAS_PASSPHRASE", <4>
                  "value": "<SaaS service passphrase>"
                }
              ]
            }
          ]
        }
      }
    }
  }
  ----
  
  <1> Other fields on the `DeploymentConfig` are omitted.
  
negative.code: ====
  
  ----
    kind: "Endpoints"
    apiVersion: "v1"
    metadata:
      name: "external-mysql-service" <1>
    subsets: <2>
      -
        addresses:
          -
            IP: "10.0.0.0" <3>
        ports:
          -
            port: 3306 <4>
            name: "mysql"
  
  ----
  
  <1> The name of the `Service` instance, as defined in the previous step.
  