{
  "id": "b21d177a-9807-4ed1-9d6e-4b20166d2685",
  "name": "HA NGINX Gateway Architecture",
  "schemaVersion": "designs.meshery.io/v1beta3",
  "version": "0.0.2",
  "components": [
    {
      "id": "d10df4b6-bdb3-4678-b6aa-b16169b43269",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx-gateway",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.38.0-beta.0"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-image": "none",
        "background-opacity": 0.5,
        "border-style": "dashed",
        "border-width": 2,
        "height": 80,
        "position": {
          "x": 491.1937561035156,
          "y": 443.6937561035156
        },
        "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",
        "width": 80
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {
        "metadata": {
          "labels": {
            "app.kubernetes.io/part-of": "ha-nginx-gateway"
          },
          "name": "nginx-gateway"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Namespace",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "7fa7bb17-b286-4a38-b4d6-19bcb7dcdff5",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx-gateway-config",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.38.0-beta.0"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "position": {
          "x": 541.1937561035156,
          "y": 593.6937561035156
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "bottom-round-rectangle",
        "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/configmap-color.svg",
        "svgComplete": "",
        "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/configmap-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": {
        "data": {
          "nginx.conf": "events { worker_connections 1024; }\nhttp {\n  server {\n    listen 80;\n    location /healthz { return 200 \"ok\\n\"; }\n    location / { return 200 \"HA NGINX Gateway Architecture\\n\"; }\n  }\n}\n"
        },
        "metadata": {
          "name": "nginx-gateway-config",
          "namespace": "nginx-gateway"
        }
      },
      "component": {
        "version": "v1",
        "kind": "ConfigMap",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "6e530d1c-3996-4bb4-ae03-021ea6f85354",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx-gateway",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.38.0-beta.0"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-image": "none",
        "background-opacity": 0.5,
        "border-width": 2,
        "position": {
          "x": 659.1937561035156,
          "y": 403.6937561035156
        },
        "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": 4
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false,
        "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3"
      },
      "configuration": {
        "metadata": {
          "labels": {
            "app": "nginx-gateway"
          },
          "name": "nginx-gateway",
          "namespace": "nginx-gateway"
        },
        "spec": {
          "replicas": 3,
          "selector": {
            "matchLabels": {
              "app": "nginx-gateway"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "nginx-gateway"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "nginx:1.27-alpine",
                  "name": "nginx",
                  "ports": [
                    {
                      "containerPort": 80
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "250m",
                      "memory": "256Mi"
                    },
                    "requests": {
                      "cpu": "100m",
                      "memory": "128Mi"
                    }
                  },
                  "volumeMounts": [
                    {
                      "mountPath": "/etc/nginx/nginx.conf",
                      "name": "config",
                      "subPath": "nginx.conf"
                    }
                  ]
                }
              ],
              "volumes": [
                {
                  "configMap": {
                    "name": "nginx-gateway-config"
                  },
                  "name": "config"
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "apps/v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "f3e366ae-e669-4ecd-9427-7c044cc0013f",
      "schemaVersion": "components.meshery.io/v1beta2",
      "version": "v1.0.0",
      "displayName": "nginx-gateway-svc",
      "description": "",
      "format": "",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.38.0-beta.0"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-position-y": "4.5",
        "height": 20,
        "padding": 12,
        "position": {
          "x": 441.1937561035156,
          "y": 601.6937561035156
        },
        "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": 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-gateway-svc",
          "namespace": "nginx-gateway"
        },
        "spec": {
          "ports": [
            {
              "name": "http",
              "port": 80,
              "targetPort": 80
            }
          ],
          "selector": {
            "app": "nginx-gateway"
          },
          "type": "LoadBalancer"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Service",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    }
  ],
  "relationships": []
}