{ "id": "00000000-0000-0000-0000-000000000000", "name": "Resilient Web Gateway", "schemaVersion": "designs.meshery.io/v1beta3", "version": "0.0.2", "components": [ { "id": "c3105947-ac29-4f62-bec7-8c9ba764d8ea", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "meshery-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, "height": 80, "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": "resilient-web-gateway" }, "name": "meshery-demo" } }, "component": { "version": "v1", "kind": "Namespace", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "4054dbd5-34ad-4622-9f8c-62435b8238b5", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "web-config", "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": { "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" }, "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": { "index.html": "\u003c!doctype html\u003e\n\u003chtml lang=\"en\"\u003e\n \u003chead\u003e\u003cmeta charset=\"utf-8\"\u003e\u003ctitle\u003eResilient Web Gateway\u003c/title\u003e\u003c/head\u003e\n \u003cbody\u003e\u003ch1\u003eResilient Web Gateway\u003c/h1\u003e\u003cp\u003eDesigned visually with Meshery.\u003c/p\u003e\u003c/body\u003e\n" }, "metadata": { "labels": { "app.kubernetes.io/name": "resilient-web-gateway" }, "name": "web-config", "namespace": "meshery-demo" } }, "component": { "version": "v1", "kind": "ConfigMap", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "38bb5239-023a-4a35-9fa8-59ef0e3d663b", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "resilient-web-gateway", "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, "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" }, "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/component": "gateway", "app.kubernetes.io/name": "resilient-web-gateway" }, "name": "resilient-web-gateway", "namespace": "meshery-demo" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app.kubernetes.io/name": "resilient-web-gateway" } }, "strategy": { "rollingUpdate": { "maxSurge": 1, "maxUnavailable": 1 }, "type": "RollingUpdate" }, "template": { "metadata": { "labels": { "app.kubernetes.io/component": "gateway", "app.kubernetes.io/name": "resilient-web-gateway" } }, "spec": { "containers": [ { "image": "nginxinc/nginx-unprivileged:1.27-alpine", "livenessProbe": { "httpGet": { "path": "/", "port": "http" }, "initialDelaySeconds": 10, "periodSeconds": 10 }, "name": "nginx", "ports": [ { "containerPort": 8080, "name": "http" } ], "readinessProbe": { "httpGet": { "path": "/", "port": "http" }, "initialDelaySeconds": 3, "periodSeconds": 5 }, "resources": { "limits": { "cpu": "500m", "memory": "128Mi" }, "requests": { "cpu": "100m", "memory": "64Mi" } }, "securityContext": { "allowPrivilegeEscalation": false, "capabilities": { "drop": [ "ALL" ] }, "readOnlyRootFilesystem": true }, "volumeMounts": [ { "mountPath": "/usr/share/nginx/html", "name": "web-content", "readOnly": true }, { "mountPath": "/var/cache/nginx", "name": "cache" }, { "mountPath": "/var/run", "name": "run" } ] } ], "securityContext": { "runAsNonRoot": true, "seccompProfile": { "type": "RuntimeDefault" } }, "volumes": [ { "configMap": { "name": "web-config" }, "name": "web-content" }, { "emptyDir": {}, "name": "cache" }, { "emptyDir": {}, "name": "run" } ] } } } }, "component": { "version": "apps/v1", "kind": "Deployment", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "ff27b64c-740b-42ba-9a60-00f6fdd0a847", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "resilient-web-gateway", "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, "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 }, "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": { "labels": { "app.kubernetes.io/name": "resilient-web-gateway" }, "name": "resilient-web-gateway", "namespace": "meshery-demo" }, "spec": { "ports": [ { "name": "http", "port": 80, "targetPort": "http" } ], "selector": { "app.kubernetes.io/name": "resilient-web-gateway" }, "type": "ClusterIP" } }, "component": { "version": "v1", "kind": "Service", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "e0fbf408-a7dd-4933-89c8-3cc061539bf5", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "resilient-web-gateway", "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": { "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "concave-hexagon", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/poddisruptionbudget-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/poddisruptionbudget-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": { "labels": { "app.kubernetes.io/name": "resilient-web-gateway" }, "name": "resilient-web-gateway", "namespace": "meshery-demo" }, "spec": { "minAvailable": 2, "selector": { "matchLabels": { "app.kubernetes.io/name": "resilient-web-gateway" } } } }, "component": { "version": "policy/v1", "kind": "PodDisruptionBudget", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "e9939397-b751-400c-9dd8-56e242eed4f9", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "resilient-web-gateway-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": { "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/networkpolicy-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/networkpolicy-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "labels": { "app.kubernetes.io/name": "resilient-web-gateway" }, "name": "resilient-web-gateway-ingress", "namespace": "meshery-demo" }, "spec": { "ingress": [ { "from": [ { "namespaceSelector": { "matchLabels": { "kubernetes.io/metadata.name": "meshery-demo" } } } ], "ports": [ { "port": 8080, "protocol": "TCP" } ] } ], "podSelector": { "matchLabels": { "app.kubernetes.io/name": "resilient-web-gateway" } }, "policyTypes": [ "Ingress" ] } }, "component": { "version": "networking.k8s.io/v1", "kind": "NetworkPolicy", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" } ], "relationships": null }