# Cluster K8s # Init flux agent ### Install flux CLI curl -s https://fluxcd.io/install.sh | sudo bash ### Create flux agent for staging You need to be connected in dev-cluster-k8s by kubeconfig. export GITLAB_TOKEN= flux bootstrap gitlab \ --hostname=lab.s-web.fr \ --owner=ldc-web \ --repository=cluster-k8s \ --branch=deploy/staging \ --path=flux/staging \ --deploy-token-auth