diff --git a/Chapter10/kubia-statefulset.yaml b/Chapter10/kubia-statefulset.yaml index 3e35691..4244672 100644 --- a/Chapter10/kubia-statefulset.yaml +++ b/Chapter10/kubia-statefulset.yaml @@ -1,10 +1,13 @@ -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: kubia spec: serviceName: kubia replicas: 2 + selector: + matchLabels: + app: kubia # has to match .spec.template.metadata.labels template: metadata: labels: