{ "id": "5e2af4ce-1718-427f-afc1-7f8a3f41b1b2", "name": "Simple Kubernetes Web App", "schemaVersion": "designs.meshery.io/v1beta3", "version": "0.0.29", "components": [ { "id": "3d1da475-b606-4460-bc9a-bed1a5f2de92", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "web-app", "description": "", "format": "JSON", "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, "body-text": "", "body-text-color": "#808080", "body-text-font-family": "Qanelas Soft", "body-text-font-size": 12, "body-text-font-weight": "400", "body-text-horizontal-align": "center", "body-text-text-decoration": "none", "body-text-vertical-align": "center", "border-width": 2, "height": 24, "opacity": 1, "padding": 6, "position": { "x": 816.5102978705651, "y": 742.7697795630909 }, "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", "width": 24, "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": "web-app", "namespace": "default" }, "spec": { "replicas": 2, "revisionHistoryLimit": 10, "selector": { "matchExpressions": [ { "key": "app", "operator": "In", "values": [ "web-app" ] } ] }, "template": { "metadata": { "labels": { "app": "web-app" } }, "spec": { "containers": [ { "image": "nginx:alpine", "name": "web-app", "ports": [ { "containerPort": 80, "protocol": "TCP" } ] } ] } } } }, "component": { "version": "apps/v1", "kind": "Deployment", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "abc95f96-2ac4-4ad6-b4b1-d33e36b0f04f", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "web-service", "description": "", "format": "JSON", "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-opacity": 1, "background-position-y": "4.5", "body-text": "", "body-text-color": "#808080", "body-text-font-family": "Qanelas Soft", "body-text-font-size": 12, "body-text-font-weight": "400", "body-text-horizontal-align": "center", "body-text-text-decoration": "none", "body-text-vertical-align": "center", "border-width": 0, "height": 20, "opacity": 1, "padding": 12, "position": { "x": 719.4901490655467, "y": 752.4305963105656 }, "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": "web-service", "namespace": "default" }, "spec": { "ports": [ { "name": "http", "port": 73, "protocol": "TCP", "targetPort": 80 } ], "selector": { "app": "web-app" }, "type": "ClusterIP" } }, "component": { "version": "v1", "kind": "Service", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "03ea0062-4e1d-4e50-8901-ca0e0b735b37", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "web-config", "description": "", "format": "JSON", "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-opacity": 1, "body-text": "", "body-text-color": "#808080", "body-text-font-family": "Qanelas Soft", "body-text-font-size": 12, "body-text-font-weight": "400", "body-text-horizontal-align": "center", "body-text-text-decoration": "none", "body-text-vertical-align": "center", "border-width": 0, "height": 24, "opacity": 1, "padding": 6, "position": { "x": 882.8755944413476, "y": 766.6899448804231 }, "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", "width": 24, "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": { "data": { "APP_NAME": "Meshery Demo" }, "metadata": { "name": "web-config", "namespace": "default" } }, "component": { "version": "v1", "kind": "ConfigMap", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" } ], "relationships": [ { "id": "a0e132c0-2fbf-4aa1-b41f-b2471578d476", "evaluationQuery": null, "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": "", "selectors": [ { "allow": { "from": [ { "id": "abc95f96-2ac4-4ad6-b4b1-d33e36b0f04f", "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": "3d1da475-b606-4460-bc9a-bed1a5f2de92", "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" } } ] }, "deny": { "from": [ { "id": null, "kind": "Service", "match": {}, "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": null } ], "to": [ { "id": null, "kind": "Service", "match": {}, "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": null }, { "id": null, "kind": "Pod", "match": {}, "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": null } ] } } ], "subType": "network", "status": "pending", "type": "non-binding", "version": "" } ] }