diff options
author | Staffan Olsson <staffan@repos.se> | 2017-11-09 14:10:49 +0100 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-11-09 14:13:31 +0100 |
commit | 233ade373c10b0d3d8b66cd6e57fc62b293c3f1a (patch) | |
tree | 8beb53ed617174e7a5eb023ba3d37e825f72ad4d | |
parent | 6fd8fc0ceb13dee4578b0ba5280c0beecf857270 (diff) | |
download | kubernetes-kafka-233ade373c10b0d3d8b66cd6e57fc62b293c3f1a.tar.gz kubernetes-kafka-233ade373c10b0d3d8b66cd6e57fc62b293c3f1a.tar.bz2 kubernetes-kafka-233ade373c10b0d3d8b66cd6e57fc62b293c3f1a.zip |
Switches to ReplicaSet from Deployment, because configmap ...
resources as scripts void the Deployment behavior anyway.
And besides, there's no need to manage these tests like production resources.
-rw-r--r-- | test/kafkacat.yml | 4 | ||||
-rw-r--r-- | test/produce-consume.yml | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/test/kafkacat.yml b/test/kafkacat.yml index f21c280..61465c7 100644 --- a/test/kafkacat.yml +++ b/test/kafkacat.yml @@ -86,14 +86,12 @@ spec: restartPolicy: Never --- apiVersion: apps/v1beta2 -kind: Deployment +kind: ReplicaSet metadata: name: test-kafkacat namespace: test-kafka spec: replicas: 1 - strategy: - type: Recreate selector: matchLabels: test-target: kafka-client-kafkacat diff --git a/test/produce-consume.yml b/test/produce-consume.yml index 519cccc..a326f01 100644 --- a/test/produce-consume.yml +++ b/test/produce-consume.yml @@ -71,14 +71,12 @@ spec: restartPolicy: Never --- apiVersion: apps/v1beta2 -kind: Deployment +kind: ReplicaSet metadata: name: produce-consume namespace: test-kafka spec: replicas: 1 - strategy: - type: Recreate selector: matchLabels: test-target: kafka-client-console |