{ "id": "1d8a8ea2-fcbf-464c-9cfd-4d17cb0dc1d3", "name": "On Prem Kubernetes with Secure Cloud Logging", "schemaVersion": "designs.meshery.io/v1beta3", "version": "0.0.7", "components": [ { "id": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "client-platform", "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, "position": { "x": 1075.0861317120887, "y": 618.9159783378509 }, "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 }, "configuration": { "metadata": { "labels": { "purpose": "on-prem-secure-logging" }, "name": "client-platform" } }, "component": { "version": "v1", "kind": "Namespace", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "cf00c0af-1c95-4dc3-ae3e-4a30439873b5", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "client-app", "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": 999.6984263717287, "y": 319.18445238197756 }, "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": "parent", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false }, "configuration": { "metadata": { "labels": { "app": "client-app" }, "name": "client-app", "namespace": "client-platform" }, "spec": { "replicas": 3, "selector": { "matchLabels": { "app": "client-app" } }, "template": { "metadata": { "labels": { "app": "client-app" } }, "spec": { "containers": [ { "image": "ghcr.io/example/client-app:1.0.0", "livenessProbe": { "httpGet": { "path": "/healthz", "port": "http" }, "initialDelaySeconds": 30, "periodSeconds": 20 }, "name": "client-app", "ports": [ { "containerPort": 8080, "name": "http" } ], "readinessProbe": { "httpGet": { "path": "/healthz", "port": "http" }, "initialDelaySeconds": 10, "periodSeconds": 10 }, "resources": { "limits": { "cpu": "1", "memory": "512Mi" }, "requests": { "cpu": "250m", "memory": "256Mi" } } } ] } } } }, "component": { "version": "apps/v1", "kind": "Deployment", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "5d06800d-e832-4d26-8f63-0cb895a5fca7", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "client-app", "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": 769.3797046091784, "y": 530.2231888561339 }, "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 }, "configuration": { "metadata": { "name": "client-app", "namespace": "client-platform" }, "spec": { "ports": [ { "name": "http", "port": 80, "targetPort": "http" } ], "selector": { "app": "client-app" }, "type": "ClusterIP" } }, "component": { "version": "v1", "kind": "Service", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "b167e165-c171-4698-9d36-2a44d5875a07", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "fluent-bit", "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": 1252.6317346957549, "y": 607.9495298281734 }, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "bottom-round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/serviceaccount-white.svg", "z-index": 5 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false }, "configuration": { "metadata": { "name": "fluent-bit", "namespace": "client-platform" } }, "component": { "version": "v1", "kind": "ServiceAccount", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "aa0f2942-6d44-4d1f-b0fa-05e0fbd1c580", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "cloud-log-auth", "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-clip": "node", "background-opacity": 0, "height": 32, "padding": 1, "position": { "x": 1450.6452695820628, "y": 700.9137602568209 }, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "shield", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/secret-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/secret-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/secret-white.svg", "width": 32, "z-index": 6 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false }, "configuration": { "metadata": { "name": "cloud-log-auth", "namespace": "client-platform" }, "stringData": { "token": "REPLACE_WITH_SECRET_FROM_SECURE_STORE" }, "type": "Opaque" }, "component": { "version": "v1", "kind": "Secret", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "dcc92a07-2af5-43a9-8196-f4571c9597e1", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "fluent-bit-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": { "position": { "x": 1106.677796575588, "y": 710.5078740387108 }, "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": 7 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false }, "configuration": { "data": { "fluent-bit.conf": "[SERVICE]\n Flush 5\n Log_Level info\n storage.path /var/lib/fluent-bit/storage\n storage.sync normal\n storage.checksum on\n\n[INPUT]\n Name tail\n Path /var/log/containers/client-app-*.log\n Tag client.app\n storage.type filesystem\n Mem_Buf_Limit 20MB\n Skip_Long_Lines On\n\n[FILTER]\n Name modify\n Match client.app\n Remove authorization\n Remove cookie\n Remove password\n Remove request_body\n\n[OUTPUT]\n Name http\n Match client.app\n Host logs.example.com\n Port 443\n URI /v1/logs\n Format json_lines\n tls On\n tls.verify On\n Header Authorization Bearer ${CLOUD_LOG_TOKEN}\n storage.total_limit_size 1G\n Retry_Limit False\n" }, "metadata": { "name": "fluent-bit-config", "namespace": "client-platform" } }, "component": { "version": "v1", "kind": "ConfigMap", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "00a5cc47-b2a8-498d-a6a2-44cb2031dc35", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "fluent-bit", "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": 801.941769002954, "y": 674.1386274165122 }, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "circle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/daemonset-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/daemonset-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/daemonset-white.svg", "z-index": 8 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "parent", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false }, "configuration": { "metadata": { "labels": { "app": "fluent-bit" }, "name": "fluent-bit", "namespace": "client-platform" }, "spec": { "selector": { "matchLabels": { "app": "fluent-bit" } }, "template": { "metadata": { "labels": { "app": "fluent-bit" } }, "spec": { "containers": [ { "env": [ { "name": "CLOUD_LOG_TOKEN", "valueFrom": { "secretKeyRef": { "key": "token", "name": "cloud-log-auth" } } } ], "image": "cr.fluentbit.io/fluent/fluent-bit:4.0", "name": "fluent-bit", "resources": { "limits": { "cpu": "200m", "memory": "256Mi" }, "requests": { "cpu": "50m", "memory": "64Mi" } }, "volumeMounts": [ { "mountPath": "/fluent-bit/etc/fluent-bit.conf", "name": "config", "readOnly": true, "subPath": "fluent-bit.conf" }, { "mountPath": "/var/log/containers", "name": "container-logs", "readOnly": true }, { "mountPath": "/var/lib/fluent-bit/storage", "name": "buffer" } ] } ], "serviceAccountName": "fluent-bit", "volumes": [ { "configMap": { "name": "fluent-bit-config" }, "name": "config" }, { "hostPath": { "path": "/var/log/containers", "type": "Directory" }, "name": "container-logs" }, { "hostPath": { "path": "/var/lib/fluent-bit-buffer", "type": "DirectoryOrCreate" }, "name": "buffer" } ] } } } }, "component": { "version": "apps/v1", "kind": "DaemonSet", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "f596f70f-388c-4e93-bbd8-bb79916aeee8", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "default-deny-all", "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": 965.845121093015, "y": 602.1216939695945 }, "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", "z-index": 9 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "default-deny-all", "namespace": "client-platform" }, "spec": { "podSelector": {}, "policyTypes": [ "Ingress", "Egress" ] } }, "component": { "version": "networking.k8s.io/v1", "kind": "NetworkPolicy", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "a4fdd1cb-d4b8-4633-bd22-3c52615878e2", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "allow-internal-app-traffic", "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": 1031.2922419421875, "y": 845.6359748477365 }, "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", "z-index": 10 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "name": "allow-internal-app-traffic", "namespace": "client-platform" }, "spec": { "egress": [ { "ports": [ { "port": 53, "protocol": "UDP" }, { "port": 53, "protocol": "TCP" } ], "to": [ { "namespaceSelector": { "matchLabels": { "kubernetes.io/metadata.name": "kube-system" } } } ] } ], "ingress": [ { "ports": [ { "port": 8080, "protocol": "TCP" } ] } ], "podSelector": { "matchLabels": { "app": "client-app" } }, "policyTypes": [ "Ingress", "Egress" ] } }, "component": { "version": "networking.k8s.io/v1", "kind": "NetworkPolicy", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "f04e122a-8f45-4d55-ab96-4cb580a73094", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "allow-log-export", "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": 1346.9574870351205, "y": 844.9442707940277 }, "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", "z-index": 11 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": false, "published": false }, "configuration": { "metadata": { "annotations": { "design.meshery.io/note": "Client firewall must restrict TCP 443 to the approved logging endpoint." }, "name": "allow-log-export", "namespace": "client-platform" }, "spec": { "egress": [ { "ports": [ { "port": 53, "protocol": "UDP" }, { "port": 53, "protocol": "TCP" } ], "to": [ { "namespaceSelector": { "matchLabels": { "kubernetes.io/metadata.name": "kube-system" } } } ] }, { "ports": [ { "port": 443, "protocol": "TCP" } ] } ], "podSelector": { "matchLabels": { "app": "fluent-bit" } }, "policyTypes": [ "Egress" ] } }, "component": { "version": "networking.k8s.io/v1", "kind": "NetworkPolicy", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "f769d182-3a4b-58f2-bd9a-e4dd0f88fb8f", "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": { "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", "z-index": 21 }, "capabilities": null, "status": null, "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": true, "isNamespaced": false, "published": false }, "configuration": {}, "component": { "version": "", "kind": "Container", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "13ad1885-5f6e-44cd-b8c2-4390852b2b89", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "client-app-hpa", "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-size": 12, "body-text-font-weight": "400", "body-text-horizontal-align": "center", "body-text-vertical-align": "center", "border-width": 2, "height": 24, "opacity": 1, "padding": 6, "position": { "x": 1389.9088459399322, "y": 318.51842326458814 }, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/horizontalpodautoscaler-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/horizontalpodautoscaler-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/horizontalpodautoscaler-white.svg", "width": 24, "z-index": 20 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "parent", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false }, "configuration": { "metadata": { "name": "client-app-hpa", "namespace": "client-platform" }, "spec": { "maxReplicas": 6, "minReplicas": 3, "scaleTargetRef": { "apiVersion": "apps/v1", "kind": "Deployment", "name": "client-app" }, "targetCPUUtilizationPercentage": 70 } }, "component": { "version": "autoscaling/v1", "kind": "HorizontalPodAutoscaler", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" } ], "relationships": [ { "id": "79a2788a-33df-5b28-81e3-fae9df99af51", "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": "f769d182-3a4b-58f2-bd9a-e4dd0f88fb8f", "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": "cf00c0af-1c95-4dc3-ae3e-4a30439873b5", "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": "41322a52-f127-5b05-a275-97dd41cd3f6c", "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": "5d06800d-e832-4d26-8f63-0cb895a5fca7", "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": "cf00c0af-1c95-4dc3-ae3e-4a30439873b5", "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", "name" ], [ "configuration", "spec", "template", "spec", "containers", "0", "ports", "0", "protocol" ] ], "patchStrategy": "replace" } } ] } } ], "subType": "network", "status": "approved", "type": "non-binding", "version": "v1.0.0" }, { "id": "41aae4b0-ffeb-5dba-a88f-7c3c3f4b0529", "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": "cf00c0af-1c95-4dc3-ae3e-4a30439873b5", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "ac79f3b1-3264-5162-b93f-48a564653825", "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": "5d06800d-e832-4d26-8f63-0cb895a5fca7", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "13ed709f-78b9-5d81-9776-906fa72b57ff", "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": "b167e165-c171-4698-9d36-2a44d5875a07", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "5669758e-2790-5cd4-a90d-66995d5b66a6", "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": "aa0f2942-6d44-4d1f-b0fa-05e0fbd1c580", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "84426f32-6504-5657-bc80-b9cdcc3fc10a", "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": "dcc92a07-2af5-43a9-8196-f4571c9597e1", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "514faf43-78f1-5e6b-8dff-4156e231487f", "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": "00a5cc47-b2a8-498d-a6a2-44cb2031dc35", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "49b1b2ef-3486-5527-a911-fe3a2c76f961", "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": "f596f70f-388c-4e93-bbd8-bb79916aeee8", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "4c8f7c63-08cc-570d-843e-18794030d814", "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": "a4fdd1cb-d4b8-4633-bd22-3c52615878e2", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "b8698392-4236-5be1-9c3a-e1ca094a7ede", "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": "f04e122a-8f45-4d55-ab96-4cb580a73094", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "10f07855-a7f6-5f31-8fd7-525027fd9f2f", "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": "13ad1885-5f6e-44cd-b8c2-4390852b2b89", "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": "a4cc79cc-3506-47c7-b062-c275d0e5977a", "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": "4ce1a728-d4a1-51fe-a20a-4a509815591f", "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": "cf00c0af-1c95-4dc3-ae3e-4a30439873b5", "kind": "Deployment", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": { "mutatorRef": [ [ "displayName" ] ], "patchStrategy": "replace" } } ], "to": [ { "id": "13ad1885-5f6e-44cd-b8c2-4390852b2b89", "kind": "HorizontalPodAutoscaler", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": { "mutatedRef": [ [ "configuration", "spec", "scaleTargetRef", "name" ] ], "patchStrategy": "replace" } } ] } } ], "subType": "reference", "status": "approved", "type": "non-binding", "version": "v1.0.0" }, { "id": "ca167106-93c9-5afc-8b6d-8ff26cb4cf27", "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": "f596f70f-388c-4e93-bbd8-bb79916aeee8", "kind": "NetworkPolicy", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": { "mutatorRef": [ [ "configuration", "spec", "podSelector", "matchLabels" ] ], "patchStrategy": "replace" } } ], "to": [ { "id": "13ad1885-5f6e-44cd-b8c2-4390852b2b89", "kind": "Pod", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": { "mutatedRef": [ [ "configuration", "metadata", "labels" ] ], "patchStrategy": "replace" } } ] } } ], "subType": "firewall", "status": "approved", "type": "non-binding", "version": "v1.0.0" }, { "id": "3317fbdc-ad8d-5006-80d4-2f3dfce2dfae", "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": "b167e165-c171-4698-9d36-2a44d5875a07", "kind": "Service", "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": "13ad1885-5f6e-44cd-b8c2-4390852b2b89", "kind": "Pod", "matchStrategyMatrix": null, "model": { "displayName": "", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "" }, "patch": { "mutatedRef": [ [ "metadata", "labels" ], [ "configuration", "spec", "containers", "0", "ports", "0", "containerPort" ], [ "configuration", "spec", "containers", "0", "ports", "0", "protocol" ] ], "patchStrategy": "replace" } } ] } } ], "subType": "network", "status": "approved", "type": "non-binding", "version": "v1.0.0" } ] }