Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hekike/outlier-istio

Root cause analysis tool for Kubernetes Istio.
https://github.com/hekike/outlier-istio

istio kubernetes prometheus

Last synced: about 1 month ago
JSON representation

Root cause analysis tool for Kubernetes Istio.

Awesome Lists containing this project

README

        

# outlier-istio

[![CircleCI](https://circleci.com/gh/hekike/outlier-istio.svg?style=svg&circle-token=5504d6f60f8b1217aadf87342112f6d29ccaac2a)](https://circleci.com/gh/hekike/outlier-istio)

Root cause analysis tool for Kubernetes Istio.

Outlier detection with approximate median latency for Istio workloads.

![outlier-istio workloads](https://user-images.githubusercontent.com/1764512/48328025-e1559d00-e5f6-11e8-8129-15ff9c003554.png)

![outlier-istio workload](https://user-images.githubusercontent.com/1764512/48328024-e1559d00-e5f6-11e8-8a31-237ad0afad9a.png)

## Components

- Frontend: https://github.com/hekike/outlier-web

## Install

**Requirements**

- Istio (with Prometheus)

```sh
kubectl create -f ./examples/istio/deployment.yaml
```

**Test**

```sh
kubectl -n istio-system port-forward deployment/outlier-istio 8080
open http://localhost:8080
```

### Config

**Environment variables**

- `PROMETHEUS_HOST`, optional, default: http://prometheus.istio-system.svc.cluster.local:9090
- `PORT`, optional, default: 8080

## API

Inlined OpenAPI (Swagger).

### Requirements

https://goswagger.io

```sh
brew tap go-swagger/go-swagger
brew install go-swagger
```

### Generate

```sh
swagger generate spec -o swagger.json
swagger serve swagger.json
```