diff --git a/consul/config_templates/httpbin-consul.yaml b/consul/config_templates/httpbin-consul.yaml index 488823a..70b1b09 100644 --- a/consul/config_templates/httpbin-consul.yaml +++ b/consul/config_templates/httpbin-consul.yaml @@ -13,12 +13,15 @@ spec: selector: app: httpbin --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: httpbin spec: replicas: 1 + selector: + matchLabels: + app: httpbin template: metadata: labels: @@ -32,4 +35,5 @@ spec: imagePullPolicy: IfNotPresent name: httpbin ports: - - containerPort: 80 \ No newline at end of file + - containerPort: 80 +