A Multi-Cloud and Multi-Region Kubernetes CI/CD Agent for ArgoCD
5.9K
Gravity Agent for k8s is a multi-cloud and multi-region deployment tool. It enables easy replication of applications, low-code CI/CD setup on top of ArgoCD.


gravity.yaml file to the root of your repository.You can use the following example as a template:
metadata:
name: nodejs-app
spec:
branch:
- name: main
approval: manual
- name: development
approval: automatic
aws:
repository:
- name: nodejs-app-east
regions:
- us-east-1
branch: main
valueFile:
source: s3
bucket: gravity-app-prod-values
If you are using Github to store the values file, you can use the following example to setup the repository:
metadata:
name: nodejs-app
spec:
branch:
- name: main
approval: manual
- name: development
approval: automatic
aws:
repository:
- name: nodejs-app-east
regions:
- us-east-1
branch: main
valueFile:
source: git
Deploy and only run CI, tests and any business logic to generate values file (such as secrets, no need to manage docker images)example.env file with the required variables.GRAVITY_API_KEY=
GITHUB_TOKEN=
GITHUB_REPOSITORIES=array-separated-by-comma,second-repo
AWS_ACCESS_KEY_ID=access-key-with-ecr-login-and-push-permissions
AWS_SECRET_ACCESS_KEY=
AWS_ACCOUNT_ID=
POSTGRES_HOST=postgres-gravity-service
POSTGRES_DB=postgres
POSTGRES_USER=
POSTGRES_PASSWORD=
SLACK_WEBHOOK_URL=
ENV=production
GRAVITY_WEBSOCKET_URL=wss://api.gravitycloud.ai
GIT_BRANCHES_ALLOWED=main,staging
export $(grep -v '^#' example.env | xargs) && envsubst < deployment.yaml > deployment_subst.yaml to generate the deployment.yaml file with the actual values.kubectl apply -f deployment_subst.yaml.Content type
Image
Digest
sha256:8cb308a28…
Size
358.3 MB
Last updated
over 1 year ago
docker pull gravitycloud/gravity-ci-cd-agent