apiVersion: v1 kind: Pod metadata: name: wordpress labels: name: wordpress spec: containers: - image: wordpress name: wordpress env: - name: WORDPRESS_DB_PASSWORD # change this - must match mysql.yaml password value: yourpassword ports: - containerPort: 80 name: wordpress volumeMounts: # name must match the volume name below - name: wordpress-persistent-storage # mount path within the container mountPath: /var/www/html volumes: - name: wordpress-persistent-storage gcePersistentDisk: # This GCE PD must already exist. pdName: wordpress-disk fsType: ext4