apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: jitsi
  labels:
    k8s-app: prosody
  name: prosody
spec:
  selector:
    matchLabels:
      shard: "1"
  template:
    spec:
      containers:
      - name: prosody
      # avoid that pods of different shards share zone
      nodeSelector:
        topology.kubernetes.io/zone: asia-northeast3-b
    metadata:
      labels:
        shard: "1"
