Skip to main content

Installing Krateo PlatformOps with enviroment variables

Basic Installation

Installing Krateo with default configuration is quick and easy.

You will need:

  • Helm: These instructions were tested with v3.13.1.
  • A Kubernetes cluster.
note

Krateo PlatformOps installer is a flexible workflow engine that executes sequential steps. The installer-chart is a helper that provider already baked configurations for Krateo PlatformOps. It is however possible to implement a custom installer. Please check all the possible values supported by the chart.

Krateo PlatformOps is exposed via NodePort by default. In order to customize enviroment variables, you can proceed in the following way:

helm repo add krateo https://charts.krateo.io
helm repo update krateo
helm inspect values krateo/installer --version 2.5.0 > ~/krateo-values.yaml

Modify the krateo-values.yaml file as the following example:

krateoplatformops:
authn:
env:
http_proxy: http://127.0.0.1:3128
smithery:
env:
http_proxy: http://127.0.0.1:3128
snowplow:
env:
http_proxy: http://127.0.0.1:3128
eventrouter:
env:
http_proxy: http://127.0.0.1:3128
eventsse:
env:
http_proxy: http://127.0.0.1:3128
etcd:
env:
http_proxy: http://127.0.0.1:3128
frontend:
env:
http_proxy: http://127.0.0.1:3128
resourcetreehandler:
env:
http_proxy: http://127.0.0.1:3128
coreprovider:
env:
http_proxy: http://127.0.0.1:3128
cdc:
env:
http_proxy: http://127.0.0.1:3128
chart-inspector:
env:
http_proxy: http://127.0.0.1:3128
oasgenprovider:
env:
http_proxy: http://127.0.0.1:3128
rdc:
env:
http_proxy: http://127.0.0.1:3128
finopscratedb:
env:
http_proxy: http://127.0.0.1:3128
finopsoperatorexporter:
env:
http_proxy: http://127.0.0.1:3128
finopsoperatorfocus:
env:
http_proxy: http://127.0.0.1:3128
finopsdatabasehandler:
env:
http_proxy: http://127.0.0.1:3128
finopscompositiondefinitionparser:
env:
http_proxy: http://127.0.0.1:3128
finopsoperatorscraper:
env:
http_proxy: http://127.0.0.1:3128
opa:
env:
http_proxy: http://127.0.0.1:3128

Install Krateo PlatformOps:

helm upgrade installer installer \
--repo https://charts.krateo.io \
--namespace krateo-system \
--create-namespace \
-f ~/krateo-values.yaml
--install \
--version 2.5.0 \
--wait

Wait for Krateo PlatformOps to be up&running:

kubectl wait krateoplatformops krateo --for condition=Ready=True --namespace krateo-system --timeout=500s

At the end of this process:

  • The Krateo Composable Portal will be accessible at port 30080.
  • The admin user password can be retrieved with the following command:
kubectl get secret admin-password  -n krateo-system -o jsonpath="{.data.password}" | base64 -d
info

The installer by default deploys a composable-portal-starter collection of potyal examples to immediately start to play with Krateo PlatformOps. The chart is available here: https://github.com/krateoplatformops/composable-portal-starter.