K8s Governance & Cost Control
  • Quick Start Guide
  • Getting Started
    • Cluster Dashboard
    • Teams Dashboard
    • Namespace Dashboard
    • Node Dashboard
    • Settings Page
  • Concepts / Calculations
    • Calculations
    • Agent
    • Aggregator
    • Pushgateway
    • Server
    • Pricing API
  • Monitoring and Alerts
  • Settings
    • Users
    • Pending Invitations
    • Billing Credentials
    • Single Sign On (SAML)
    • Custom Cost
    • Cloud Costs (Out of Cluster Costs)
    • API Tokens
    • API Access
  • Changelog
    • Agent
    • Aggregator
    • Frontend
    • Pushgateway
    • Server
    • PricingAPI
Powered by GitBook
On this page
  1. Concepts / Calculations

Pricing API

Environment Variables

These are the environment variables used by the application:

Variable

Required

Default

Description

1

POSTGRES_DB

Yes

2

POSTGRES_USER

Yes

3

POSTGRES_PASSWORD

Yes

4

POSTGRES_HOST

Yes

5

POSTGRES_PORT

No

5432

6

PRICING_API_KEY

Yes

API key used for authorization

7

GOOGLE_API_KEY

If pricing mode is 'all' or includes 'gcp'

8

ENV

No

Options: production, development, test

9

BILLING_ENCRYPT_PASS

No

For en-/decrypting billing integration data

10

BILLING_ENCRYPT_SALT

No

For en-/decrypting billing integration data

11

PRICING_API_MODE

No

all

all, disable, any number of [gcp, azure, aws, custom, alibaba] comma-separated

12

ALIBABA_ACCESS_KEY_ID

If pricing mode is 'all' or includes 'alibaba'

Specifies the Access Key for the associated Alibaba account

13

ALIBABA_SECRET_ACCESS_KEY

If pricing mode is 'all' or includes 'alibaba'

Specifies the Secret Key for the associated Alibaba account

PreviousServerNextMonitoring and Alerts

Last updated 4 years ago