diff --git a/deployments/nginx.yaml b/deployments/nginx.yaml index c9d33fd..4b79f88 100644 --- a/deployments/nginx.yaml +++ b/deployments/nginx.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: labels: @@ -6,11 +6,13 @@ metadata: name: nginx spec: replicas: 1 + selector: + matchLabels: + name: nginx template: metadata: labels: - app: nginx - name: nginx + name: nginx spec: schedulerName: hightower containers: