LogoLogo
  • User Guide
    • Getting Started
      • Building a Usage-Based Product in Revenium
      • Setting Up & Using API Analytics & Observability
      • Setting Up & Using Product Analytics
      • Sending Data to Revenium's Metering API
      • Key Concepts & Relationships
    • Connect Your Data
      • cURL Commands for Testing
      • Container-Native Metering
      • Kong
        • Kubernetes Installation
      • Salesforce
        • Revenium Unmanaged Package
          • Anypoint API Experience Hub (AEH)
            • Anypoint API Experience Hub Unmanaged Package Post Installation Instructions
          • Anypoint Community Manager (ACM)
            • Anypoint Community Manager Package Post Installation Instructions
        • Revenium Lightning Web Components
          • Add Components to Experience Cloud site
          • Drop-In Storefront
          • Product Card
          • Product Card (Anypoint)
          • Product Checkout
          • Product Details Button
          • Usage History
          • API Access Requester
      • MuleSoft
        • Metering Policy Configuration
        • Offline Metering Policy Configuration
        • Anypoint API & API Group Synchronization
        • Revenium Connector
        • Disable Default Anypoint Community Manager (ACM) Email Notifications
      • Gravitee
      • Istio
      • Envoy
      • AWS API Gateway
      • Python & Django
      • Golang
      • Spring Boot
      • .Net
      • NodeJs
      • Java/JVM
      • Snowflake
      • Azure API Management
      • IBM
      • Custom Integrations Using Metering Beacons
        • JWT Enrichment
      • Offline Metering via Log Parsing
    • Sources
      • Metering Elements
      • Alerts
        • Alert History
    • API Keys
    • Products & Pricing
      • Product Lines
      • Pricing Rules
        • Revenium Scripting Language
          • RSL Reference
        • Execution Logs
      • SLA Definitions
      • SLA Violation Review
    • Customers
      • Customers
      • Subscribers
      • Subscriptions
      • Subscribers Credentials
      • Subscribers Notifications
    • Billing and Invoicing
      • Manage Refunds
    • Analytics
      • Revenue Analytics
      • Product Analytics
        • Custom Reports (Products)
      • Subscriber Analytics
        • New Subscribers
        • (Daily/Weekly/Monthly) Active Subscribers
        • Most Engaged Subscribers & Customers
        • Historical Usage
      • API Analytics
        • Performance & Availability
        • Compare Periods
        • Traffic by Geography
        • Advanced Search
        • Custom Reports
    • Profile
      • Profile
      • Revenium API Documentation
    • Settings
      • Revenium Users & Organizations
        • Access Permissions by User Type
      • Revenium Subscription
      • Revenium Organizations
      • Notification Templates
      • Transactions Logs
        • Analytics Transaction Log
        • Product Transaction Log
        • Subscription Audit Log
        • No Code Transaction Testing
      • Integrations
        • Data Sync
        • Export Configurations
        • Notification Providers
        • Payment Configurations
          • Customer VAT ID Support
        • ERP Configurations
        • External Integration Logs
        • Identity Providers
      • System Logs
      • Default Configuration Limits
Powered by GitBook

© Revenium - www.revenium.io

On this page
  1. User Guide
  2. Connect Your Data
  3. Kong

Kubernetes Installation

The page documents how to install the Revenium Kong Metering Plugin on a Kubernetes cluster.

Last updated 9 months ago

The instructions on this page are based on Kong's helm custom plugin installation guide. The full documentation is available here:

Uncompress the Revenium Kong plugin and cd into the following directory:

cd src/kong/plugins/revenium

Create a configmap containing the plugin:

kubectl create configmap kong-plugin-revenium --from-file=reveniumPatch the ingress controller (per the Kong documentation):

Install Kong via Helm

helm install kong/kong --generate-name --set ingressController.installCRDs=false --values values.yaml

Edit plugin.yaml and change the following fields:

  • api: The Revenium Asset ID of the API being metering

  • hcUrl: The Metering Beacon URL

  • hcKey: The Metering Beacon API Key

Full details on configuring the Revenium Kong Plugin are available here:

apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
  name: revenium
config:
  api: lkpkW3:7d877eb7-19df-4b4c-8500-2958a4b1c734
  hcUrl: https://api.hypercurrent.io/meter/v1/api/meter
  hcKey: hak_mykey
plugin: revenium

Apply plugin.yaml

kubectl apply -f k8s/plugin.yaml

Apply the plugin the appropriate Ingress Resource

kubectl apply -f k8s/ingress-resource.yaml
https://docs.konghq.com/kubernetes-ingress-controller/latest/guides/setting-up-custom-plugins/
https://docs.revenium.io/integrations/kong/kubernetes-installation