name: Pod Volume Mount SubPath
services:
  volumes-subpath-pod:
    name: volumes-subpath-pod
    type: Pod
    apiVersion: v1
    namespace: default
    model: kubernetes
    settings:
      spec:
        containers:
        - env:
          - name: MYSQL_ROOT_PASSWORD
            value: rootpasswd
          image: mysql
          name: mysql
          volume Mounts:
          - mount Path: /var/lib/mysql
            name: site-data
            sub Path: mysql
        - image: php:7.0-apache
          name: php
          volume Mounts:
          - mount Path: /var/www/html
            name: site-data
            sub Path: html
        volumes:
        - name: site-data
          persistent Volume Claim:
            claim Name: my-lamp-site-data
    traits:
      meshmap:
        edges: []
        id: 40c5f77e-14d0-4470-b9ab-01a1c3a1a872
        label: volumes-subpath-pod
        meshmodel-metadata:
          capabilities: ""
          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'
          published: true
          secondaryColor: '#7aa1f0'
          shape: round-rectangle
          styleOverrides: ""
          subCategory: Scheduling & Orchestration
          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: 90
          posY: 90
        whiteboardData:
          style:
            z-index: 3
