docs

Install

One command. The installer bootstraps ArgoCD, then ArgoCD deploys the rest from your repo.

Requirements

  • A Kubernetes clusterk3s, RKE2 or Talos on your own servers, EKS, GKE, AKS, minikube… Community needs 2 vCPU / 6 GB RAM (8 GB recommended). None yet? Use k3s.
  • CLI toolskubectl (pointing at the cluster), helm and git. AI Platform / Enterprise also need yq v4. The Community installer downloads it to ~/kien-stack/.bin for its own run. To run ./install.sh doctor later (from your fork's clone, ~/kien-stack/repo by default), install yq v4 or add ~/kien-stack/.bin to your PATH.
  • A Git repoOn GitHub, GitLab or any Git host: your copy of the repo lives there, and ArgoCD pulls from it. The included CI checks run on GitHub Actions only.
  • A read-only tokenAI Platform / Enterprise only. Your copy is private, so the installer and ArgoCD need a token from your Git host to read it. See step 2.

Step by step

  1. Get your copy of the repo

    Community: fork the core repository, or copy it to your Git host the same way as below.

    AI Platform / Enterprise: copy the private repo you were invited to (kien-stack/ai-platform or kien-stack/enterprise) into a new private repo of your own. Do not fork it: a fork of a private repo depends on your access to ours. Create an empty private repo on your Git host (GitHub, GitLab…), then:

    git clone https://github.com/kien-stack/<pack>.git <your-copy>
    cd <your-copy>
    git remote set-url origin https://<your-git-host>/<you>/<your-copy>.git
    git push -u origin main
  2. Run the installer

    Community:

    curl -fsSL https://raw.githubusercontent.com/kien-stack/core/main/scripts/install.sh | bash

    AI Platform / Enterprise: create a read-only token for your copy on your Git host (on GitHub, a fine-grained token; on GitLab, a project access token with read_repository). Pass it with your username, from your clone:

    cd <your-copy>
    GIT_USERNAME=<user> GIT_TOKEN=<read-only-token> ./install.sh

    Community: it first checks the tools and the cluster, and stops if something is missing. AI Platform / Enterprise: on the first run it asks the questions and pushes your settings first. It then runs the same checks (the doctor) and stops before installing anything if one fails.

    AI Platform / Enterprise: the doctor checks your repo with the token, and the installer saves it in the cluster as the ArgoCD repository secret argocd/gitops-repo, so ArgoCD can pull. It is never written to Git. Your usual Git login is not used for this check: without GIT_TOKEN, the doctor stops with “Git repo unreachable” and ArgoCD is not installed. The installer pushes your settings with your usual Git login, so the token can stay read-only.

  3. Answer the questions

    Domain: apps are exposed as <app>.<domain>, e.g. argocd.acme.com. Leave empty to get <ip>.sslip.io with self-signed certificates.

    Email: used by Let's Encrypt for the TLS certificates. Leave empty for self-signed certificates. With an email, *.<domain> must point to Traefik and port 80 must be open from the Internet: see Switch to Let's Encrypt.

    IP: the address your browser uses to reach Traefik, used for <ip>.sslip.io. The default is detected from the cluster. AI Platform / Enterprise ask for it only when the domain is empty.

  4. Commit and push your settings

    The installer writes cluster.yaml and your repo URL in argocd/, shows the diff, then commits and pushes.

    Why: ArgoCD only reads Git. Settings that are not pushed are not deployed.

  5. Bootstrap ArgoCD

    The installer installs ArgoCD with Helm and applies argocd/app-of-apps.yaml. From here, ArgoCD manages everything, including itself.

  6. ArgoCD deploys the platform

    The installer waits until every Application is Synced and Healthy, then prints the URLs and the ArgoCD admin login.

  7. Done: from now on, push

    The installer is a one-time bootstrap. Every later change is a commit. See the workflow.

Troubleshooting

Checks the tools, the cluster and the repo (including unpushed changes), without installing anything:

./install.sh doctor

AI Platform / Enterprise: pass the token here too, or the repo check fails:

GIT_USERNAME=<github-user> GIT_TOKEN=<read-only-token> ./install.sh doctor

No cluster? k3s

On any Linux machine or VM, k3s gives you a cluster in about a minute. Its built-in Traefik is disabled because kinops installs its own. k3s also runs its own metrics-server. The Community installer handles that for you. For AI Platform / Enterprise, comment out the metrics-server entry in argocd/applications/platform/appset.yaml, then commit and push, or the doctor stops.

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable traefik" sh -
mkdir -p ~/.kube
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
sudo chown $USER ~/.kube/config

Need Cilium or a LAN load balancer? See the options.