{
  "id": "ea8bf34e-ab4a-43d4-9ca9-bae03e8e5517",
  "name": "NGINX Web Server on Kubernetes",
  "schemaVersion": "designs.meshery.io/v1beta3",
  "version": "0.0.16",
  "components": [
    {
      "id": "5169c31c-dbd4-43d8-b145-629fc3a010c3",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx-demo",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-image": "none",
        "background-opacity": 0.5,
        "border-style": "dashed",
        "border-width": 2,
        "position": {
          "x": 1496.7381656572525,
          "y": 1619.69294938731
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "rectangle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/namespace-color.svg",
        "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/namespace-complete.svg",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/namespace-white.svg"
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {
        "metadata": {
          "name": "nginx-demo",
          "namespace": "default"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Namespace",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "b6d86b6b-8c20-4ad1-b0d7-b8444be25708",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-image": "none",
        "background-opacity": 0.5,
        "border-width": 2,
        "position": {
          "x": 1439.9486535203168,
          "y": 1667.4091478724295
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/deployment-color.svg",
        "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/deployment-complete.svg",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/deployment-white.svg",
        "z-index": 3
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {
        "metadata": {
          "name": "nginx",
          "namespace": "nginx-demo"
        },
        "spec": {
          "replicas": 3,
          "selector": {
            "matchLabels": {
              "app": "nginx"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "nginx"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "nginx:1.27",
                  "name": "nginx",
                  "ports": [
                    {
                      "containerPort": 80
                    }
                  ]
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "apps/v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "8ab180fc-eb53-4f0d-9276-643b06584c41",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-position-y": "4.5",
        "height": 20,
        "padding": 12,
        "position": {
          "x": 1495.241908127581,
          "y": 1533.9767509021904
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-triangle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/service-color.svg",
        "svgComplete": "",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/service-white.svg",
        "width": 20,
        "z-index": 4
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {
        "metadata": {
          "name": "nginx",
          "namespace": "nginx-demo"
        },
        "spec": {
          "ports": [
            {
              "name": "http",
              "port": 80,
              "targetPort": 80
            }
          ],
          "selector": {
            "app": "nginx"
          },
          "type": "ClusterIP"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Service",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "df0281fb-5219-4f4a-b8a1-6ffdb0c19ce3",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx-ingress",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "position": {
          "x": 1559.027677794188,
          "y": 1618.8428569438197
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "circle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/ingress-color.svg",
        "svgComplete": "",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/ingress-white.svg",
        "z-index": 5
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {
        "metadata": {
          "name": "nginx-ingress",
          "namespace": "nginx-demo"
        },
        "spec": {
          "rules": [
            {
              "host": "nginx.local",
              "http": {
                "paths": [
                  {
                    "backend": {
                      "service": {
                        "name": "nginx",
                        "port": {
                          "number": 80
                        }
                      }
                    },
                    "path": "/",
                    "pathType": "Prefix"
                  }
                ]
              }
            }
          ]
        }
      },
      "component": {
        "version": "networking.k8s.io/v1",
        "kind": "Ingress",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "574aaea0-b606-53f5-ba43-5c315dca8c1b",
      "schemaVersion": "",
      "version": "",
      "displayName": "containers.0",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": ""
        },
        "name": "meshery-core",
        "registrant": {
          "kind": "github"
        },
        "version": ""
      },
      "styles": {
        "position": {
          "x": 1439.9486535203168,
          "y": 1658.4091478724295
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#00D3A9",
        "shape": "circle",
        "svgColor": "ui/public/static/img/meshmodels/meshery-core/color/container-color.svg",
        "svgComplete": "",
        "svgWhite": "ui/public/static/img/meshmodels/meshery-core/white/container-white.svg"
      },
      "capabilities": null,
      "status": null,
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "",
        "instanceDetails": null,
        "isAnnotation": true,
        "isNamespaced": false,
        "published": false
      },
      "configuration": null,
      "component": {
        "version": "",
        "kind": "Container",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    }
  ],
  "preferences": {
    "layers": {
      "expandedComponents": {
        "b6d86b6b-8c20-4ad1-b0d7-b8444be25708": true
      }
    }
  },
  "relationships": [
    {
      "id": "b8dfc0cf-6495-590d-894a-7a1786f1ddb5",
      "evaluationQuery": "",
      "kind": "hierarchical",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "relationships.meshery.io/v1beta2",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "574aaea0-b606-53f5-ba43-5c315dca8c1b",
                "kind": "Container",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "meshery-core",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0"
                    ]
                  ],
                  "mutatorRef": [
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0"
                    ]
                  ]
                }
              }
            ],
            "to": [
              {
                "id": "b6d86b6b-8c20-4ad1-b0d7-b8444be25708",
                "kind": "Deployment",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0"
                    ]
                  ],
                  "mutatorRef": [
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0"
                    ]
                  ]
                }
              }
            ]
          }
        }
      ],
      "subType": "alias",
      "status": "approved",
      "type": "parent",
      "version": "v1.0.0"
    },
    {
      "id": "cf7994ae-20a5-51fb-a12b-886f170f3594",
      "evaluationQuery": "",
      "kind": "edge",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "relationships.meshery.io/v1beta2",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "8ab180fc-eb53-4f0d-9276-643b06584c41",
                "kind": "Service",
                "match": {},
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatorRef": [
                    [
                      "configuration",
                      "spec",
                      "selector"
                    ],
                    [
                      "configuration",
                      "spec",
                      "ports",
                      "0",
                      "targetPort"
                    ],
                    [
                      "configuration",
                      "spec",
                      "ports",
                      "0",
                      "protocol"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ],
            "to": [
              {
                "id": "b6d86b6b-8c20-4ad1-b0d7-b8444be25708",
                "kind": "Deployment",
                "match": {},
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "spec",
                      "selector",
                      "matchLabels"
                    ],
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0",
                      "ports",
                      "0",
                      "containerPort"
                    ],
                    [
                      "configuration",
                      "spec",
                      "template",
                      "spec",
                      "containers",
                      "0",
                      "ports",
                      "0",
                      "protocol"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ]
          }
        }
      ],
      "subType": "network",
      "status": "approved",
      "type": "non-binding",
      "version": "v1.0.0"
    },
    {
      "id": "73709f69-dede-5603-a6f4-3bd1555a7a45",
      "evaluationQuery": "",
      "kind": "edge",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "relationships.meshery.io/v1beta2",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "df0281fb-5219-4f4a-b8a1-6ffdb0c19ce3",
                "kind": "Ingress",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "spec",
                      "rules",
                      "0",
                      "http",
                      "paths",
                      "0",
                      "backend",
                      "service",
                      "name"
                    ],
                    [
                      "configuration",
                      "spec",
                      "rules",
                      "0",
                      "http",
                      "paths",
                      "0",
                      "backend",
                      "service",
                      "port",
                      "number"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ],
            "to": [
              {
                "id": "8ab180fc-eb53-4f0d-9276-643b06584c41",
                "kind": "Service",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatorRef": [
                    [
                      "displayName"
                    ],
                    [
                      "configuration",
                      "spec",
                      "ports",
                      "0",
                      "port"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ]
          }
        }
      ],
      "subType": "network",
      "status": "approved",
      "type": "non-binding",
      "version": "v1.0.0"
    },
    {
      "id": "6b878083-48fb-5903-9d1d-60634501e335",
      "evaluationQuery": "",
      "kind": "hierarchical",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "relationships.meshery.io/v1beta2",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "b6d86b6b-8c20-4ad1-b0d7-b8444be25708",
                "kind": "*",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "*",
                  "registrant": {
                    "kind": ""
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "metadata",
                      "namespace"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ],
            "to": [
              {
                "id": "5169c31c-dbd4-43d8-b145-629fc3a010c3",
                "kind": "Namespace",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatorRef": [
                    [
                      "displayName"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ]
          }
        }
      ],
      "subType": "inventory",
      "status": "approved",
      "type": "parent",
      "version": "v1.0.0"
    },
    {
      "id": "c809716e-08bb-5f36-89a5-7437e83d7922",
      "evaluationQuery": "",
      "kind": "hierarchical",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "relationships.meshery.io/v1beta2",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "df0281fb-5219-4f4a-b8a1-6ffdb0c19ce3",
                "kind": "*",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "*",
                  "registrant": {
                    "kind": ""
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "metadata",
                      "namespace"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ],
            "to": [
              {
                "id": "5169c31c-dbd4-43d8-b145-629fc3a010c3",
                "kind": "Namespace",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatorRef": [
                    [
                      "displayName"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ]
          }
        }
      ],
      "subType": "inventory",
      "status": "approved",
      "type": "parent",
      "version": "v1.0.0"
    },
    {
      "id": "1863182a-7987-4fc6-93e6-61b3acc5d27d",
      "evaluationQuery": null,
      "kind": "hierarchical",
      "metadata": {
        "description": "",
        "isAnnotation": false,
        "styles": {
          "primaryColor": "",
          "svgColor": "",
          "svgWhite": ""
        }
      },
      "model": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.37.0-rc.1"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "schemaVersion": "",
      "selectors": [
        {
          "allow": {
            "from": [
              {
                "id": "8ab180fc-eb53-4f0d-9276-643b06584c41",
                "kind": "*",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "*",
                  "registrant": {
                    "kind": ""
                  },
                  "version": ""
                },
                "patch": {
                  "mutatedRef": [
                    [
                      "configuration",
                      "metadata",
                      "namespace"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ],
            "to": [
              {
                "id": "5169c31c-dbd4-43d8-b145-629fc3a010c3",
                "kind": "Namespace",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": {
                  "mutatorRef": [
                    [
                      "displayName"
                    ]
                  ],
                  "patchStrategy": "replace"
                }
              }
            ]
          },
          "deny": {
            "from": [
              {
                "id": null,
                "kind": "Namespace",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": null
              }
            ],
            "to": [
              {
                "id": null,
                "kind": "Namespace",
                "matchStrategyMatrix": null,
                "model": {
                  "displayName": "",
                  "id": "00000000-0000-0000-0000-000000000000",
                  "model": {
                    "version": ""
                  },
                  "name": "kubernetes",
                  "registrant": {
                    "kind": "github"
                  },
                  "version": ""
                },
                "patch": null
              }
            ]
          }
        }
      ],
      "subType": "inventory",
      "status": "pending",
      "type": "parent",
      "version": ""
    }
  ]
}