Skip to content

Instantly share code, notes, and snippets.

@rvennam
Created September 14, 2021 03:32
Show Gist options
  • Save rvennam/304f3ce04cf3cc6f7f4b3d85c8df87f8 to your computer and use it in GitHub Desktop.
Save rvennam/304f3ce04cf3cc6f7f4b3d85c8df87f8 to your computer and use it in GitHub Desktop.
istioctl proxy-config routes productpage-v1-5c4b548f6c-sfpq7 --name 9080 -o json
[
  {
    "name": "9080",
    "virtualHosts": [
      {
        "name": "reviews.default.svc.cluster.local:9080",
        "domains": [
          "reviews.default.svc.cluster.local",
          "reviews.default.svc.cluster.local:9080",
          "reviews",
          "reviews:9080",
          "reviews.default.svc.cluster",
          "reviews.default.svc.cluster:9080",
          "reviews.default.svc",
          "reviews.default.svc:9080",
          "reviews.default",
          "reviews.default:9080",
          "10.116.11.13",
          "10.116.11.13:9080"
        ],
        "routes": [
          {
            "route": {
              "weightedClusters": {
                "clusters": [
                  {
                    "name": "outbound|9080|version-v1|reviews.default.svc.cluster.local",
                    "weight": 50
                  },
                  {
                    "name": "outbound|9080|version-v3|reviews.default.svc.remotecluster2.global",
                    "weight": 50
                  }
                ]
              },
...
istioctl proxy-config endpoints productpage-v1-5c4b548f6c-sfpq7 --cluster "outbound|9080|version-v3|reviews.default.svc.remotecluster2.global"
ENDPOINT                 STATUS      OUTLIER CHECK     CLUSTER
35.247.104.115:15443     HEALTHY     OK                outbound|9080|version-v3|reviews.default.svc.remotecluster2.global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment