...

Text file src/k8s.io/api/testdata/HEAD/core.v1.Service.json

Documentation: k8s.io/api/testdata/HEAD

     1{
     2  "kind": "Service",
     3  "apiVersion": "v1",
     4  "metadata": {
     5    "name": "nameValue",
     6    "generateName": "generateNameValue",
     7    "namespace": "namespaceValue",
     8    "selfLink": "selfLinkValue",
     9    "uid": "uidValue",
    10    "resourceVersion": "resourceVersionValue",
    11    "generation": 7,
    12    "creationTimestamp": "2008-01-01T01:01:01Z",
    13    "deletionTimestamp": "2009-01-01T01:01:01Z",
    14    "deletionGracePeriodSeconds": 10,
    15    "labels": {
    16      "labelsKey": "labelsValue"
    17    },
    18    "annotations": {
    19      "annotationsKey": "annotationsValue"
    20    },
    21    "ownerReferences": [
    22      {
    23        "apiVersion": "apiVersionValue",
    24        "kind": "kindValue",
    25        "name": "nameValue",
    26        "uid": "uidValue",
    27        "controller": true,
    28        "blockOwnerDeletion": true
    29      }
    30    ],
    31    "finalizers": [
    32      "finalizersValue"
    33    ],
    34    "managedFields": [
    35      {
    36        "manager": "managerValue",
    37        "operation": "operationValue",
    38        "apiVersion": "apiVersionValue",
    39        "time": "2004-01-01T01:01:01Z",
    40        "fieldsType": "fieldsTypeValue",
    41        "fieldsV1": {},
    42        "subresource": "subresourceValue"
    43      }
    44    ]
    45  },
    46  "spec": {
    47    "ports": [
    48      {
    49        "name": "nameValue",
    50        "protocol": "protocolValue",
    51        "appProtocol": "appProtocolValue",
    52        "port": 3,
    53        "targetPort": "targetPortValue",
    54        "nodePort": 5
    55      }
    56    ],
    57    "selector": {
    58      "selectorKey": "selectorValue"
    59    },
    60    "clusterIP": "clusterIPValue",
    61    "clusterIPs": [
    62      "clusterIPsValue"
    63    ],
    64    "type": "typeValue",
    65    "externalIPs": [
    66      "externalIPsValue"
    67    ],
    68    "sessionAffinity": "sessionAffinityValue",
    69    "loadBalancerIP": "loadBalancerIPValue",
    70    "loadBalancerSourceRanges": [
    71      "loadBalancerSourceRangesValue"
    72    ],
    73    "externalName": "externalNameValue",
    74    "externalTrafficPolicy": "externalTrafficPolicyValue",
    75    "healthCheckNodePort": 12,
    76    "publishNotReadyAddresses": true,
    77    "sessionAffinityConfig": {
    78      "clientIP": {
    79        "timeoutSeconds": 1
    80      }
    81    },
    82    "ipFamilies": [
    83      "ipFamiliesValue"
    84    ],
    85    "ipFamilyPolicy": "ipFamilyPolicyValue",
    86    "allocateLoadBalancerNodePorts": true,
    87    "loadBalancerClass": "loadBalancerClassValue",
    88    "internalTrafficPolicy": "internalTrafficPolicyValue",
    89    "trafficDistribution": "trafficDistributionValue"
    90  },
    91  "status": {
    92    "loadBalancer": {
    93      "ingress": [
    94        {
    95          "ip": "ipValue",
    96          "hostname": "hostnameValue",
    97          "ipMode": "ipModeValue",
    98          "ports": [
    99            {
   100              "port": 1,
   101              "protocol": "protocolValue",
   102              "error": "errorValue"
   103            }
   104          ]
   105        }
   106      ]
   107    },
   108    "conditions": [
   109      {
   110        "type": "typeValue",
   111        "status": "statusValue",
   112        "observedGeneration": 3,
   113        "lastTransitionTime": "2004-01-01T01:01:01Z",
   114        "reason": "reasonValue",
   115        "message": "messageValue"
   116      }
   117    ]
   118  }
   119}

View as plain text