Setting up an Ops Center

An Ops Center controls access and lifecycle of Applicaion Clusters and provides a distribution endpoint for Application Bundles to be installed on Gravity Clusters.


Generating a token

To install an Ops Center, a shared token needs to be generated to allow multiple nodes of a Cluster to join. This token will be used in an environment variable named TOKEN:

$ export TOKEN="$(uuidgen)"

Automatic Provisioning

Included in the Quickstart repository is a configuration to provision a Vagrant VM, as well as an AWS instance to run the Ops Center.

Manual Provisioning

Install Gravity:

$ curl | bash

Pull the latest Ops Center:

$ tele pull opscenter -o installer.tar
$ tar xvf ./installer.tar

Run the standalone install:

$ ./gravity install --advertise-addr=(server IP address) --token=(TOKEN) --flavor=(flavor) --cluster=(cluster name)


Setting up DNS

After provisioning, DNS records should be created with hostname at either the provisioned ELB load balancer (for AWS) or the IP of the virtual machine (for Vagrant)

Wildcard DNS name

The Ops Center DNS records should be wildcard, both * and should point to the IP address of the Ops Center service or load balancer.

Setting up OIDC

After installation OIDC provider should be set up in order to login to the Ops Center.

Setting up TLS Key Pair

After installation, a valid TLS key pair should be set up in order to login to the Ops Center.

TLS Certificate

The Ops Center has to use a valid, not self-signed TLS certificate to function properly.

Configuring endpoints

See Configuring Ops Center Endpoints for information on how to configure Ops Center management endpoints.

Upgrading Ops Center

Log into a root terminal on the OpsCenter server.

Update the tele binary:

$ curl -LO{VERSION}/linux/x86_64/tele
$ chmod +x ./tele

Fetch the latest Ops Center application using tele:

$ ./tele pull opscenter:{VERSION} -o installer.tar

This will automatically download into the current directory as installer.tar.

This archive provides all dependencies required for the update, including new gravity binaries, install and upgrade scripts.

Extract the tarball:

$ tar xvf installer.tar

Start the upgrade procedure using upgrade script:

$ ./upgrade

Read more about upgrade procedure here.


Users who use an external load balancer may need to update their configuration after the upgrade to reference new port assignments.

Gravity Enterprise

Gravity Enterprise enhances Gravity Community, the open-source Kubernetes packaging solution, to meet security and compliance requirements. It is trusted by some of the largest enterprises in software, finance, healthcare, security, telecom, government, and other industries.

Demo Gravity Enterprise

Gravity Community

Gravity Community is an upstream Kubernetes packaging solution that takes the drama out of on-premise deployments. Gravity Community is open-source software that anyone can download and install for free.

Download Gravity Community