# MixingX Deploy This repository is the GitOps environment state for MixingX deployments. Responsibilities: - `applications/`: Argo CD Application manifests. - `environments/`: environment-specific Helm values. - Helm chart templates live in `mixingx.hub.chart.git`. - Application source code and CI live in `mixingx.hub.git`. Demo environment: 1. Register both repositories in Argo CD: - `https://gitee.com/mixing-tech/mixingx.deploy.git` - `https://gitee.com/mixing-tech/mixingx.hub.chart.git` 2. Apply or create `bootstrap/mixingx-demo-root.yaml`. 3. Argo CD will create/sync the applications under `applications/`. Agent fleet: - `applications/agents.yaml` is an Argo CD ApplicationSet. - `environments/demo/agent-common-values.yaml` contains shared Helm values for all agents. - Add or remove agent instances by editing `spec.generators[0].list.elements` in `applications/agents.yaml`. - Prefer `nodeLabel` over `nodeName`; label the target node so Kubernetes scheduler can still bind local-path PVCs. Example: ```bash kubectl label node node1 mixingx.io/edge-node=shanghai ``` ```yaml - id: shanghai description: Shanghai Agent nodeLabel: shanghai ```