...

Text file src/github.com/datawire/ambassador/v2/scripts/devloop-helpers/snapshots/consul-1.yaml

Documentation: github.com/datawire/ambassador/v2/scripts/devloop-helpers/snapshots

     1{
     2    "Consul": {
     3        "Endpoints": {
     4            "bar": {
     5                "Service": "bar",
     6                "Endpoints": []
     7            }
     8        }
     9    },
    10    "Kubernetes": {
    11        "configmap": [
    12            {
    13                "apiVersion": "v1",
    14                "data": {
    15                    "consulAddress": "consul:8500",
    16                    "datacenter": "dc1",
    17                    "service": "bar"
    18                },
    19                "kind": "ConfigMap",
    20                "metadata": {
    21                    "annotations": {
    22                        "getambassador.io/consul-resolver": "true",
    23                        "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"data\":{\"consulAddress\":\"consul:8500\",\"datacenter\":\"dc1\",\"service\":\"bar\"},\"kind\":\"ConfigMap\",\"metadata\":{\"annotations\":{\"getambassador.io/consul-resolver\":\"true\"},\"name\":\"foo\",\"namespace\":\"default\"}}\n"
    24                    },
    25                    "creationTimestamp": "2019-03-28T20:37:18Z",
    26                    "name": "foo",
    27                    "namespace": "default",
    28                    "resourceVersion": "7177",
    29                    "selfLink": "/api/v1/namespaces/default/configmaps/foo",
    30                    "uid": "47a601ef-5199-11e9-9cbc-08002759cde2"
    31                }
    32            },
    33            {
    34                "apiVersion": "v1",
    35                "data": {
    36                    "jws-kubeconfig-7gc236": "eyJhbGciOiJIUzI1NiIsImtpZCI6IjdnYzIzNiJ9..jCaWZpeleqAdz8W6djEqbYiVjzmb_bLnO3WgSdkNIis",
    37                    "kubeconfig": "apiVersion: v1\nclusters:\n- cluster:\n    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM1ekNDQWMrZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwdGFXNXAKYTNWaVpVTkJNQjRYRFRFNU1ETXlOekU0TVRJME9Wb1hEVEk1TURNeU5URTRNVEkwT1Zvd0ZURVRNQkVHQTFVRQpBeE1LYldsdWFXdDFZbVZEUVRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBT01yCkNpZ25CUkU3NzlkOXhuS0ozV0VNblZWdXlDdElhZmJObmZYMzdJRlZvdUNaWnJGSXhUYUgwNDBqaFZjekNWYWcKMnJmM2s5WXFJN0lxZ0Z1WGtYRkZ4T1p1Y3V3QldMZ1ZzYUlXYkNqMUxsTXF4RHYwUFo2SGJEaEtKR00wQXh6aQpvNURJbVZoVVBnc0xId3RPcWYvREpNTlN6MGxwOGxXc2J5WEZlTWFsWHFMZ2lxbWUvRWpzTVRUZTV4L3AyM2VvCmRWeWZhcmM3aGh3Yko5WXlwUkQ3VG5MSkRNazh1Z2NmTFUvbU1RNTByYjkyL2psaFpQMk04cUQ3OEFBQjg5dVIKRHQ0TU5EcVNBYVpsNmNBWjNrZUlaQ29iejYzY2NGRXhXWXJiT2VlSXlFREhyVWdEKzFuN0puS1dEcTFaUm9mQQpBeVhZMi9lUDIwdVVXak9KYmdrQ0F3RUFBYU5DTUVBd0RnWURWUjBQQVFIL0JBUURBZ0trTUIwR0ExVWRKUVFXCk1CUUdDQ3NHQVFVRkJ3TUNCZ2dyQmdFRkJRY0RBVEFQQmdOVkhSTUJBZjhFQlRBREFRSC9NQTBHQ1NxR1NJYjMKRFFFQkN3VUFBNElCQVFBNUltUXI0dzFpQ2ZYRFBMOTBLMUZsVllDOUY2NDMvd2NxM1J2aUlhYVZtdTIydkZVRApsTXBaQzNRVkxqeTdNY3RONmJab3hxK2xPY0o2anFCRE5yWG1OU1o2cGlaeFB6Slg0RWZneXJVd200cytLNTJzClZ3QjhTVlJuWFJ1clB1eWduMGFkTGxCNGo4TEl2azR3ZkRxZ3B0VnBZNTVLazVkWVFaMjk2YTlOdlk0L2ZHMEQKb25sOWU3RUw3UEtqQjcyUzJCb0hZSy9Wd0twbW9zb05wajZsak0zSk5rdGQ3enBsTnBxb2VzL254L0NRNVgySwpJbmk0OWhWci92Sjc2NzFpT2NsUVRnNHdyMWdjUFRnS2RGTDZ3bmdRbjF0a2xVUjVCWTVzNGNvamdhb1paQ01iCkh0OFpkT3dKemtXT29mQ25ZRzNJUUx3eGxLN3ppVzNPWHl6cAotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==\n    server: https://localhost:8443\n  name: \"\"\ncontexts: []\ncurrent-context: \"\"\nkind: Config\npreferences: {}\nusers: []\n"
    38                },
    39                "kind": "ConfigMap",
    40                "metadata": {
    41                    "creationTimestamp": "2019-03-28T19:08:52Z",
    42                    "name": "cluster-info",
    43                    "namespace": "kube-public",
    44                    "resourceVersion": "296",
    45                    "selfLink": "/api/v1/namespaces/kube-public/configmaps/cluster-info",
    46                    "uid": "ed2e16ee-518c-11e9-9cbc-08002759cde2"
    47                }
    48            },
    49            {
    50                "apiVersion": "v1",
    51                "data": {
    52                    "Corefile": ".:53 {\n    errors\n    health\n    kubernetes cluster.local in-addr.arpa ip6.arpa {\n       pods insecure\n       upstream\n       fallthrough in-addr.arpa ip6.arpa\n    }\n    prometheus :9153\n    forward . /etc/resolv.conf\n    cache 30\n    loop\n    reload\n    loadbalance\n}\n"
    53                },
    54                "kind": "ConfigMap",
    55                "metadata": {
    56                    "creationTimestamp": "2019-03-28T19:08:52Z",
    57                    "name": "coredns",
    58                    "namespace": "kube-system",
    59                    "resourceVersion": "195",
    60                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/coredns",
    61                    "uid": "ed3cd3b4-518c-11e9-9cbc-08002759cde2"
    62                }
    63            },
    64            {
    65                "apiVersion": "v1",
    66                "data": {
    67                    "client-ca-file": "-----BEGIN CERTIFICATE-----\nMIIC5zCCAc+gAwIBAgIBATANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwptaW5p\na3ViZUNBMB4XDTE5MDMyNzE4MTI0OVoXDTI5MDMyNTE4MTI0OVowFTETMBEGA1UE\nAxMKbWluaWt1YmVDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOMr\nCignBRE779d9xnKJ3WEMnVVuyCtIafbNnfX37IFVouCZZrFIxTaH040jhVczCVag\n2rf3k9YqI7IqgFuXkXFFxOZucuwBWLgVsaIWbCj1LlMqxDv0PZ6HbDhKJGM0Axzi\no5DImVhUPgsLHwtOqf/DJMNSz0lp8lWsbyXFeMalXqLgiqme/EjsMTTe5x/p23eo\ndVyfarc7hhwbJ9YypRD7TnLJDMk8ugcfLU/mMQ50rb92/jlhZP2M8qD78AAB89uR\nDt4MNDqSAaZl6cAZ3keIZCobz63ccFExWYrbOeeIyEDHrUgD+1n7JnKWDq1ZRofA\nAyXY2/eP20uUWjOJbgkCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgKkMB0GA1UdJQQW\nMBQGCCsGAQUFBwMCBggrBgEFBQcDATAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3\nDQEBCwUAA4IBAQA5ImQr4w1iCfXDPL90K1FlVYC9F643/wcq3RviIaaVmu22vFUD\nlMpZC3QVLjy7MctN6bZoxq+lOcJ6jqBDNrXmNSZ6piZxPzJX4EfgyrUwm4s+K52s\nVwB8SVRnXRurPuygn0adLlB4j8LIvk4wfDqgptVpY55Kk5dYQZ296a9NvY4/fG0D\nonl9e7EL7PKjB72S2BoHYK/VwKpmosoNpj6ljM3JNktd7zplNpqoes/nx/CQ5X2K\nIni49hVr/vJ7671iOclQTg4wr1gcPTgKdFL6wngQn1tklUR5BY5s4cojgaoZZCMb\nHt8ZdOwJzkWOofCnYG3IQLwxlK7ziW3OXyzp\n-----END CERTIFICATE-----\n",
    68                    "requestheader-allowed-names": "[\"front-proxy-client\"]",
    69                    "requestheader-client-ca-file": "-----BEGIN CERTIFICATE-----\nMIIC0DCCAbigAwIBAgIBADANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDEw5mcm9u\ndC1wcm94eS1jYTAeFw0xOTAzMjgxOTA4MjFaFw0yOTAzMjUxOTA4MjFaMBkxFzAV\nBgNVBAMTDmZyb250LXByb3h5LWNhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEA2jIuxYHdpaoJf8J3PLr00jXx5UusAdw7kDu50ayS20RDFVlf68PPpgbs\nr48t4DgfUv/87T6zFYZtJM8bfpDsT3ZzaH11IqaeFZ6bBnSe9kpxpbkTVcKAaIF0\ncg57+b7cyiZqgIjcj3OdIgKYOnJUzwTRuLHuDjJQBGsTFsQoaJ/xSrSN55XEhvgV\nawVqSi9nLz1cz87El/Ki9U/GQKNEz+lO6W88uigP0peP+0DnzfirSZB0Nz/8zMEB\njmlXZ1fJ1XEmbK3jhkli0az0djz7lgEhMARASHpVCQmGYn5Pv41uzil25H9oS8om\nv756dPxBHFBoSg1hUlFKlQ/E3byHRwIDAQABoyMwITAOBgNVHQ8BAf8EBAMCAqQw\nDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAXQeyQ2nHj1cBiOQF\nI3SeuMzMI9McM34TPoLz32k9sQheoGnzRPVNwQLmQkdcT09q52Y0kHm8glr/DA14\nm2Ob2EsyA1/FrBPIma732AFMyNaLYimmRoildQLMWOVbyPW/JJaq7TixpxC7Icwm\nzc/HuCXb3K8MQZejSo6hHxAirJgN6ulViF7+oWE+vx/bMJVLrwXRZd91pJlsYAyS\n+wDSloggW8P5pkxNtMlwYtHpsIfgOkUr8v+X61FkmCJu0cq2hA1dz72moWvNqY1v\nOlDRTeCul1qumCawvC7bC8x7dzQj2wu1m/pmDNXiNA1IDqnnuFCA4rYlwY8supBL\nVYuCKQ==\n-----END CERTIFICATE-----\n",
    70                    "requestheader-extra-headers-prefix": "[\"X-Remote-Extra-\"]",
    71                    "requestheader-group-headers": "[\"X-Remote-Group\"]",
    72                    "requestheader-username-headers": "[\"X-Remote-User\"]"
    73                },
    74                "kind": "ConfigMap",
    75                "metadata": {
    76                    "creationTimestamp": "2019-03-28T19:08:48Z",
    77                    "name": "extension-apiserver-authentication",
    78                    "namespace": "kube-system",
    79                    "resourceVersion": "38",
    80                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/extension-apiserver-authentication",
    81                    "uid": "ea91891f-518c-11e9-9cbc-08002759cde2"
    82                }
    83            },
    84            {
    85                "apiVersion": "v1",
    86                "data": {
    87                    "config.conf": "apiVersion: kubeproxy.config.k8s.io/v1alpha1\nbindAddress: 0.0.0.0\nclientConnection:\n  acceptContentTypes: \"\"\n  burst: 10\n  contentType: application/vnd.kubernetes.protobuf\n  kubeconfig: /var/lib/kube-proxy/kubeconfig.conf\n  qps: 5\nclusterCIDR: \"\"\nconfigSyncPeriod: 15m0s\nconntrack:\n  max: null\n  maxPerCore: 32768\n  min: 131072\n  tcpCloseWaitTimeout: 1h0m0s\n  tcpEstablishedTimeout: 24h0m0s\nenableProfiling: false\nhealthzBindAddress: 0.0.0.0:10256\nhostnameOverride: \"\"\niptables:\n  masqueradeAll: false\n  masqueradeBit: 14\n  minSyncPeriod: 0s\n  syncPeriod: 30s\nipvs:\n  excludeCIDRs: null\n  minSyncPeriod: 0s\n  scheduler: \"\"\n  syncPeriod: 30s\nkind: KubeProxyConfiguration\nmetricsBindAddress: 127.0.0.1:10249\nmode: \"\"\nnodePortAddresses: null\noomScoreAdj: -999\nportRange: \"\"\nresourceContainer: /kube-proxy\nudpIdleTimeout: 250ms\nwinkernel:\n  enableDSR: false\n  networkName: \"\"\n  sourceVip: \"\"",
    88                    "kubeconfig.conf": "apiVersion: v1\nkind: Config\nclusters:\n- cluster:\n    certificate-authority: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt\n    server: https://localhost:8443\n  name: default\ncontexts:\n- context:\n    cluster: default\n    namespace: default\n    user: default\n  name: default\ncurrent-context: default\nusers:\n- name: default\n  user:\n    tokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token"
    89                },
    90                "kind": "ConfigMap",
    91                "metadata": {
    92                    "creationTimestamp": "2019-03-28T19:08:53Z",
    93                    "labels": {
    94                        "app": "kube-proxy"
    95                    },
    96                    "name": "kube-proxy",
    97                    "namespace": "kube-system",
    98                    "resourceVersion": "205",
    99                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/kube-proxy",
   100                    "uid": "ed652cab-518c-11e9-9cbc-08002759cde2"
   101                }
   102            },
   103            {
   104                "apiVersion": "v1",
   105                "data": {
   106                    "ClusterConfiguration": "apiServer:\n  extraArgs:\n    authorization-mode: Node,RBAC\n    enable-admission-plugins: NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota\n  timeoutForControlPlane: 4m0s\napiVersion: kubeadm.k8s.io/v1beta1\ncertificatesDir: /var/lib/minikube/certs/\nclusterName: kubernetes\ncontrolPlaneEndpoint: localhost:8443\ncontrollerManager: {}\ndns:\n  type: CoreDNS\netcd:\n  local:\n    dataDir: /data/minikube\nimageRepository: k8s.gcr.io\nkind: ClusterConfiguration\nkubernetesVersion: v1.14.0\nnetworking:\n  dnsDomain: cluster.local\n  podSubnet: \"\"\n  serviceSubnet: 10.96.0.0/12\nscheduler: {}\n",
   107                    "ClusterStatus": "apiEndpoints:\n  minikube:\n    advertiseAddress: 192.168.99.101\n    bindPort: 8443\napiVersion: kubeadm.k8s.io/v1beta1\nkind: ClusterStatus\n"
   108                },
   109                "kind": "ConfigMap",
   110                "metadata": {
   111                    "creationTimestamp": "2019-03-28T19:08:51Z",
   112                    "name": "kubeadm-config",
   113                    "namespace": "kube-system",
   114                    "resourceVersion": "152",
   115                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/kubeadm-config",
   116                    "uid": "ec659b28-518c-11e9-9cbc-08002759cde2"
   117                }
   118            },
   119            {
   120                "apiVersion": "v1",
   121                "data": {
   122                    "kubelet": "address: 0.0.0.0\napiVersion: kubelet.config.k8s.io/v1beta1\nauthentication:\n  anonymous:\n    enabled: false\n  webhook:\n    cacheTTL: 2m0s\n    enabled: true\n  x509:\n    clientCAFile: /etc/kubernetes/pki/ca.crt\nauthorization:\n  mode: Webhook\n  webhook:\n    cacheAuthorizedTTL: 5m0s\n    cacheUnauthorizedTTL: 30s\ncgroupDriver: cgroupfs\ncgroupsPerQOS: true\nclusterDNS:\n- 10.96.0.10\nclusterDomain: cluster.local\nconfigMapAndSecretChangeDetectionStrategy: Watch\ncontainerLogMaxFiles: 5\ncontainerLogMaxSize: 10Mi\ncontentType: application/vnd.kubernetes.protobuf\ncpuCFSQuota: true\ncpuCFSQuotaPeriod: 100ms\ncpuManagerPolicy: none\ncpuManagerReconcilePeriod: 10s\nenableControllerAttachDetach: true\nenableDebuggingHandlers: true\nenforceNodeAllocatable:\n- pods\neventBurst: 10\neventRecordQPS: 5\nevictionHard:\n  imagefs.available: 0%\n  nodefs.available: 0%\n  nodefs.inodesFree: 0%\nevictionPressureTransitionPeriod: 5m0s\nfailSwapOn: true\nfileCheckFrequency: 20s\nhairpinMode: promiscuous-bridge\nhealthzBindAddress: 127.0.0.1\nhealthzPort: 10248\nhttpCheckFrequency: 20s\nimageGCHighThresholdPercent: 100\nimageGCLowThresholdPercent: 80\nimageMinimumGCAge: 2m0s\niptablesDropBit: 15\niptablesMasqueradeBit: 14\nkind: KubeletConfiguration\nkubeAPIBurst: 10\nkubeAPIQPS: 5\nmakeIPTablesUtilChains: true\nmaxOpenFiles: 1000000\nmaxPods: 110\nnodeLeaseDurationSeconds: 40\nnodeStatusReportFrequency: 1m0s\nnodeStatusUpdateFrequency: 10s\noomScoreAdj: -999\npodPidsLimit: -1\nport: 10250\nregistryBurst: 10\nregistryPullQPS: 5\nresolvConf: /etc/resolv.conf\nrotateCertificates: true\nruntimeRequestTimeout: 2m0s\nserializeImagePulls: true\nstaticPodPath: /etc/kubernetes/manifests\nstreamingConnectionIdleTimeout: 4h0m0s\nsyncFrequency: 1m0s\nvolumeStatsAggPeriod: 1m0s\n"
   123                },
   124                "kind": "ConfigMap",
   125                "metadata": {
   126                    "creationTimestamp": "2019-03-28T19:08:51Z",
   127                    "name": "kubelet-config-1.14",
   128                    "namespace": "kube-system",
   129                    "resourceVersion": "155",
   130                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/kubelet-config-1.14",
   131                    "uid": "ec6ad0d8-518c-11e9-9cbc-08002759cde2"
   132                }
   133            }
   134        ],
   135        "consulresolver": [
   136            {
   137                "apiVersion": "v1",
   138                "data": {
   139                    "consulAddress": "consul:8500",
   140                    "datacenter": "dc1",
   141                    "service": "bar"
   142                },
   143                "kind": "ConfigMap",
   144                "metadata": {
   145                    "annotations": {
   146                        "getambassador.io/consul-resolver": "true",
   147                        "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"data\":{\"consulAddress\":\"consul:8500\",\"datacenter\":\"dc1\",\"service\":\"bar\"},\"kind\":\"ConfigMap\",\"metadata\":{\"annotations\":{\"getambassador.io/consul-resolver\":\"true\"},\"name\":\"foo\",\"namespace\":\"default\"}}\n"
   148                    },
   149                    "creationTimestamp": "2019-03-28T20:37:18Z",
   150                    "name": "foo",
   151                    "namespace": "default",
   152                    "resourceVersion": "7177",
   153                    "selfLink": "/api/v1/namespaces/default/configmaps/foo",
   154                    "uid": "47a601ef-5199-11e9-9cbc-08002759cde2"
   155                }
   156            }
   157        ],
   158        "endpoints": [
   159            {
   160                "apiVersion": "v1",
   161                "kind": "Endpoints",
   162                "metadata": {
   163                    "annotations": {
   164                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T19:40:47Z"
   165                    },
   166                    "creationTimestamp": "2019-03-28T19:40:34Z",
   167                    "name": "consul",
   168                    "namespace": "default",
   169                    "resourceVersion": "2859",
   170                    "selfLink": "/api/v1/namespaces/default/endpoints/consul",
   171                    "uid": "5a62b585-5191-11e9-9cbc-08002759cde2"
   172                },
   173                "subsets": [
   174                    {
   175                        "addresses": [
   176                            {
   177                                "ip": "172.17.0.5",
   178                                "nodeName": "minikube",
   179                                "targetRef": {
   180                                    "kind": "Pod",
   181                                    "name": "consul",
   182                                    "namespace": "default",
   183                                    "resourceVersion": "2858",
   184                                    "uid": "5a6880a1-5191-11e9-9cbc-08002759cde2"
   185                                }
   186                            }
   187                        ],
   188                        "ports": [
   189                            {
   190                                "name": "consul",
   191                                "port": 8500,
   192                                "protocol": "TCP"
   193                            }
   194                        ]
   195                    }
   196                ]
   197            },
   198            {
   199                "apiVersion": "v1",
   200                "kind": "Endpoints",
   201                "metadata": {
   202                    "creationTimestamp": "2019-03-28T19:08:51Z",
   203                    "name": "kubernetes",
   204                    "namespace": "default",
   205                    "resourceVersion": "151",
   206                    "selfLink": "/api/v1/namespaces/default/endpoints/kubernetes",
   207                    "uid": "ec2e3bbd-518c-11e9-9cbc-08002759cde2"
   208                },
   209                "subsets": [
   210                    {
   211                        "addresses": [
   212                            {
   213                                "ip": "192.168.99.101"
   214                            }
   215                        ],
   216                        "ports": [
   217                            {
   218                                "name": "https",
   219                                "port": 8443,
   220                                "protocol": "TCP"
   221                            }
   222                        ]
   223                    }
   224                ]
   225            },
   226            {
   227                "apiVersion": "v1",
   228                "kind": "Endpoints",
   229                "metadata": {
   230                    "annotations": {
   231                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T20:34:28Z"
   232                    },
   233                    "creationTimestamp": "2019-03-28T20:07:48Z",
   234                    "name": "qotm",
   235                    "namespace": "default",
   236                    "resourceVersion": "6966",
   237                    "selfLink": "/api/v1/namespaces/default/endpoints/qotm",
   238                    "uid": "2881fd32-5195-11e9-9cbc-08002759cde2"
   239                },
   240                "subsets": [
   241                    {
   242                        "addresses": [
   243                            {
   244                                "ip": "172.17.0.6",
   245                                "nodeName": "minikube",
   246                                "targetRef": {
   247                                    "kind": "Pod",
   248                                    "name": "qotm-5b47d798c-f6pxn",
   249                                    "namespace": "default",
   250                                    "resourceVersion": "4986",
   251                                    "uid": "28bd22fd-5195-11e9-9cbc-08002759cde2"
   252                                }
   253                            },
   254                            {
   255                                "ip": "172.17.0.7",
   256                                "nodeName": "minikube",
   257                                "targetRef": {
   258                                    "kind": "Pod",
   259                                    "name": "qotm-5b47d798c-779px",
   260                                    "namespace": "default",
   261                                    "resourceVersion": "6960",
   262                                    "uid": "e0b7c0c2-5198-11e9-9cbc-08002759cde2"
   263                                }
   264                            },
   265                            {
   266                                "ip": "172.17.0.8",
   267                                "nodeName": "minikube",
   268                                "targetRef": {
   269                                    "kind": "Pod",
   270                                    "name": "qotm-5b47d798c-5jw5g",
   271                                    "namespace": "default",
   272                                    "resourceVersion": "6964",
   273                                    "uid": "e0ab77d5-5198-11e9-9cbc-08002759cde2"
   274                                }
   275                            }
   276                        ],
   277                        "ports": [
   278                            {
   279                                "port": 5000,
   280                                "protocol": "TCP"
   281                            }
   282                        ]
   283                    }
   284                ]
   285            },
   286            {
   287                "apiVersion": "v1",
   288                "kind": "Endpoints",
   289                "metadata": {
   290                    "annotations": {
   291                        "control-plane.alpha.kubernetes.io/leader": "{\"holderIdentity\":\"minikube_e5f1f616-518c-11e9-bc4b-08002759cde2\",\"leaseDurationSeconds\":15,\"acquireTime\":\"2019-03-28T19:08:51Z\",\"renewTime\":\"2019-03-28T21:08:57Z\",\"leaderTransitions\":0}"
   292                    },
   293                    "creationTimestamp": "2019-03-28T19:08:51Z",
   294                    "name": "kube-controller-manager",
   295                    "namespace": "kube-system",
   296                    "resourceVersion": "9507",
   297                    "selfLink": "/api/v1/namespaces/kube-system/endpoints/kube-controller-manager",
   298                    "uid": "eca25125-518c-11e9-9cbc-08002759cde2"
   299                }
   300            },
   301            {
   302                "apiVersion": "v1",
   303                "kind": "Endpoints",
   304                "metadata": {
   305                    "annotations": {
   306                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T19:09:42Z"
   307                    },
   308                    "creationTimestamp": "2019-03-28T19:08:58Z",
   309                    "labels": {
   310                        "k8s-app": "kube-dns",
   311                        "kubernetes.io/cluster-service": "true",
   312                        "kubernetes.io/name": "KubeDNS"
   313                    },
   314                    "name": "kube-dns",
   315                    "namespace": "kube-system",
   316                    "resourceVersion": "468",
   317                    "selfLink": "/api/v1/namespaces/kube-system/endpoints/kube-dns",
   318                    "uid": "f0dca66c-518c-11e9-9cbc-08002759cde2"
   319                },
   320                "subsets": [
   321                    {
   322                        "addresses": [
   323                            {
   324                                "ip": "172.17.0.2",
   325                                "nodeName": "minikube",
   326                                "targetRef": {
   327                                    "kind": "Pod",
   328                                    "name": "coredns-fb8b8dccf-5gjhl",
   329                                    "namespace": "kube-system",
   330                                    "resourceVersion": "466",
   331                                    "uid": "f0f4fac9-518c-11e9-9cbc-08002759cde2"
   332                                }
   333                            },
   334                            {
   335                                "ip": "172.17.0.3",
   336                                "nodeName": "minikube",
   337                                "targetRef": {
   338                                    "kind": "Pod",
   339                                    "name": "coredns-fb8b8dccf-b2xln",
   340                                    "namespace": "kube-system",
   341                                    "resourceVersion": "455",
   342                                    "uid": "f0fcada2-518c-11e9-9cbc-08002759cde2"
   343                                }
   344                            }
   345                        ],
   346                        "ports": [
   347                            {
   348                                "name": "dns",
   349                                "port": 53,
   350                                "protocol": "UDP"
   351                            },
   352                            {
   353                                "name": "dns-tcp",
   354                                "port": 53,
   355                                "protocol": "TCP"
   356                            },
   357                            {
   358                                "name": "metrics",
   359                                "port": 9153,
   360                                "protocol": "TCP"
   361                            }
   362                        ]
   363                    }
   364                ]
   365            },
   366            {
   367                "apiVersion": "v1",
   368                "kind": "Endpoints",
   369                "metadata": {
   370                    "annotations": {
   371                        "control-plane.alpha.kubernetes.io/leader": "{\"holderIdentity\":\"minikube_e4f83e80-518c-11e9-abdf-08002759cde2\",\"leaseDurationSeconds\":15,\"acquireTime\":\"2019-03-28T19:08:51Z\",\"renewTime\":\"2019-03-28T21:08:58Z\",\"leaderTransitions\":0}"
   372                    },
   373                    "creationTimestamp": "2019-03-28T19:08:51Z",
   374                    "name": "kube-scheduler",
   375                    "namespace": "kube-system",
   376                    "resourceVersion": "9508",
   377                    "selfLink": "/api/v1/namespaces/kube-system/endpoints/kube-scheduler",
   378                    "uid": "ec9596ec-518c-11e9-9cbc-08002759cde2"
   379                }
   380            },
   381            {
   382                "apiVersion": "v1",
   383                "kind": "Endpoints",
   384                "metadata": {
   385                    "annotations": {
   386                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T21:08:14Z"
   387                    },
   388                    "creationTimestamp": "2019-03-28T19:33:51Z",
   389                    "name": "ambassador",
   390                    "namespace": "default",
   391                    "resourceVersion": "9453",
   392                    "selfLink": "/api/v1/namespaces/default/endpoints/ambassador",
   393                    "uid": "6a7d9926-5190-11e9-9cbc-08002759cde2"
   394                },
   395                "subsets": [
   396                    {
   397                        "addresses": [
   398                            {
   399                                "ip": "172.17.0.4",
   400                                "nodeName": "minikube",
   401                                "targetRef": {
   402                                    "kind": "Pod",
   403                                    "name": "ambassador",
   404                                    "namespace": "default",
   405                                    "resourceVersion": "9451",
   406                                    "uid": "5056587d-519d-11e9-9cbc-08002759cde2"
   407                                }
   408                            }
   409                        ],
   410                        "ports": [
   411                            {
   412                                "name": "http",
   413                                "port": 80,
   414                                "protocol": "TCP"
   415                            },
   416                            {
   417                                "name": "https",
   418                                "port": 443,
   419                                "protocol": "TCP"
   420                            }
   421                        ]
   422                    }
   423                ]
   424            },
   425            {
   426                "apiVersion": "v1",
   427                "kind": "Endpoints",
   428                "metadata": {
   429                    "annotations": {
   430                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T21:08:14Z"
   431                    },
   432                    "creationTimestamp": "2019-03-28T19:33:51Z",
   433                    "labels": {
   434                        "service": "ambassador-admin"
   435                    },
   436                    "name": "ambassador-admin",
   437                    "namespace": "default",
   438                    "resourceVersion": "9452",
   439                    "selfLink": "/api/v1/namespaces/default/endpoints/ambassador-admin",
   440                    "uid": "6a94b70f-5190-11e9-9cbc-08002759cde2"
   441                },
   442                "subsets": [
   443                    {
   444                        "addresses": [
   445                            {
   446                                "ip": "172.17.0.4",
   447                                "nodeName": "minikube",
   448                                "targetRef": {
   449                                    "kind": "Pod",
   450                                    "name": "ambassador",
   451                                    "namespace": "default",
   452                                    "resourceVersion": "9451",
   453                                    "uid": "5056587d-519d-11e9-9cbc-08002759cde2"
   454                                }
   455                            }
   456                        ],
   457                        "ports": [
   458                            {
   459                                "name": "ambassador-admin",
   460                                "port": 8877,
   461                                "protocol": "TCP"
   462                            }
   463                        ]
   464                    }
   465                ]
   466            }
   467        ],
   468        "service": [
   469            {
   470                "apiVersion": "v1",
   471                "kind": "Service",
   472                "metadata": {
   473                    "creationTimestamp": "2019-03-28T19:08:51Z",
   474                    "labels": {
   475                        "component": "apiserver",
   476                        "provider": "kubernetes"
   477                    },
   478                    "name": "kubernetes",
   479                    "namespace": "default",
   480                    "resourceVersion": "149",
   481                    "selfLink": "/api/v1/namespaces/default/services/kubernetes",
   482                    "uid": "ec29dbf1-518c-11e9-9cbc-08002759cde2"
   483                },
   484                "spec": {
   485                    "clusterIP": "10.96.0.1",
   486                    "ports": [
   487                        {
   488                            "name": "https",
   489                            "port": 443,
   490                            "protocol": "TCP",
   491                            "targetPort": 8443
   492                        }
   493                    ],
   494                    "sessionAffinity": "None",
   495                    "type": "ClusterIP"
   496                },
   497                "status": {
   498                    "loadBalancer": {}
   499                }
   500            },
   501            {
   502                "apiVersion": "v1",
   503                "kind": "Service",
   504                "metadata": {
   505                    "annotations": {
   506                        "getambassador.io/config": "---\napiVersion: getambassador.io/v2\nkind:  Mapping\nname:  qotm_mapping\nprefix: /qotm/\nservice: qotm\nload_balancer:\n  policy: round_robin\n",
   507                        "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{\"getambassador.io/config\":\"---\\napiVersion: getambassador.io/v2\\nkind:  Mapping\\nname:  qotm_mapping\\nprefix: /qotm/\\nservice: qotm\\nload_balancer:\\n  policy: round_robin\\n\"},\"name\":\"qotm\",\"namespace\":\"default\"},\"spec\":{\"ports\":[{\"port\":80,\"targetPort\":\"http-api\"}],\"selector\":{\"service\":\"qotm\"},\"type\":\"NodePort\"}}\n"
   508                    },
   509                    "creationTimestamp": "2019-03-28T20:07:48Z",
   510                    "name": "qotm",
   511                    "namespace": "default",
   512                    "resourceVersion": "6856",
   513                    "selfLink": "/api/v1/namespaces/default/services/qotm",
   514                    "uid": "287fa477-5195-11e9-9cbc-08002759cde2"
   515                },
   516                "spec": {
   517                    "clusterIP": "10.110.133.136",
   518                    "externalTrafficPolicy": "Cluster",
   519                    "ports": [
   520                        {
   521                            "nodePort": 30614,
   522                            "port": 80,
   523                            "protocol": "TCP",
   524                            "targetPort": "http-api"
   525                        }
   526                    ],
   527                    "selector": {
   528                        "service": "qotm"
   529                    },
   530                    "sessionAffinity": "None",
   531                    "type": "NodePort"
   532                },
   533                "status": {
   534                    "loadBalancer": {}
   535                }
   536            },
   537            {
   538                "apiVersion": "v1",
   539                "kind": "Service",
   540                "metadata": {
   541                    "annotations": {
   542                        "prometheus.io/port": "9153",
   543                        "prometheus.io/scrape": "true"
   544                    },
   545                    "creationTimestamp": "2019-03-28T19:08:53Z",
   546                    "labels": {
   547                        "k8s-app": "kube-dns",
   548                        "kubernetes.io/cluster-service": "true",
   549                        "kubernetes.io/name": "KubeDNS"
   550                    },
   551                    "name": "kube-dns",
   552                    "namespace": "kube-system",
   553                    "resourceVersion": "203",
   554                    "selfLink": "/api/v1/namespaces/kube-system/services/kube-dns",
   555                    "uid": "ed5bc00b-518c-11e9-9cbc-08002759cde2"
   556                },
   557                "spec": {
   558                    "clusterIP": "10.96.0.10",
   559                    "ports": [
   560                        {
   561                            "name": "dns",
   562                            "port": 53,
   563                            "protocol": "UDP",
   564                            "targetPort": 53
   565                        },
   566                        {
   567                            "name": "dns-tcp",
   568                            "port": 53,
   569                            "protocol": "TCP",
   570                            "targetPort": 53
   571                        },
   572                        {
   573                            "name": "metrics",
   574                            "port": 9153,
   575                            "protocol": "TCP",
   576                            "targetPort": 9153
   577                        }
   578                    ],
   579                    "selector": {
   580                        "k8s-app": "kube-dns"
   581                    },
   582                    "sessionAffinity": "None",
   583                    "type": "ClusterIP"
   584                },
   585                "status": {
   586                    "loadBalancer": {}
   587                }
   588            },
   589            {
   590                "apiVersion": "v1",
   591                "kind": "Service",
   592                "metadata": {
   593                    "annotations": {
   594                        "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"name\":\"ambassador\",\"namespace\":\"default\"},\"spec\":{\"ports\":[{\"name\":\"http\",\"port\":80,\"protocol\":\"TCP\",\"targetPort\":80},{\"name\":\"https\",\"port\":443,\"protocol\":\"TCP\",\"targetPort\":443}],\"selector\":{\"service\":\"ambassador\"},\"type\":\"NodePort\"}}\n"
   595                    },
   596                    "creationTimestamp": "2019-03-28T19:33:51Z",
   597                    "name": "ambassador",
   598                    "namespace": "default",
   599                    "resourceVersion": "2239",
   600                    "selfLink": "/api/v1/namespaces/default/services/ambassador",
   601                    "uid": "6a7afbf7-5190-11e9-9cbc-08002759cde2"
   602                },
   603                "spec": {
   604                    "clusterIP": "10.96.198.150",
   605                    "externalTrafficPolicy": "Cluster",
   606                    "ports": [
   607                        {
   608                            "name": "http",
   609                            "nodePort": 32081,
   610                            "port": 80,
   611                            "protocol": "TCP",
   612                            "targetPort": 80
   613                        },
   614                        {
   615                            "name": "https",
   616                            "nodePort": 30922,
   617                            "port": 443,
   618                            "protocol": "TCP",
   619                            "targetPort": 443
   620                        }
   621                    ],
   622                    "selector": {
   623                        "service": "ambassador"
   624                    },
   625                    "sessionAffinity": "None",
   626                    "type": "NodePort"
   627                },
   628                "status": {
   629                    "loadBalancer": {}
   630                }
   631            },
   632            {
   633                "apiVersion": "v1",
   634                "kind": "Service",
   635                "metadata": {
   636                    "annotations": {
   637                        "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"labels\":{\"service\":\"ambassador-admin\"},\"name\":\"ambassador-admin\",\"namespace\":\"default\"},\"spec\":{\"ports\":[{\"name\":\"ambassador-admin\",\"port\":8877,\"targetPort\":8877}],\"selector\":{\"service\":\"ambassador\"},\"type\":\"NodePort\"}}\n"
   638                    },
   639                    "creationTimestamp": "2019-03-28T19:33:51Z",
   640                    "labels": {
   641                        "service": "ambassador-admin"
   642                    },
   643                    "name": "ambassador-admin",
   644                    "namespace": "default",
   645                    "resourceVersion": "2244",
   646                    "selfLink": "/api/v1/namespaces/default/services/ambassador-admin",
   647                    "uid": "6a927c38-5190-11e9-9cbc-08002759cde2"
   648                },
   649                "spec": {
   650                    "clusterIP": "10.111.183.120",
   651                    "externalTrafficPolicy": "Cluster",
   652                    "ports": [
   653                        {
   654                            "name": "ambassador-admin",
   655                            "nodePort": 30565,
   656                            "port": 8877,
   657                            "protocol": "TCP",
   658                            "targetPort": 8877
   659                        }
   660                    ],
   661                    "selector": {
   662                        "service": "ambassador"
   663                    },
   664                    "sessionAffinity": "None",
   665                    "type": "NodePort"
   666                },
   667                "status": {
   668                    "loadBalancer": {}
   669                }
   670            },
   671            {
   672                "apiVersion": "v1",
   673                "kind": "Service",
   674                "metadata": {
   675                    "annotations": {
   676                        "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Service\",\"metadata\":{\"annotations\":{},\"name\":\"consul\",\"namespace\":\"default\"},\"spec\":{\"ports\":[{\"name\":\"consul\",\"port\":8500,\"protocol\":\"TCP\",\"targetPort\":8500}],\"selector\":{\"service\":\"consul\"},\"type\":\"NodePort\"}}\n"
   677                    },
   678                    "creationTimestamp": "2019-03-28T19:40:33Z",
   679                    "name": "consul",
   680                    "namespace": "default",
   681                    "resourceVersion": "2822",
   682                    "selfLink": "/api/v1/namespaces/default/services/consul",
   683                    "uid": "5a5d2999-5191-11e9-9cbc-08002759cde2"
   684                },
   685                "spec": {
   686                    "clusterIP": "10.102.228.230",
   687                    "externalTrafficPolicy": "Cluster",
   688                    "ports": [
   689                        {
   690                            "name": "consul",
   691                            "nodePort": 31095,
   692                            "port": 8500,
   693                            "protocol": "TCP",
   694                            "targetPort": 8500
   695                        }
   696                    ],
   697                    "selector": {
   698                        "service": "consul"
   699                    },
   700                    "sessionAffinity": "None",
   701                    "type": "NodePort"
   702                },
   703                "status": {
   704                    "loadBalancer": {}
   705                }
   706            }
   707        ]
   708    }
   709}

View as plain text