# With kubectl -n kafka port-forward kafka-0 9094
bases:
- ../scale-1-ephemeral
patchesStrategicMerge:
- jmx-disable.yaml
patchesJson6902:
# Currently these duplicate each others' directives to avoid an apply -k error: found conflict between different patches
- target:
    group: apps
    version: v1
    kind: StatefulSet
    name: kafka
  path: listener-localhost.json
- target:
    group: apps
    version: v1
    kind: StatefulSet
    name: kafka
  path: auto-create-topics.json

# With kubectl -n kafka port-forward kafka-0 9094
bases:
- ../scale-1
patchesStrategicMerge:
- jmx-disable.yaml
patchesJson6902:
# Currently these duplicate each others' directives to avoid an apply -k error: found conflict between different patches
- target:
    group: apps
    version: v1
    kind: StatefulSet
    name: kafka
  path: listener-localhost.json
- target:
    group: apps
    version: v1
    kind: StatefulSet
    name: kafka
  path: auto-create-topics.json

Use persistent volumes for dev-small because ephemeral can surprise
Use persistent volumes for dev-small because ephemeral can surprise

users for example with topic metadata being lost after microk8s pause
