update app spec example
@@ -19,11 +19,14 @@ provisioner: kubernetes.io/portworx-volume
parameters:
repl: "2"
---
-apiVersion: apps/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: mysql
spec:
+ selector:
+ matchLabels:
+ app: mysql
strategy:
rollingUpdate:
maxSurge: 1
