github.com/google/cloudprober@v0.11.3/rds/kubernetes/testdata/services.json (about) 1 { 2 "kind": "ServiceList", 3 "apiVersion": "v1", 4 "metadata": { 5 "selfLink": "/api/v1/namespaces/default/services", 6 "resourceVersion": "83573322" 7 }, 8 "items": [ 9 { 10 "metadata": { 11 "name": "cloudprober", 12 "namespace": "default", 13 "selfLink": "/api/v1/namespaces/default/services/cloudprober", 14 "uid": "4da3b97f-d753-11e8-ade0-42010a8a00bc", 15 "resourceVersion": "8911317", 16 "creationTimestamp": "2018-10-24T06:09:01Z", 17 "labels": { 18 "app": "cloudprober" 19 }, 20 "annotations": { 21 "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"labels\":{\"app\":\"cloudprober\"},\"name\":\"cloudprober\",\"namespace\":\"default\"},\"spec\":{\"ports\":[{\"port\":9313,\"protocol\":\"TCP\",\"targetPort\":9313}],\"selector\":{\"app\":\"cloudprober\"},\"type\":\"NodePort\"}}\n" 22 } 23 }, 24 "spec": { 25 "ports": [ 26 { 27 "protocol": "TCP", 28 "port": 9313, 29 "targetPort": 9313, 30 "nodePort": 30875 31 } 32 ], 33 "selector": { 34 "app": "cloudprober" 35 }, 36 "clusterIP": "10.31.252.209", 37 "type": "NodePort", 38 "sessionAffinity": "None", 39 "externalTrafficPolicy": "Cluster" 40 }, 41 "status": { 42 "loadBalancer": { 43 44 } 45 } 46 }, 47 { 48 "metadata": { 49 "name": "cloudprober-rds", 50 "namespace": "default", 51 "resourceVersion": "2698123", 52 "selfLink": "/api/v1/namespaces/default/services/cloudprober-rds", 53 "uid": "xxxxxxx-25b6-11ea-9c29-42010a8000ca", 54 "creationTimestamp": "2019-12-23T18:58:31Z", 55 "labels": { 56 "app": "cloudprober" 57 }, 58 "annotations": { 59 "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"name\":\"cloudprober-rds\",\"namespace\":\"default\"},\"spec\":{\"ports\":[{\"name\":\"grpc\",\"port\":9314,\"protocol\":\"TCP\",\"targetPort\":443},{\"name\":\"http\",\"port\":9313,\"protocol\":\"TCP\",\"targetPort\":9313}],\"selector\":{\"app\":\"rds\"},\"type\":\"LoadBalancer\"}}\n" 60 } 61 }, 62 "spec": { 63 "clusterIP": "10.96.15.88", 64 "externalTrafficPolicy": "Cluster", 65 "ports": [ 66 { 67 "name": "grpc", 68 "nodePort": 30177, 69 "port": 9314, 70 "protocol": "TCP", 71 "targetPort": 443 72 }, 73 { 74 "name": "http", 75 "nodePort": 31392, 76 "port": 9313, 77 "protocol": "TCP", 78 "targetPort": 9313 79 } 80 ], 81 "selector": { 82 "app": "rds" 83 }, 84 "sessionAffinity": "None", 85 "type": "LoadBalancer" 86 }, 87 "status": { 88 "loadBalancer": { 89 "ingress": [ 90 { 91 "ip": "192.88.99.199" 92 } 93 ] 94 } 95 } 96 }, 97 { 98 "metadata": { 99 "name": "cloudprober-test", 100 "namespace": "default", 101 "selfLink": "/api/v1/namespaces/default/services/cloudprober-test", 102 "uid": "0764e880-bf94-11e9-bd13-42010a8a01bc", 103 "resourceVersion": "82929468", 104 "creationTimestamp": "2019-08-15T19:36:51Z", 105 "labels": { 106 "app": "cloudprober" 107 }, 108 "annotations": { 109 "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"labels\":{\"app\":\"cloudprober\"},\"name\":\"cloudprober-test\",\"namespace\":\"default\"},\"spec\":{\"ports\":[{\"name\":\"http\",\"port\":9313,\"protocol\":\"TCP\",\"targetPort\":9313}],\"selector\":{\"app\":\"cloudprober\"},\"type\":\"NodePort\"}}\n" 110 } 111 }, 112 "spec": { 113 "ports": [ 114 { 115 "name": "http", 116 "protocol": "TCP", 117 "port": 9313, 118 "targetPort": 9313, 119 "nodePort": 32616 120 } 121 ], 122 "selector": { 123 "app": "cloudprober" 124 }, 125 "clusterIP": "10.31.246.77", 126 "type": "NodePort", 127 "sessionAffinity": "None", 128 "externalTrafficPolicy": "Cluster" 129 }, 130 "status": { 131 "loadBalancer": { 132 133 } 134 } 135 }, 136 { 137 "metadata": { 138 "name": "kubernetes", 139 "namespace": "system", 140 "selfLink": "/api/v1/namespaces/default/services/kubernetes", 141 "uid": "ae448b87-9b4f-11e8-a95e-42010a8a0ff8", 142 "resourceVersion": "30", 143 "creationTimestamp": "2018-08-08T21:11:56Z", 144 "labels": { 145 "component": "apiserver", 146 "provider": "kubernetes" 147 } 148 }, 149 "spec": { 150 "ports": [ 151 { 152 "name": "https", 153 "protocol": "TCP", 154 "port": 443, 155 "targetPort": 443 156 } 157 ], 158 "clusterIP": "10.31.240.1", 159 "type": "ClusterIP", 160 "sessionAffinity": "ClientIP", 161 "sessionAffinityConfig": { 162 "clientIP": { 163 "timeoutSeconds": 10800 164 } 165 } 166 }, 167 "status": { 168 "loadBalancer": { 169 170 } 171 } 172 } 173 ] 174 }