apiVersion: k3d.io/v1alpha5
kind: Simple
metadata:
  name: easyai-acceptance-local
servers: 3
agents: 0
image: rancher/k3s:v1.36.2-k3s1
kubeAPI:
  host: 127.0.0.1
  hostPort: "16550"
ports:
  - port: 18443:31088
    nodeFilters:
      - server:0
  - port: 19443:31089
    nodeFilters:
      - server:1
volumes:
  - volume: EASYAI_ACCEPTANCE_MEDIA_DIR:/var/lib/easyai-acceptance/media
    nodeFilters:
      - server:*
options:
  k3s:
    extraArgs:
      - arg: --disable=traefik
        nodeFilters:
          - server:*
      - arg: --disable=servicelb
        nodeFilters:
          - server:*
      - arg: --node-label=easyai.io/site=ningbo
        nodeFilters:
          - server:0
      - arg: --node-label=easyai.io/site=hongkong
        nodeFilters:
          - server:1
      - arg: --node-label=easyai.io/site=los-angeles
        nodeFilters:
          - server:2
      - arg: --node-label=easyai.io/workload=true
        nodeFilters:
          - server:0
          - server:1
      - arg: --node-label=easyai.io/database=true
        nodeFilters:
          - server:0
          - server:1
      - arg: --node-taint=easyai.io/control-plane-only=true:NoSchedule
        nodeFilters:
          - server:2
