aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--confluent-rest/rest.yml5
-rw-r--r--confluent-rest/schemas.yml5
2 files changed, 8 insertions, 2 deletions
diff --git a/confluent-rest/rest.yml b/confluent-rest/rest.yml
index 71e6c53..cd8e203 100644
--- a/confluent-rest/rest.yml
+++ b/confluent-rest/rest.yml
@@ -1,10 +1,13 @@
-apiVersion: apps/v1beta1
+apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: rest
namespace: kafka
spec:
replicas: 1
+ selector:
+ matchLabels:
+ app: rest-proxy
strategy:
type: RollingUpdate
rollingUpdate:
diff --git a/confluent-rest/schemas.yml b/confluent-rest/schemas.yml
index 50e6207..a78723f 100644
--- a/confluent-rest/schemas.yml
+++ b/confluent-rest/schemas.yml
@@ -1,10 +1,13 @@
-apiVersion: apps/v1beta1
+apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: schemas
namespace: kafka
spec:
replicas: 1
+ selector:
+ matchLabels:
+ app: schema-registry
strategy:
type: RollingUpdate
rollingUpdate: