Install

How to install StackGres

StackGres is designed to be extremely easy to install: type in just one command to have it installed. There are two main installation procedures: via kubectl or with Helm.

Use kubectl for quick installation and getting started, and Helm for production-ready/scripted installation.

Both have default values and there’s options to customize both. For further information, please refer to the Install section on the StackGres Documentation.

Installation via kubectl

For getting started and demo purposes

For the quickest installation, just use the default install and apply the URL with kubectl. If you want to customize the namespace where to install StackGres, how to expose the Web Console or whether to enable/disable embedded monitoring, select the Customized parameters tab and use your custom values.

  • kubectl apply -f 'https://sgres.io/install'
  • kubectl apply -f 'https://sgres.io/install'


If you need further customization, and for production installations, please consider the Helm installation method.

Installation via helm

For production use and installation automation

Helm template is fully customizable. You may create your own values.yaml file. Check all the available parameters. Below is a simple form to help you quickly personalize some of the most common ones:

  • helm install --create-namespace --namespace stackgres stackgres-operator --set-string adminui.service.type=LoadBalancer https://stackgres.io/downloads/stackgres-k8s/stackgres/latest/helm/stackgres-operator.tgz
  • helm install --create-namespace --namespace stackgres stackgres-operator --set-string adminui.service.type=LoadBalancer https://stackgres.io/downloads/stackgres-k8s/stackgres/latest/helm/stackgres-operator.tgz