...

Text file src/github.com/datawire/ambassador/v2/scripts/devloop-helpers/snapshots/consul-2.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                        "SystemID": "consul::237b49ff-a85d-2f72-26bb-9e135146cbfa",
     9                        "ID": "bar0",
    10                        "Service": "bar",
    11                        "Address": "10.10.1.0",
    12                        "Port": 9000,
    13                        "Tags": []
    14                    },
    15                    {
    16                        "SystemID": "consul::237b49ff-a85d-2f72-26bb-9e135146cbfa",
    17                        "ID": "bar1",
    18                        "Service": "bar",
    19                        "Address": "10.10.1.1",
    20                        "Port": 9000,
    21                        "Tags": []
    22                    }
    23                ]
    24            }
    25        }
    26    },
    27    "Kubernetes": {
    28        "configmap": [
    29            {
    30                "apiVersion": "v1",
    31                "data": {
    32                    "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",
    33                    "requestheader-allowed-names": "[\"front-proxy-client\"]",
    34                    "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",
    35                    "requestheader-extra-headers-prefix": "[\"X-Remote-Extra-\"]",
    36                    "requestheader-group-headers": "[\"X-Remote-Group\"]",
    37                    "requestheader-username-headers": "[\"X-Remote-User\"]"
    38                },
    39                "kind": "ConfigMap",
    40                "metadata": {
    41                    "creationTimestamp": "2019-03-28T19:08:48Z",
    42                    "name": "extension-apiserver-authentication",
    43                    "namespace": "kube-system",
    44                    "resourceVersion": "38",
    45                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/extension-apiserver-authentication",
    46                    "uid": "ea91891f-518c-11e9-9cbc-08002759cde2"
    47                }
    48            },
    49            {
    50                "apiVersion": "v1",
    51                "data": {
    52                    "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: \"\"",
    53                    "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"
    54                },
    55                "kind": "ConfigMap",
    56                "metadata": {
    57                    "creationTimestamp": "2019-03-28T19:08:53Z",
    58                    "labels": {
    59                        "app": "kube-proxy"
    60                    },
    61                    "name": "kube-proxy",
    62                    "namespace": "kube-system",
    63                    "resourceVersion": "205",
    64                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/kube-proxy",
    65                    "uid": "ed652cab-518c-11e9-9cbc-08002759cde2"
    66                }
    67            },
    68            {
    69                "apiVersion": "v1",
    70                "data": {
    71                    "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",
    72                    "ClusterStatus": "apiEndpoints:\n  minikube:\n    advertiseAddress: 192.168.99.101\n    bindPort: 8443\napiVersion: kubeadm.k8s.io/v1beta1\nkind: ClusterStatus\n"
    73                },
    74                "kind": "ConfigMap",
    75                "metadata": {
    76                    "creationTimestamp": "2019-03-28T19:08:51Z",
    77                    "name": "kubeadm-config",
    78                    "namespace": "kube-system",
    79                    "resourceVersion": "152",
    80                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/kubeadm-config",
    81                    "uid": "ec659b28-518c-11e9-9cbc-08002759cde2"
    82                }
    83            },
    84            {
    85                "apiVersion": "v1",
    86                "data": {
    87                    "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"
    88                },
    89                "kind": "ConfigMap",
    90                "metadata": {
    91                    "creationTimestamp": "2019-03-28T19:08:51Z",
    92                    "name": "kubelet-config-1.14",
    93                    "namespace": "kube-system",
    94                    "resourceVersion": "155",
    95                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/kubelet-config-1.14",
    96                    "uid": "ec6ad0d8-518c-11e9-9cbc-08002759cde2"
    97                }
    98            },
    99            {
   100                "apiVersion": "v1",
   101                "data": {
   102                    "consulAddress": "consul:8500",
   103                    "datacenter": "dc1",
   104                    "service": "bar"
   105                },
   106                "kind": "ConfigMap",
   107                "metadata": {
   108                    "annotations": {
   109                        "getambassador.io/consul-resolver": "true",
   110                        "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"
   111                    },
   112                    "creationTimestamp": "2019-03-28T20:37:18Z",
   113                    "name": "foo",
   114                    "namespace": "default",
   115                    "resourceVersion": "7177",
   116                    "selfLink": "/api/v1/namespaces/default/configmaps/foo",
   117                    "uid": "47a601ef-5199-11e9-9cbc-08002759cde2"
   118                }
   119            },
   120            {
   121                "apiVersion": "v1",
   122                "data": {
   123                    "jws-kubeconfig-7gc236": "eyJhbGciOiJIUzI1NiIsImtpZCI6IjdnYzIzNiJ9..jCaWZpeleqAdz8W6djEqbYiVjzmb_bLnO3WgSdkNIis",
   124                    "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"
   125                },
   126                "kind": "ConfigMap",
   127                "metadata": {
   128                    "creationTimestamp": "2019-03-28T19:08:52Z",
   129                    "name": "cluster-info",
   130                    "namespace": "kube-public",
   131                    "resourceVersion": "296",
   132                    "selfLink": "/api/v1/namespaces/kube-public/configmaps/cluster-info",
   133                    "uid": "ed2e16ee-518c-11e9-9cbc-08002759cde2"
   134                }
   135            },
   136            {
   137                "apiVersion": "v1",
   138                "data": {
   139                    "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"
   140                },
   141                "kind": "ConfigMap",
   142                "metadata": {
   143                    "creationTimestamp": "2019-03-28T19:08:52Z",
   144                    "name": "coredns",
   145                    "namespace": "kube-system",
   146                    "resourceVersion": "195",
   147                    "selfLink": "/api/v1/namespaces/kube-system/configmaps/coredns",
   148                    "uid": "ed3cd3b4-518c-11e9-9cbc-08002759cde2"
   149                }
   150            }
   151        ],
   152        "consulresolver": [
   153            {
   154                "apiVersion": "v1",
   155                "data": {
   156                    "consulAddress": "consul:8500",
   157                    "datacenter": "dc1",
   158                    "service": "bar"
   159                },
   160                "kind": "ConfigMap",
   161                "metadata": {
   162                    "annotations": {
   163                        "getambassador.io/consul-resolver": "true",
   164                        "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"
   165                    },
   166                    "creationTimestamp": "2019-03-28T20:37:18Z",
   167                    "name": "foo",
   168                    "namespace": "default",
   169                    "resourceVersion": "7177",
   170                    "selfLink": "/api/v1/namespaces/default/configmaps/foo",
   171                    "uid": "47a601ef-5199-11e9-9cbc-08002759cde2"
   172                }
   173            }
   174        ],
   175        "endpoints": [
   176            {
   177                "apiVersion": "v1",
   178                "kind": "Endpoints",
   179                "metadata": {
   180                    "annotations": {
   181                        "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:09:34Z\",\"leaderTransitions\":0}"
   182                    },
   183                    "creationTimestamp": "2019-03-28T19:08:51Z",
   184                    "name": "kube-scheduler",
   185                    "namespace": "kube-system",
   186                    "resourceVersion": "9553",
   187                    "selfLink": "/api/v1/namespaces/kube-system/endpoints/kube-scheduler",
   188                    "uid": "ec9596ec-518c-11e9-9cbc-08002759cde2"
   189                }
   190            },
   191            {
   192                "apiVersion": "v1",
   193                "kind": "Endpoints",
   194                "metadata": {
   195                    "annotations": {
   196                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T21:08:14Z"
   197                    },
   198                    "creationTimestamp": "2019-03-28T19:33:51Z",
   199                    "name": "ambassador",
   200                    "namespace": "default",
   201                    "resourceVersion": "9453",
   202                    "selfLink": "/api/v1/namespaces/default/endpoints/ambassador",
   203                    "uid": "6a7d9926-5190-11e9-9cbc-08002759cde2"
   204                },
   205                "subsets": [
   206                    {
   207                        "addresses": [
   208                            {
   209                                "ip": "172.17.0.4",
   210                                "nodeName": "minikube",
   211                                "targetRef": {
   212                                    "kind": "Pod",
   213                                    "name": "ambassador",
   214                                    "namespace": "default",
   215                                    "resourceVersion": "9451",
   216                                    "uid": "5056587d-519d-11e9-9cbc-08002759cde2"
   217                                }
   218                            }
   219                        ],
   220                        "ports": [
   221                            {
   222                                "name": "http",
   223                                "port": 80,
   224                                "protocol": "TCP"
   225                            },
   226                            {
   227                                "name": "https",
   228                                "port": 443,
   229                                "protocol": "TCP"
   230                            }
   231                        ]
   232                    }
   233                ]
   234            },
   235            {
   236                "apiVersion": "v1",
   237                "kind": "Endpoints",
   238                "metadata": {
   239                    "annotations": {
   240                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T21:08:14Z"
   241                    },
   242                    "creationTimestamp": "2019-03-28T19:33:51Z",
   243                    "labels": {
   244                        "service": "ambassador-admin"
   245                    },
   246                    "name": "ambassador-admin",
   247                    "namespace": "default",
   248                    "resourceVersion": "9452",
   249                    "selfLink": "/api/v1/namespaces/default/endpoints/ambassador-admin",
   250                    "uid": "6a94b70f-5190-11e9-9cbc-08002759cde2"
   251                },
   252                "subsets": [
   253                    {
   254                        "addresses": [
   255                            {
   256                                "ip": "172.17.0.4",
   257                                "nodeName": "minikube",
   258                                "targetRef": {
   259                                    "kind": "Pod",
   260                                    "name": "ambassador",
   261                                    "namespace": "default",
   262                                    "resourceVersion": "9451",
   263                                    "uid": "5056587d-519d-11e9-9cbc-08002759cde2"
   264                                }
   265                            }
   266                        ],
   267                        "ports": [
   268                            {
   269                                "name": "ambassador-admin",
   270                                "port": 8877,
   271                                "protocol": "TCP"
   272                            }
   273                        ]
   274                    }
   275                ]
   276            },
   277            {
   278                "apiVersion": "v1",
   279                "kind": "Endpoints",
   280                "metadata": {
   281                    "annotations": {
   282                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T19:40:47Z"
   283                    },
   284                    "creationTimestamp": "2019-03-28T19:40:34Z",
   285                    "name": "consul",
   286                    "namespace": "default",
   287                    "resourceVersion": "2859",
   288                    "selfLink": "/api/v1/namespaces/default/endpoints/consul",
   289                    "uid": "5a62b585-5191-11e9-9cbc-08002759cde2"
   290                },
   291                "subsets": [
   292                    {
   293                        "addresses": [
   294                            {
   295                                "ip": "172.17.0.5",
   296                                "nodeName": "minikube",
   297                                "targetRef": {
   298                                    "kind": "Pod",
   299                                    "name": "consul",
   300                                    "namespace": "default",
   301                                    "resourceVersion": "2858",
   302                                    "uid": "5a6880a1-5191-11e9-9cbc-08002759cde2"
   303                                }
   304                            }
   305                        ],
   306                        "ports": [
   307                            {
   308                                "name": "consul",
   309                                "port": 8500,
   310                                "protocol": "TCP"
   311                            }
   312                        ]
   313                    }
   314                ]
   315            },
   316            {
   317                "apiVersion": "v1",
   318                "kind": "Endpoints",
   319                "metadata": {
   320                    "creationTimestamp": "2019-03-28T19:08:51Z",
   321                    "name": "kubernetes",
   322                    "namespace": "default",
   323                    "resourceVersion": "151",
   324                    "selfLink": "/api/v1/namespaces/default/endpoints/kubernetes",
   325                    "uid": "ec2e3bbd-518c-11e9-9cbc-08002759cde2"
   326                },
   327                "subsets": [
   328                    {
   329                        "addresses": [
   330                            {
   331                                "ip": "192.168.99.101"
   332                            }
   333                        ],
   334                        "ports": [
   335                            {
   336                                "name": "https",
   337                                "port": 8443,
   338                                "protocol": "TCP"
   339                            }
   340                        ]
   341                    }
   342                ]
   343            },
   344            {
   345                "apiVersion": "v1",
   346                "kind": "Endpoints",
   347                "metadata": {
   348                    "annotations": {
   349                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T20:34:28Z"
   350                    },
   351                    "creationTimestamp": "2019-03-28T20:07:48Z",
   352                    "name": "qotm",
   353                    "namespace": "default",
   354                    "resourceVersion": "6966",
   355                    "selfLink": "/api/v1/namespaces/default/endpoints/qotm",
   356                    "uid": "2881fd32-5195-11e9-9cbc-08002759cde2"
   357                },
   358                "subsets": [
   359                    {
   360                        "addresses": [
   361                            {
   362                                "ip": "172.17.0.6",
   363                                "nodeName": "minikube",
   364                                "targetRef": {
   365                                    "kind": "Pod",
   366                                    "name": "qotm-5b47d798c-f6pxn",
   367                                    "namespace": "default",
   368                                    "resourceVersion": "4986",
   369                                    "uid": "28bd22fd-5195-11e9-9cbc-08002759cde2"
   370                                }
   371                            },
   372                            {
   373                                "ip": "172.17.0.7",
   374                                "nodeName": "minikube",
   375                                "targetRef": {
   376                                    "kind": "Pod",
   377                                    "name": "qotm-5b47d798c-779px",
   378                                    "namespace": "default",
   379                                    "resourceVersion": "6960",
   380                                    "uid": "e0b7c0c2-5198-11e9-9cbc-08002759cde2"
   381                                }
   382                            },
   383                            {
   384                                "ip": "172.17.0.8",
   385                                "nodeName": "minikube",
   386                                "targetRef": {
   387                                    "kind": "Pod",
   388                                    "name": "qotm-5b47d798c-5jw5g",
   389                                    "namespace": "default",
   390                                    "resourceVersion": "6964",
   391                                    "uid": "e0ab77d5-5198-11e9-9cbc-08002759cde2"
   392                                }
   393                            }
   394                        ],
   395                        "ports": [
   396                            {
   397                                "port": 5000,
   398                                "protocol": "TCP"
   399                            }
   400                        ]
   401                    }
   402                ]
   403            },
   404            {
   405                "apiVersion": "v1",
   406                "kind": "Endpoints",
   407                "metadata": {
   408                    "annotations": {
   409                        "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:09:34Z\",\"leaderTransitions\":0}"
   410                    },
   411                    "creationTimestamp": "2019-03-28T19:08:51Z",
   412                    "name": "kube-controller-manager",
   413                    "namespace": "kube-system",
   414                    "resourceVersion": "9552",
   415                    "selfLink": "/api/v1/namespaces/kube-system/endpoints/kube-controller-manager",
   416                    "uid": "eca25125-518c-11e9-9cbc-08002759cde2"
   417                }
   418            },
   419            {
   420                "apiVersion": "v1",
   421                "kind": "Endpoints",
   422                "metadata": {
   423                    "annotations": {
   424                        "endpoints.kubernetes.io/last-change-trigger-time": "2019-03-28T19:09:42Z"
   425                    },
   426                    "creationTimestamp": "2019-03-28T19:08:58Z",
   427                    "labels": {
   428                        "k8s-app": "kube-dns",
   429                        "kubernetes.io/cluster-service": "true",
   430                        "kubernetes.io/name": "KubeDNS"
   431                    },
   432                    "name": "kube-dns",
   433                    "namespace": "kube-system",
   434                    "resourceVersion": "468",
   435                    "selfLink": "/api/v1/namespaces/kube-system/endpoints/kube-dns",
   436                    "uid": "f0dca66c-518c-11e9-9cbc-08002759cde2"
   437                },
   438                "subsets": [
   439                    {
   440                        "addresses": [
   441                            {
   442                                "ip": "172.17.0.2",
   443                                "nodeName": "minikube",
   444                                "targetRef": {
   445                                    "kind": "Pod",
   446                                    "name": "coredns-fb8b8dccf-5gjhl",
   447                                    "namespace": "kube-system",
   448                                    "resourceVersion": "466",
   449                                    "uid": "f0f4fac9-518c-11e9-9cbc-08002759cde2"
   450                                }
   451                            },
   452                            {
   453                                "ip": "172.17.0.3",
   454                                "nodeName": "minikube",
   455                                "targetRef": {
   456                                    "kind": "Pod",
   457                                    "name": "coredns-fb8b8dccf-b2xln",
   458                                    "namespace": "kube-system",
   459                                    "resourceVersion": "455",
   460                                    "uid": "f0fcada2-518c-11e9-9cbc-08002759cde2"
   461                                }
   462                            }
   463                        ],
   464                        "ports": [
   465                            {
   466                                "name": "dns",
   467                                "port": 53,
   468                                "protocol": "UDP"
   469                            },
   470                            {
   471                                "name": "dns-tcp",
   472                                "port": 53,
   473                                "protocol": "TCP"
   474                            },
   475                            {
   476                                "name": "metrics",
   477                                "port": 9153,
   478                                "protocol": "TCP"
   479                            }
   480                        ]
   481                    }
   482                ]
   483            }
   484        ],
   485        "service": [
   486            {
   487                "apiVersion": "v1",
   488                "kind": "Service",
   489                "metadata": {
   490                    "annotations": {
   491                        "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"
   492                    },
   493                    "creationTimestamp": "2019-03-28T19:40:33Z",
   494                    "name": "consul",
   495                    "namespace": "default",
   496                    "resourceVersion": "2822",
   497                    "selfLink": "/api/v1/namespaces/default/services/consul",
   498                    "uid": "5a5d2999-5191-11e9-9cbc-08002759cde2"
   499                },
   500                "spec": {
   501                    "clusterIP": "10.102.228.230",
   502                    "externalTrafficPolicy": "Cluster",
   503                    "ports": [
   504                        {
   505                            "name": "consul",
   506                            "nodePort": 31095,
   507                            "port": 8500,
   508                            "protocol": "TCP",
   509                            "targetPort": 8500
   510                        }
   511                    ],
   512                    "selector": {
   513                        "service": "consul"
   514                    },
   515                    "sessionAffinity": "None",
   516                    "type": "NodePort"
   517                },
   518                "status": {
   519                    "loadBalancer": {}
   520                }
   521            },
   522            {
   523                "apiVersion": "v1",
   524                "kind": "Service",
   525                "metadata": {
   526                    "creationTimestamp": "2019-03-28T19:08:51Z",
   527                    "labels": {
   528                        "component": "apiserver",
   529                        "provider": "kubernetes"
   530                    },
   531                    "name": "kubernetes",
   532                    "namespace": "default",
   533                    "resourceVersion": "149",
   534                    "selfLink": "/api/v1/namespaces/default/services/kubernetes",
   535                    "uid": "ec29dbf1-518c-11e9-9cbc-08002759cde2"
   536                },
   537                "spec": {
   538                    "clusterIP": "10.96.0.1",
   539                    "ports": [
   540                        {
   541                            "name": "https",
   542                            "port": 443,
   543                            "protocol": "TCP",
   544                            "targetPort": 8443
   545                        }
   546                    ],
   547                    "sessionAffinity": "None",
   548                    "type": "ClusterIP"
   549                },
   550                "status": {
   551                    "loadBalancer": {}
   552                }
   553            },
   554            {
   555                "apiVersion": "v1",
   556                "kind": "Service",
   557                "metadata": {
   558                    "annotations": {
   559                        "getambassador.io/config": "---\napiVersion: getambassador.io/v2\nkind:  Mapping\nname:  qotm_mapping\nprefix: /qotm/\nservice: qotm\nload_balancer:\n  policy: round_robin\n---\napiVersion: getambassador.io/v2\nkind:  Mapping\nname:  watt_mapping\nprefix: /bar/\nservice: bar\nload_balancer:\n  policy: round_robin\n",
   560                        "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"
   561                    },
   562                    "creationTimestamp": "2019-03-28T20:07:48Z",
   563                    "name": "qotm",
   564                    "namespace": "default",
   565                    "resourceVersion": "6856",
   566                    "selfLink": "/api/v1/namespaces/default/services/qotm",
   567                    "uid": "287fa477-5195-11e9-9cbc-08002759cde2"
   568                },
   569                "spec": {
   570                    "clusterIP": "10.110.133.136",
   571                    "externalTrafficPolicy": "Cluster",
   572                    "ports": [
   573                        {
   574                            "nodePort": 30614,
   575                            "port": 80,
   576                            "protocol": "TCP",
   577                            "targetPort": "http-api"
   578                        }
   579                    ],
   580                    "selector": {
   581                        "service": "qotm"
   582                    },
   583                    "sessionAffinity": "None",
   584                    "type": "NodePort"
   585                },
   586                "status": {
   587                    "loadBalancer": {}
   588                }
   589            },
   590            {
   591                "apiVersion": "v1",
   592                "kind": "Service",
   593                "metadata": {
   594                    "annotations": {
   595                        "prometheus.io/port": "9153",
   596                        "prometheus.io/scrape": "true"
   597                    },
   598                    "creationTimestamp": "2019-03-28T19:08:53Z",
   599                    "labels": {
   600                        "k8s-app": "kube-dns",
   601                        "kubernetes.io/cluster-service": "true",
   602                        "kubernetes.io/name": "KubeDNS"
   603                    },
   604                    "name": "kube-dns",
   605                    "namespace": "kube-system",
   606                    "resourceVersion": "203",
   607                    "selfLink": "/api/v1/namespaces/kube-system/services/kube-dns",
   608                    "uid": "ed5bc00b-518c-11e9-9cbc-08002759cde2"
   609                },
   610                "spec": {
   611                    "clusterIP": "10.96.0.10",
   612                    "ports": [
   613                        {
   614                            "name": "dns",
   615                            "port": 53,
   616                            "protocol": "UDP",
   617                            "targetPort": 53
   618                        },
   619                        {
   620                            "name": "dns-tcp",
   621                            "port": 53,
   622                            "protocol": "TCP",
   623                            "targetPort": 53
   624                        },
   625                        {
   626                            "name": "metrics",
   627                            "port": 9153,
   628                            "protocol": "TCP",
   629                            "targetPort": 9153
   630                        }
   631                    ],
   632                    "selector": {
   633                        "k8s-app": "kube-dns"
   634                    },
   635                    "sessionAffinity": "None",
   636                    "type": "ClusterIP"
   637                },
   638                "status": {
   639                    "loadBalancer": {}
   640                }
   641            },
   642            {
   643                "apiVersion": "v1",
   644                "kind": "Service",
   645                "metadata": {
   646                    "annotations": {
   647                        "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"
   648                    },
   649                    "creationTimestamp": "2019-03-28T19:33:51Z",
   650                    "name": "ambassador",
   651                    "namespace": "default",
   652                    "resourceVersion": "2239",
   653                    "selfLink": "/api/v1/namespaces/default/services/ambassador",
   654                    "uid": "6a7afbf7-5190-11e9-9cbc-08002759cde2"
   655                },
   656                "spec": {
   657                    "clusterIP": "10.96.198.150",
   658                    "externalTrafficPolicy": "Cluster",
   659                    "ports": [
   660                        {
   661                            "name": "http",
   662                            "nodePort": 32081,
   663                            "port": 80,
   664                            "protocol": "TCP",
   665                            "targetPort": 80
   666                        },
   667                        {
   668                            "name": "https",
   669                            "nodePort": 30922,
   670                            "port": 443,
   671                            "protocol": "TCP",
   672                            "targetPort": 443
   673                        }
   674                    ],
   675                    "selector": {
   676                        "service": "ambassador"
   677                    },
   678                    "sessionAffinity": "None",
   679                    "type": "NodePort"
   680                },
   681                "status": {
   682                    "loadBalancer": {}
   683                }
   684            },
   685            {
   686                "apiVersion": "v1",
   687                "kind": "Service",
   688                "metadata": {
   689                    "annotations": {
   690                        "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"
   691                    },
   692                    "creationTimestamp": "2019-03-28T19:33:51Z",
   693                    "labels": {
   694                        "service": "ambassador-admin"
   695                    },
   696                    "name": "ambassador-admin",
   697                    "namespace": "default",
   698                    "resourceVersion": "2244",
   699                    "selfLink": "/api/v1/namespaces/default/services/ambassador-admin",
   700                    "uid": "6a927c38-5190-11e9-9cbc-08002759cde2"
   701                },
   702                "spec": {
   703                    "clusterIP": "10.111.183.120",
   704                    "externalTrafficPolicy": "Cluster",
   705                    "ports": [
   706                        {
   707                            "name": "ambassador-admin",
   708                            "nodePort": 30565,
   709                            "port": 8877,
   710                            "protocol": "TCP",
   711                            "targetPort": 8877
   712                        }
   713                    ],
   714                    "selector": {
   715                        "service": "ambassador"
   716                    },
   717                    "sessionAffinity": "None",
   718                    "type": "NodePort"
   719                },
   720                "status": {
   721                    "loadBalancer": {}
   722                }
   723            }
   724        ]
   725    }
   726}

View as plain text