Git Product home page Git Product logo

ngx-istio-mixer's Introduction

NGINX dynamic module for Istio Mixer

Dependencies

Build system use Docker to generate the module binary.

Compatibility

  • 1.11.x (last tested with 1.13.5)

Synopsis

 http   {
 
 	 mixer_server istio-mixer.istio-system;
     mixer_port   9091;

 
	 server {
	 
	      mixer_source_ip     10.0.0.0;
          mixer_source_uid    kubernetes://productpage-v1-2213572757-758cs.beta1;
          mixer_source_service productpage.beta1.svc.cluster.local;
          mixer_destination_service abc.ns.svc.cluster.local;
          mixer_destination_uid details;
         
         
          location /  {
              mixer_report on;
              proxy_pass http://service1;
          }
         
            
			
	 }
		
 }	

Directives

mixer_server

- -
Syntax mixer_server <mixer_url_or_ip>
Default -
Context http

Description: Specify the mixer server address

mixer_port

- -
Syntax mixer_port <port_number>
Default -
Context http

Description: Specify the mixer server port

mixer_source_ip

- -
Syntax mixer_source_ip <ip_address>
Default -
Context server, location
Mixer attribute source.ip

Description: Standard mixer attribute Client IP address

mixer_source_uid

- -
Syntax mixer_source_uid
Default -
Context server, location
Mixer attribute source.uid

Description: Standard mixer attribute Platform-specific unique identifier for the client instance of the source service

mixer_source_service

- -
Syntax mixer_source_service
Default -
Context server, location
Mixer attribute source.service

Description: Standard mixer attribute The fully qualified name of the service that the client belongs to

mixer_source_port

- -
Syntax mixer_source_port
Default -
Context server, location
Mixer attribute source.service

Description: Standard mixer attribute The fully qualified name of the service that the client belongs to

mixer_source_labels

- -
Syntax mixer_source_labels
Default -
Context server
Mixer attribute source.labels

Description: Standard mixer attribute The map of key-value pairs attached to the client instance.

mixer_destination_service

- -
Syntax mixer_destination_service
Default -
Context server, location
Mixer attribute destination.servicee

Description: Standard mixer attribute The fully qualified name of the service that the server belongs to

mixer_destination_uid

- -
Syntax mixer_destination_service
Default -
Context server, location
Mixer attribute destination.uid

Description: Standard mixer attribute Platform-specific unique identifier for the server instance of the destination service.

mixer_destination_labels

- -
Syntax mixer_destination_labels
Default -
Context server
Mixer attribute destination.labels

Description: Standard mixer attribute A map of key-value pairs attached to the server instance.

Installation

  1. Clone the git repository
shell> git clone [email protected]:nginmesh/ngx-istio-mixer.git
  1. Build the dynamic module
shell> make build-base;make build-module

This copies the generated .so file into module/release directory

Running unit test

make test-unit

ngx-istio-mixer's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.