name: enhance-flask-app
services:
    NodeGroupInventoryWallet:
        annotations: {}
        apiVersion: core.meshery.io/v1alpha1
        dependsOn:
            - cron-job-backup
        id: null
        isAnnotation: null
        labels: {}
        model: meshery-core
        name: NodeGroupInventoryWallet
        namespace: ""
        settings: {}
        traits:
            meshmap:
                edges: []
                fieldRefData: {}
                id: e3ede523-fcac-4623-b262-4583d8c310df
                label: NodeGroupInventoryWallet
                meshmodel-data:
                    category:
                        metadata: null
                        name: Orchestration & Management
                    components: null
                    description: ""
                    displayName: Meshery Core
                    hostID: 26e64aa8-2d86-57bd-92b3-2a73160d27b4
                    id: c1af66fb-1c38-54bf-92d1-9d9808251e00
                    metadata:
                        isAnnotation: false
                        subCategory: App Definition and Development
                        svgColor: ui/public/static/img/meshmodels/meshery-core/color/meshery-core-color.svg
                        svgComplete: ""
                        svgWhite: ui/public/static/img/meshmodels/meshery-core/color/meshery-core-color.svg
                    model:
                        version: 0.7.1
                    name: meshery-core
                    registrant:
                        hostname: artifacthub
                    relationships: null
                    schemaVersion: models.meshery.io/v1beta1
                    status: enabled
                    subCategory: App Definition and Development
                    version: v1.0.0
                meshmodel-metadata:
                    capabilities: |-
                        {
                          "designer": {
                            "pass-events-to": "parent", "supportsCompoundDragAndDrop":false,
                            "edit": {
                              "config": false,
                              "copy": false,
                              "delete": false,
                              "duplicate": false,
                              "reset-styles": false,
                              "resolve": false,
                              "lock": false,
                              "shape": {
                                "convert-shape": false
                              },
                              "style": false
                            },
                            "label": {
                              "edit": false,
                              "show": false,
                              "sync-with-config-property": "none"
                            }
                          }
                        }
                    defaultData: '{"label":""}'
                    genealogy: parent
                    hasInvalidSchema: true
                    isAnnotation: true
                    primaryColor: '#00B39F'
                    secondaryColor: '#00D3A9'
                    shape: round-rectangle
                    shapePolygonPoints: ""
                    status: enabled
                    styleOverrides:
                        background-image: none
                        background-opacity: 0
                        border-style: dashed
                        border-width: 0
                        data:
                            label: ""
                        height: 30px
                        width: 30px
                        z-index: 12
                    styles: '{"height":"30px","width":"30px", "background-image":"none","border-width":0,"border-style":"dashed","background-opacity":0}'
                    subCategory: ""
                    svgColor: ui/public/static/img/meshmodels/meshery-core/color/anchornode-color.svg
                    svgComplete: ""
                    svgWhite: ui/public/static/img/meshmodels/meshery-core/white/anchornode-white.svg
                parent: 33c5b859-543b-410d-b4a6-05c03d8c51cd
                position:
                    posX: 84.14021908155799
                    posY: 99.97777425380113
                whiteboardData: {}
        type: NodeGroupInventoryWallet
        version: 0.7.1
    cron-job-backup:
        annotations: {}
        apiVersion: batch/v1
        dependsOn: []
        id: null
        isAnnotation: null
        labels: {}
        model: kubernetes
        name: cron-job-backup
        namespace: default
        settings:
            spec:
                schedule: 0 * * * *
        traits:
            meshmap:
                edges: []
                fieldRefData: {}
                id: 33c5b859-543b-410d-b4a6-05c03d8c51cd
                label: Cron Job
                meshmodel-data:
                    category:
                        metadata: null
                        name: Orchestration & Management
                    components: null
                    description: ""
                    displayName: Kubernetes
                    hostID: 26e64aa8-2d86-57bd-92b3-2a73160d27b4
                    id: 45d9a4de-8590-575e-9838-9fdb32058bdd
                    metadata:
                        isAnnotation: false
                        svgColor: ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg
                        svgWhite: ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg
                    model:
                        version: v1.25.2
                    name: kubernetes
                    registrant:
                        hostname: artifacthub
                    relationships: null
                    schemaVersion: models.meshery.io/v1beta1
                    status: enabled
                    subCategory: ""
                    version: v1.0.0
                meshmodel-metadata:
                    capabilities: |4-
                         {
                          "designer": {
                            "edit": {
                              "shape": {
                                "convert-shape": false
                              }
                            }
                          }
                        }
                    defaultData: ""
                    genealogy: parent
                    isAnnotation: false
                    isCustomResource: false
                    isModelAnnotation: "FALSE"
                    isNamespaced: true
                    logoURL: Created by Meshery Authors
                    model: kubernetes
                    modelDisplayName: Kubernetes
                    primaryColor: '#326CE5'
                    secondaryColor: '#7aa1f0'
                    shape: circle
                    shapePolygonPoints: ""
                    status: enabled
                    styleOverrides:
                        background-opacity: 0.5
                        border-width: 2
                        z-index: 9
                    styles: '{"border-width":2,"background-opacity":0.5}'
                    subCategory: ""
                    svgColor: ui/public/static/img/meshmodels/kubernetes/color/cronjob-color.svg
                    svgComplete: ui/public/static/img/meshmodels/kubernetes/complete/cronjob-complete.svg
                    svgWhite: ui/public/static/img/meshmodels/kubernetes/white/cronjob-white.svg
                position:
                    posX: 84.14021908155799
                    posY: 99.97777425380113
                whiteboardData: {}
        type: CronJob
        version: v1.25.2
    flask-app-hpa:
        annotations: {}
        apiVersion: autoscaling/v2
        dependsOn: []
        id: null
        isAnnotation: null
        labels: {}
        model: kubernetes
        name: flask-app-hpa
        namespace: default
        settings:
            spec:
                max Replicas: 10
                metrics:
                    - resource:
                        name: cpu
                        target:
                            average Utilization: 50
                            type: Utilization
                      type: Resource
                min Replicas: 3
                scale Target Ref:
                    api Version: apps/v1
                    kind: Deployment
                    name: simple-flask-app
        traits:
            meshmap:
                edges: []
                fieldRefData: {}
                id: dcdf92ee-1673-4323-b84d-d7eaec67793e
                meshmodel-metadata:
                    isCustomResource: false
                    isNamespaced: true
                    model: kubernetes
                    primaryColor: '#326CE5'
                    secondaryColor: '#7aa1f0'
                    shape: circle
                    svgColor: ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg
                    svgWhite: ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg
                position:
                    posX: -64.5
                    posY: 110
                whiteboardData:
                    style: {}
        type: HorizontalPodAutoscaler
        version: ""
    flask-app-network-policy:
        annotations: {}
        apiVersion: networking.k8s.io/v1
        dependsOn: []
        id: null
        isAnnotation: null
        labels: {}
        model: kubernetes
        name: flask-app-network-policy
        namespace: default
        settings:
            spec:
                egress:
                    - ports:
                        - port: 443
                          protocol: TCP
                      to:
                        - ip Block:
                            cidr: 0.0.0.0/0
                            except:
                                - 169.254.0.0/16
                                - 172.16.0.0/12
                                - 192.168.0.0/16
                ingress:
                    - from:
                        - pod Selector:
                            match Labels:
                                tier: web
                      ports:
                        - port: 5000
                          protocol: TCP
                pod Selector:
                    match Labels:
                        app: simple-flask-app
                policy Types:
                    - Ingress
                    - Egress
        traits:
            meshmap:
                edges: []
                fieldRefData: {}
                id: 01aeba36-685e-4ab7-bb1b-be1ae986e94d
                meshmodel-metadata:
                    capabilities: ""
                    genealogy: ""
                    isAnnotation: false
                    isCustomResource: false
                    isNamespaced: true
                    logoURL: https://github.com/cncf/artwork/blob/master/projects/kubernetes/icon/white/kubernetes-icon-white.svg
                    model: kubernetes
                    modelDisplayName: Kubernetes
                    primaryColor: '#326CE5'
                    secondaryColor: '#7aa1f0'
                    shape: circle
                    status: enabled
                    styleOverrides:
                        z-index: 4
                    subCategory: Orchestration & Management
                    svgColor: ui/public/static/img/meshmodels/kubernetes/color/kubernetes-color.svg
                    svgComplete: ""
                    svgWhite: ui/public/static/img/meshmodels/kubernetes/white/kubernetes-white.svg
                position:
                    posX: 48.5
                    posY: 35
                whiteboardData:
                    style: {}
        type: NetworkPolicy
        version: ""
    flask-app-pvc:
        annotations: {}
        apiVersion: v1
        dependsOn: []
        id: null
        isAnnotation: null
        labels: {}
        model: kubernetes
        name: flask-app-pvc
        namespace: default
        settings:
            spec:
                access Modes:
                    - ReadWriteOnce
                resources:
                    requests:
                        storage: 1Gi
        traits:
            meshmap:
                edges: []
                fieldRefData: {}
                id: ec64f229-b4dc-46f7-bcef-ebef6ee979d2
                meshmodel-metadata:
                    capabilities: ""
                    defaultData: ""
                    genealogy: ""
                    isAnnotation: false
                    isCustomResource: false
                    isModelAnnotation: "FALSE"
                    isNamespaced: true
                    logoURL: https://github.com/cncf/artwork/blob/master/projects/kubernetes/icon/white/kubernetes-icon-white.svg
                    model: kubernetes
                    modelDisplayName: Kubernetes
                    primaryColor: '#326CE5'
                    secondaryColor: '#7aa1f0'
                    shape: round-rectangle
                    shapePolygonPoints: ""
                    status: enabled
                    styleOverrides:
                        z-index: 3
                    styles: ""
                    subCategory: ""
                    svgColor: ui/public/static/img/meshmodels/kubernetes/color/persistentvolumeclaim-color.svg
                    svgComplete: ""
                    svgWhite: ui/public/static/img/meshmodels/kubernetes/white/persistentvolumeclaim-white.svg
                position:
                    posX: 7.5
                    posY: 110
                whiteboardData:
                    style: {}
        type: PersistentVolumeClaim
        version: ""
    sidecar-logger:
        annotations: {}
        apiVersion: ""
        dependsOn:
            - simple-flask-app-xxtki
        id: null
        isAnnotation: null
        labels: {}
        model: meshery-core
        name: sidecar-logger
        namespace: ""
        settings: {}
        traits:
            meshmap:
                edges: []
                elementType: FIELD_REF_NODE
                fieldRefData:
                    elementType: FIELD_REF_NODE
                    fieldPath: spec.template.spec.containers[1]
                    jsonSchemaPath: properties.spec.allOf[0].properties.template.allOf[0].properties.spec.allOf[0].properties.containers.items.allOf[0]
                id: c89ab738-d32e-411d-9820-485e8ed5a80b
                label: spec.template.spec.containers[1]
                meshmodel-data:
                    category:
                        metadata: null
                        name: Orchestration & Management
                    components: null
                    description: ""
                    displayName: Meshery Core
                    hostID: 26e64aa8-2d86-57bd-92b3-2a73160d27b4
                    id: 71af0d59-f11b-5151-924a-f9f805edb3df
                    metadata:
                        isAnnotation: false
                        subCategory: App Definition and Development
                        svgColor: ui/public/static/img/meshmodels/meshery-core/color/meshery-core-color.svg
                        svgComplete: ""
                        svgWhite: ui/public/static/img/meshmodels/meshery-core/color/meshery-core-color.svg
                    model:
                        version: 0.7.2
                    name: meshery-core
                    registrant:
                        hostname: artifacthub
                    relationships: null
                    schemaVersion: models.meshery.io/v1beta1
                    status: enabled
                    subCategory: App Definition and Development
                    version: v1.0.0
                meshmodel-metadata:
                    capabilities: |-
                        {
                          "designer": {
                            "capabilities": {
                              "config": true,
                              "label": false,
                              "policy": false,
                              "relationships": true,
                              "json-schema": false,
                              "permissions": false,
                              "workflow": false,
                              "gitops": false,
                              "history": false
                            },
                            "supportsCompoundDragAndDrop": false,
                            "edit": {
                              "config": true,
                              "copy": false,
                              "delete": true,
                              "duplicate": false,
                              "reset-styles": false,
                              "resolve": false,
                              "lock": false,
                              "shape": {
                                "convert-shape": true
                              },
                              "style": true
                            },
                            "label": {
                              "edit": false,
                              "show": true,
                              "sync-with-config-property": "name"
                            }
                          }
                        }
                    defaultData: ""
                    genealogy: ""
                    hasInvalidSchema: true
                    isAnnotation: true
                    primaryColor: '#326CE5'
                    secondaryColor: '#00D3A9'
                    shape: circle
                    shapePolygonPoints: ""
                    status: enabled
                    styleOverrides:
                        height: 14.096001629349619px
                        width: 16.325650599278518px
                        z-index: 8
                    styles: ""
                    subCategory: ""
                    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
                parent: b804c17f-5512-4871-ad61-a79fddc23c86
                position:
                    posX: 25
                    posY: -50
                whiteboardData: {}
        type: Container
        version: ""
    simple-flask-app-service:
        annotations: {}
        apiVersion: v1
        dependsOn: []
        id: null
        isAnnotation: null
        labels: {}
        model: kubernetes
        name: simple-flask-app-service
        namespace: default
        settings:
            spec:
                ports:
                    - port: 80
                      target Port: 5000
                selector:
                    app: simple-flask-app
                    tier: web
                type: LoadBalancer
        traits:
            meshmap:
                edges:
                    - data:
                        id: 49a9d813-2ca3-45de-b362-fa30072d67c0
                        metadata:
                            port: 80
                            protocol: TCP
                        source: c74211af-45d0-4433-b9b1-b5a3d617e1fb
                        subType: Network
                        target: b804c17f-5512-4871-ad61-a79fddc23c86
                      style:
                        control-point-distances: null
                        control-point-weights: "0.5"
                        curve-style: bezier
                        haystack-radius: "0"
                        line-color: rgb(153,153,153)
                        line-style: dotted
                        opacity: "1"
                        segment-distances: 20px
                        segment-weights: "0.5"
                        target-arrow-shape: vee
                        taxi-direction: auto
                        taxi-turn: 50%
                        taxi-turn-min-distance: 10px
                        width: 1.5px
                fieldRefData: {}
                id: c74211af-45d0-4433-b9b1-b5a3d617e1fb
                meshmodel-metadata:
                    capabilities: ""
                    defaultData: ""
                    genealogy: ""
                    isAnnotation: false
                    isCustomResource: false
                    isModelAnnotation: "FALSE"
                    isNamespaced: true
                    logoURL: https://github.com/cncf/artwork/blob/master/projects/kubernetes/icon/white/kubernetes-icon-white.svg
                    model: kubernetes
                    modelDisplayName: Kubernetes
                    primaryColor: '#326CE5'
                    secondaryColor: '#7aa1f0'
                    shape: round-triangle
                    shapePolygonPoints: ""
                    status: enabled
                    styleOverrides:
                        background-position-y: 4.5
                        height: 20
                        padding: 12
                        width: 20
                        x: 10px
                        "y": 12px
                        z-index: 5
                    styles: '{"height":20,"width":20,"padding":12,"background-position-y":4.5,"x":"10px","y":"12px"}'
                    subCategory: ""
                    svgColor: ui/public/static/img/meshmodels/kubernetes/color/service-color.svg
                    svgComplete: ""
                    svgWhite: ui/public/static/img/meshmodels/kubernetes/white/service-white.svg
                position:
                    posX: -93.0829438127752
                    posY: 44.99521618475713
                whiteboardData:
                    style: {}
        type: Service
        version: ""
    simple-flask-app-xxtki:
        annotations: {}
        apiVersion: apps/v1
        dependsOn: []
        id: null
        isAnnotation: null
        labels:
            timeStamp: "8904"
        model: kubernetes
        name: simple-flask-app
        namespace: default
        settings:
            spec:
                replicas: 3
                selector:
                    match Labels:
                        app: simple-flask-app
                        tier: web
                template:
                    metadata:
                        labels:
                            app: simple-flask-app
                            tier: web
                            version: v1
                    spec:
                        containers:
                            - args: []
                              command: []
                              env: []
                              env From: []
                              image: suitec913/simple-flask-app:v1
                              name: simple-flask-app
                              ports:
                                - container Port: 5000
                              resources:
                                limits:
                                    cpu: 500m
                                    memory: 256Mi
                                requests:
                                    cpu: 100m
                                    memory: 128Mi
                              volume Devices: []
                              volume Mounts:
                                - mount Path: /app/data
                                  name: app-storage
                            - args:
                                - -c
                                - while true; do echo $(date) - Logging from sidecar; sleep 10; done
                              command:
                                - /bin/sh
                              image: busybox
                              name: sidecar-logger
                              resources:
                                limits:
                                    cpu: 100m
                                    memory: 128Mi
                                requests:
                                    cpu: 50m
                                    memory: 64Mi
                        volumes:
                            - name: app-storage
                              persistent Volume Claim:
                                claim Name: flask-app-pvc
        traits:
            meshmap:
                edges:
                    - data:
                        id: 49a9d813-2ca3-45de-b362-fa30072d67c0
                        metadata:
                            port: 80
                            protocol: TCP
                        source: c74211af-45d0-4433-b9b1-b5a3d617e1fb
                        subType: Network
                        target: b804c17f-5512-4871-ad61-a79fddc23c86
                      style:
                        control-point-distances: null
                        control-point-weights: "0.5"
                        curve-style: bezier
                        haystack-radius: "0"
                        line-color: rgb(153,153,153)
                        line-style: dotted
                        opacity: "1"
                        segment-distances: 20px
                        segment-weights: "0.5"
                        target-arrow-shape: vee
                        taxi-direction: auto
                        taxi-turn: 50%
                        taxi-turn-min-distance: 10px
                        width: 1.5px
                fieldRefData: {}
                id: b804c17f-5512-4871-ad61-a79fddc23c86
                meshmodel-metadata:
                    capabilities: |-
                        {
                          "fieldRefs": [
                            {
                              "fieldPath": "spec.template.spec.containers",
                              "jsonSchemaPath": "properties.spec.allOf[0].properties.template.allOf[0].properties.spec.allOf[0].properties.containers.items.allOf[0]",
                              "component": {
                                "kind": "Container",
                                "model": "meshery-core"
                              },
                              "renderChildren": true
                            },
                            {
                              "fieldPath": "spec.template.spec.init Containers",
                              "jsonSchemaPath": "properties.spec.allOf[0].properties.template.allOf[0].properties.spec.allOf[0].properties.init Containers.items.allOf[0]",
                              "component": {
                                "kind": "Container",
                                "model": "meshery-core"
                              },
                              "renderChildren": true
                            }
                          ],
                          "designer": {
                            "edit": {
                              "shape": {
                                "convert-shape": false
                              }
                            }
                          }
                        }
                    defaultData: ""
                    genealogy: parent
                    isAnnotation: false
                    isCustomResource: false
                    isModelAnnotation: "FALSE"
                    isNamespaced: true
                    logoURL: Created by Meshery Authors
                    model: kubernetes
                    modelDisplayName: Kubernetes
                    primaryColor: '#326CE5'
                    secondaryColor: '#7aa1f0'
                    shape: round-rectangle
                    shapePolygonPoints: ""
                    status: enabled
                    styleOverrides:
                        background-opacity: 0.5
                        border-width: 2
                        z-index: 6
                    styles: '{"border-width":2,"background-opacity":0.5}'
                    subCategory: ""
                    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
                position:
                    posX: -16
                    posY: -41
                whiteboardData:
                    style: {}
        type: Deployment
        version: ""
    simple-flask-app-ybeld:
        annotations: {}
        apiVersion: ""
        dependsOn:
            - simple-flask-app-xxtki
        id: null
        isAnnotation: null
        labels: {}
        model: meshery-core
        name: simple-flask-app
        namespace: ""
        settings: {}
        traits:
            meshmap:
                edges: []
                elementType: FIELD_REF_NODE
                fieldRefData:
                    elementType: FIELD_REF_NODE
                    fieldPath: spec.template.spec.containers[0]
                    jsonSchemaPath: properties.spec.allOf[0].properties.template.allOf[0].properties.spec.allOf[0].properties.containers.items.allOf[0]
                id: dc08f853-4878-436c-9960-c75e498883a4
                label: spec.template.spec.containers[0]
                meshmodel-data:
                    category:
                        metadata: null
                        name: Orchestration & Management
                    components: null
                    description: ""
                    displayName: Meshery Core
                    hostID: 26e64aa8-2d86-57bd-92b3-2a73160d27b4
                    id: 71af0d59-f11b-5151-924a-f9f805edb3df
                    metadata:
                        isAnnotation: false
                        subCategory: App Definition and Development
                        svgColor: ui/public/static/img/meshmodels/meshery-core/color/meshery-core-color.svg
                        svgComplete: ""
                        svgWhite: ui/public/static/img/meshmodels/meshery-core/color/meshery-core-color.svg
                    model:
                        version: 0.7.2
                    name: meshery-core
                    registrant:
                        hostname: artifacthub
                    relationships: null
                    schemaVersion: models.meshery.io/v1beta1
                    status: enabled
                    subCategory: App Definition and Development
                    version: v1.0.0
                meshmodel-metadata:
                    capabilities: |-
                        {
                          "designer": {
                            "capabilities": {
                              "config": true,
                              "label": false,
                              "policy": false,
                              "relationships": true,
                              "json-schema": false,
                              "permissions": false,
                              "workflow": false,
                              "gitops": false,
                              "history": false
                            },
                            "supportsCompoundDragAndDrop": false,
                            "edit": {
                              "config": true,
                              "copy": false,
                              "delete": true,
                              "duplicate": false,
                              "reset-styles": false,
                              "resolve": false,
                              "lock": false,
                              "shape": {
                                "convert-shape": true
                              },
                              "style": true
                            },
                            "label": {
                              "edit": false,
                              "show": true,
                              "sync-with-config-property": "name"
                            }
                          }
                        }
                    defaultData: ""
                    genealogy: ""
                    hasInvalidSchema: true
                    isAnnotation: true
                    primaryColor: '#326CE5'
                    secondaryColor: '#00D3A9'
                    shape: circle
                    shapePolygonPoints: ""
                    status: enabled
                    styleOverrides:
                        height: 10.823828772573147px
                        width: 12.530933314777299px
                        z-index: 7
                    styles: ""
                    subCategory: ""
                    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
                parent: b804c17f-5512-4871-ad61-a79fddc23c86
                position:
                    posX: -53.5
                    posY: -50
                whiteboardData: {}
        type: Container
        version: ""
version: 0.0.76
