• Stars
    star
    387
  • Rank 110,971 (Top 3 %)
  • Language
    Go
  • License
    Mozilla Public Li...
  • Created over 5 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple service for testing upstream service communications

Fake Service

Fake service that can handle both HTTP and gRPC traffic, for testing upstream service communications and testing service mesh and other scenarios.

Binaries: https://github.com/nicholasjackson/fake-service/releases/
Docker Images: https://hub.docker.com/r/nicholasjackson/fake-service

Basic usage

To run fake service, first download the correct version for your platform from the releases page. Then run the following command to start the service and bind it to all ip addresses on port 19090:

LISTEN_ADDR=0.0.0.0:19090 fake-service

You will see the following output:

2021-12-26T14:57:19.222Z [INFO]  Using seed: seed=1640530639
2021-12-26T14:57:19.222Z [INFO]  Adding handler for UI static files
2021-12-26T14:57:19.223Z [INFO]  Settings CORS options: allow_creds=false allow_headers=Accept,Accept-Language,Content-Language,Origin,Content-Type allow_origins=*
2021-12-26T14:57:19.223Z [INFO]  Started service: name=Code upstreamURIs= upstreamWorkers=1 listenAddress=0.0.0.0:19090

Next let's try to connect to the service using the curl:

curl localhost:19090

Fake service will respond with a json payload similar to the following:

{
  "name": "Code",
  "uri": "/",
  "type": "HTTP",
  "ip_addresses": [
    "172.21.166.161"
  ],
  "start_time": "2021-12-26T14:58:47.248837",
  "end_time": "2021-12-26T14:58:47.249039",
  "duration": "202.008µs",
  "body": "Hello World",
  "code": 200
}

You could have also made this request using the browser based ui that is available at the following url: http://localhost:19090/ui

Let's now see how you can make a gRPC request to fake service using gRPCurl

 grpcurl -plaintext localhost:19090 FakeService.Handle
{
  "Message": "{\n  \"name\": \"Code\",\n  \"type\": \"gRPC\",\n  \"ip_addresses\": [\n    \"172.21.166.161\"\n  ],\n  \"start_time\": \"2021-12-26T15:03:27.384751\",\n  \"end_time\": \"2021-12-26T15:03:27.384805\",\n  \"duration\": \"53.961µs\",\n  \"body\": \"Hello World\",\n  \"code\": 0\n}\n"
}

The gRPC endpoint returns a message with a single parameter that contains the same json payload that was returned by the HTTP endpoint. You can use jq to extract this message using the folowing command:

➜ grpcurl -plaintext localhost:19090 FakeService.Handle | jq -r .Message
{
  "name": "Code",
  "type": "gRPC",
  "ip_addresses": [
    "172.21.166.161"
  ],
  "start_time": "2021-12-26T15:05:30.281199",
  "end_time": "2021-12-26T15:05:30.281257",
  "duration": "57.889µs",
  "body": "Hello World",
  "code": 0
}

There are a many more advance use cases from linking multiple services together or controlling the response duration or error threshold. These options can be set using environment variables.

Configuration

Configuration values for fake service are set using environment variables, the following is a full list of permissable options:

Configuration values are set using environment variables, for info please see the following list:

Environment variables:
  UPSTREAM_URIS  default: no default
       Comma separated URIs of the upstream services to call
  UPSTREAM_WORKERS  default: '1'
       Number of parallel workers for calling upstream services, default is 1 which is sequential operation
  UPSTREAM_REQUEST_BODY  default: no default
       Request body to send to send with upstream requests, NOTE: UPSTREAM_REQUEST_SIZE and UPSTREAM_REQUEST_VARIANCE are ignored if this is set
  UPSTREAM_REQUEST_SIZE  default: '0'
       Size of the randomly generated request body to send with upstream requests
  UPSTREAM_REQUEST_VARIANCE  default: '0'
       Percentage variance of the randomly generated request body
  MESSAGE  default: 'Hello World'
       Message to be returned from service, can either be a string or valid JSON. To display content in the UI, valid HTML can be included in this variable.
  NAME  default: 'Service'
       Name of the service
  LISTEN_ADDR  default: '0.0.0.0:9090'
       IP address and port to bind service to
  ALLOWED_ORIGINS  default: '*'
       Comma separated list of allowed origins for CORS requests
  ALLOWED_HEADERS  default: 'Accept,Accept-Language,Content-Language,Origin,Content-Type'
       Comma separated list of allowed headers for CORS requests
  ALLOW_CREDENTIALS  default: 'false'
       Are credentials allowed for CORS requests
  HTTP_SERVER_KEEP_ALIVES  default: 'false'
       Enables the HTTP servers handling of keep alives.
  HTTP_SERVER_READ_TIMEOUT  default: '5s'
       Maximum duration for reading an entire HTTP request, if zero no read timeout is used.
  HTTP_SERVER_READHEADER_TIMEOUT  default: '0s'
       Maximum duration for reading the HTTP headers, if zero read timeout is used.
  HTTP_SERVER_WRITE_TIMEOUT  default: '10s'
       Maximum duration for writing HTTP body, if zero no write timeout is used.
  HTTP_SERVER_IDLE_TIMEOUT  default: '30s'
       Maximum duration to wait for next request when HTTP Keep alives are used.
  HTTP_CLIENT_KEEP_ALIVES  default: 'false'
       Enable HTTP connection keep alives for upstream calls
  HTTP_CLIENT_REQUEST_TIMEOUT  default: '30s'
       Maximum duration for upstream service requests
  HTTP_CLIENT_APPEND_REQUEST  default: 'true'
       When true the path, querystring, and any headers sent to the service will be appended to any upstream calls
  TIMING_50_PERCENTILE  default: '0s'
       Median duration for a request
  TIMING_90_PERCENTILE  default: '0s'
       90 percentile duration for a request, if no value is set, will use value from TIMING_50_PERCENTILE
  TIMING_99_PERCENTILE  default: '0s'
       99 percentile duration for a request, if no value is set, will use value from TIMING_90_PERCENTILE
  TIMING_VARIANCE  default: '0'
       Percentage variance for each request, every request will vary by a random amount to a maximum of a percentage of the total request time
  ERROR_RATE  default: '0'
       Decimal percentage of request where handler will report an error. e.g. 0.1 = 10% of all requests will result in an error
  ERROR_TYPE  default: 'http_error'
       Type of error [http_error, delay]
  ERROR_CODE  default: '500'
       Error code to return on error
  ERROR_DELAY  default: '0s'
       Error delay [1s,100ms]
  RATE_LIMIT  default: '0'
       Rate in req/second after which service will return an error code
  RATE_LIMIT_CODE  default: '503'
       Code to return when service call is rate limited
  LOAD_CPU_CLOCK_SPEED  default: '1000'
       MHz of a single logical core, default 1000Mhz
  LOAD_CPU_CORES  default: '-1'
       Number of logical cores to generate fake CPU load over, by default fake-service will use all cores
  LOAD_CPU_PERCENTAGE  default: '0'
       Percentage of CPU cores to consume as a percentage. I.e: 50, 50% load for LOAD_CPU_CORES. If LOAD_CPU_ALLOCATED 
       is not specified CPU percentage is based on the Total CPU available
  LOAD_MEMORY_PER_REQUEST  default: '0'
       Memory in bytes consumed per request
  LOAD_MEMORY_VARIANCE  default: '0'
       Percentage variance of the memory consumed per request, i.e with a value of 50 = 50%, and given a LOAD_MEMORY_PER_REQUEST of 1024 bytes, actual consumption per request would be in the range 516 - 1540 bytes
  TRACING_ZIPKIN  default: no default
       Location of Zipkin tracing collector
  TRACING_DATADOG_HOST  default: no default
       Hostname or IP for Datadog tracing collector
  TRACING_DATADOG_PORT  default: '8126'
       Port for Datadog tracing collector
  METRICS_DATADOG_HOST  default: no default
       Hostname or IP for Datadog metrics collector
  METRICS_DATADOG_PORT  default: '8125'
       Port for Datadog metrics collector
  LOG_FORMAT  default: 'text'
       Log file format. [text|json]
  LOG_LEVEL  default: 'info'
       Log level for output. [info|debug|trace|warn|error]
  LOG_OUTPUT  default: 'stdout'
       Location to write log output, default is stdout, e.g. /var/log/web.log
  TLS_CERT_LOCATION  default: no default
       Location of PEM encoded x.509 certificate for securing server
  TLS_KEY_LOCATION  default: no default
       Location of PEM encoded private key for securing server
  HEALTH_CHECK_RESPONSE_CODE  default: '200'
       Response code returned from the HTTP health check at /health
  READY_CHECK_RESPONSE_SUCCESS_CODE  default: '200'
       Response code returned from the HTTP readiness handler `/ready` after the response delay has elapsed
  READY_CHECK_RESPONSE_FAILURE_CODE  default: '503'
       Response code returned from the HTTP readiness handler `/ready` before the response delay has elapsed, this simulates the response code a service would return while starting
  READY_CHECK_ROOT_PATH_WAIT_TILL_READY  default: 'false'
       Should the main handler at path `/` or the gRPC method `FakeService` wait for the readiness check to pass before returning a response?
  READY_CHECK_RESPONSE_DELAY  default: '0s'
       Delay before the readyness check returns the READY_CHECK_RESPONSE_CODE
  RAND_SEED  default: '1637512822'
       A seed to initialize the random number generators

Tracing

When the TRACING_ZIPKIN environment variable is configured to point to a Zipkin compatible collector, Fake Service, will output traces using the OpenTracing library. These can be viewed Jaeger Tracing or other tools which support OpenTracing.

Examples

Docker Compose - examples/docker-compose

This example shows a multi-tier system running in docker compose consisting of 4 services which emit tracing data to Jaeger Tracing.

web - type HTTP
  |-- api (upstream calls to payments and cache in parallel) - type gRPC
      |-- payments - type HTTP
      |   |-- currency - type HTTP
      |-- cache - type HTTP

To run the example:

$ cd examples/docker-compose
$ docker-compose up
Starting docker-compose_currency_1 ... done
Starting docker-compose_cache_1    ... done
Starting docker-compose_api_1      ... done
Starting docker-compose_payments_1 ... done
Starting docker-compose_jaeger_1   ... done
Starting docker-compose_web_1      ... done
Attaching to docker-compose_payments_1, docker-compose_api_1, docker-compose_cache_1, docker-compose_web_1, docker-compose_currency_1, docker-compose_jaeger_1
payments_1  | 2019-08-16T12:15:01.362Z [INFO]  Starting service: name=payments message="Payments response" upstreamURIs=http://currency:9090 upstreamWorkers=1 listenAddress=0.0.0.0:9090 http_client_keep_alives=false zipkin_endpoint=http://jaeger:9411
cache_1     | 2019-08-16T12:15:01.439Z [INFO]  Starting service: name=cache message="Cache response" upstreamURIs= upstreamWorkers=1 listenAddress=0.0.0.0:9090 http_client_keep_alives=false zipkin_endpoint=http://jaeger:9411

Then curl the HTTP endpoint:

➜ curl -s localhost:9090 | jq
{
  "name": "web",
  "type": "HTTP",
  "duration": "25.4975ms",
  "body": "Hello World",
  "upstream_calls": [
    {
      "name": "api",
      "uri": "grpc://api:9090",
      "type": "gRPC",
      "duration": "20.8857ms",
      "body": "API response",
      "upstream_calls": [
        {
          "name": "payments",
          "uri": "http://payments:9090",
          "type": "HTTP",
          "duration": "8.462ms",
          "body": "Payments response",
          "upstream_calls": [
            {
              "name": "currency",
              "uri": "http://currency:9090/12434/jackson?auth=true",
              "type": "HTTP",
              "duration": "224.9µs",
              "body": "Currency response"
            }
          ]
        },
        {
          "name": "cache",
          "uri": "http://cache:9090",
          "type": "HTTP",
          "duration": "500.5µs",
          "body": "Cache response"
        }
      ]
    }
  ]
}

Tracing data can be seen using Jaeger which is running at http://localhost:16686.

Error Injection

Fake Service has the capability to simulate service errors, this feature can be used to test reliability patterns, particularly those which are externailized in a service mesh. The errors which Fake Service can simulate are:

  • Service Errors - gRPC and HTTP responses
  • Service Delays - Simulate sporadic delays to service execution
  • Rate Limiting - Simulate rate limiting of a service

Error Injection can be configured using the following environment variables:

  ERROR_RATE  default: '0'
       Decimal percentage of request where handler will report an error. e.g. 0.1 = 10% of all requests will result in an error
  ERROR_TYPE  default: 'http_error'
       Type of error [http_error, delay]
  ERROR_CODE  default: '500'
       Error code to return on error
  ERROR_DELAY  default: '0s'
       Error delay [1s,100ms]
  RATE_LIMIT  default: '0'
       Rate in req/second after which service will return an error code
  RATE_LIMIT_CODE  default: '503'
       Code to return when service call is rate limited

All features for Error Injection are available for HTTP and gRPC services.

NOTE: gRPC calls do not return a message when an error is returned

Service Errors

To simulate a HTTP service which returns an Internal Server Error (Status Code 500) error 20% of the time, the following command can be used:

$ ERROR_RATE=0.2 ERROR_TYPE=http_error ERROR_CODE=500 fake-service

When called Fake Service will return an error 500 for every 2/10 requests:

➜ curl -i localhost:9090
HTTP/1.1 500 Internal Server Error
Date: Wed, 25 Sep 2019 09:36:45 GMT
Content-Length: 129
Content-Type: text/plain; charset=utf-8

{
  "name": "web",
  "type": "HTTP",
  "body": "Hello World",
  "code": 500,
  "error": "Service error automatically injected"
}

To simulate a gRPC service with the same error response, the following example can be used:

$ ERROR_RATE=0.2 ERROR_TYPE=http_error ERROR_CODE=13 SERVER_TYPE=grpc fake-service

Service Delays

Service Delays give more granular control over the time take for a service to respond and can be used in combination with Service Timing. To simulate a execution delay which would result in a client timeout 20% of the time, the following command can be used:

$ ERROR_RATE=0.2 ERROR_TYPE=delay ERROR_DELAY=2m  fake-service

➜ curl -i --max-time 0.5 localhost:9090
curl: (28) Operation timed out after 505 milliseconds with 0 bytes received

Rate Limiting

It is possible to configure Fake Service to rate limit calls, rate limiting is applied before Service Errors or Service Delays and can be used in combination with these features. To simulate a service which only allows a rate of 1 request per second, the following example can be used:

$ RATE_LIMIT=1 RATE_LIMIT_CODE=429 fake-service

When the service is called quickly in succession the second calls with a rate limit error message:

➜ curl -i --max-time 0.5 localhost:9090
HTTP/1.1 200 OK
Date: Wed, 25 Sep 2019 09:59:01 GMT
Content-Length: 109
Content-Type: text/plain; charset=utf-8

{
  "name": "Service",
  "type": "HTTP",
  "duration": "21.512µs",
  "body": "Hello World",
  "code": 200
}

➜ curl -i --max-time 0.5 localhost:9090
HTTP/1.1 429 Too Many Requests
Date: Wed, 25 Sep 2019 09:59:02 GMT
Content-Length: 124
Content-Type: text/plain; charset=utf-8

{
  "name": "Service",
  "type": "HTTP",
  "body": "Hello World",
  "code": 429,
  "error": "Service exceeded rate limit"
}

Service Load

Fake Service can simulate load carried out during a service call by configuring the following variables.

  LOAD_CPU_CORES  default: '0'
       Number of cores to generate fake CPU load over
  LOAD_CPU_PERCENTAGE  default: '0'
       Percentage of CPU cores to consume as a percentage. I.e: 50, 50% load for LOAD_CPU_CORES
  LOAD_MEMORY_PER_REQUEST  default: '0'
       Memory in bytes consumed per request
  LOAD_MEMORY_VARIANCE  default: '0'
       Percentage variance of the memory consumed per request, i.e with a value of 50 = 50%, and given a LOAD_MEMORY_PER_REQUEST of 1024 bytes, actual consumption per request would be in the range 516 - 1540 bytes

For example to simulate a service call consuming 100% of 8 Cores you can run fake service with the following command:

LOAD_CPU_CORES=8 LOAD_CPU_PERCENTAGE=100 fake-service

To simulate each service call consuming between 50MB and 150MB of memory

LOAD_MEMORY_PER_REQUEST=104857600 LOAD_MEMORY_VARIANCE=50 fake-service

Health checks

Fake service implements both health checks and readyness checks. By default these are both configured to return a status 200 when called.

  • Readyness check path: "/ready"
  • Health check path: "/health"

To override the behaviour of the health check or the readyness checks the following environment varaibles can be set.

  HEALTH_CHECK_RESPONSE_CODE  default: '200'
       Response code returned from the HTTP health check at /health
  READY_CHECK_RESPONSE_SUCCESS_CODE  default: '200'
       Response code returned from the HTTP readiness handler `/ready` after the response delay has elapsed
  READY_CHECK_RESPONSE_FAILURE_CODE  default: '503'
       Response code returned from the HTTP readiness handler `/ready` before the response delay has elapsed, this simulates the response code a service would return while starting
  READY_CHECK_RESPONSE_DELAY  default: '0s'
       Delay before the readyness check returns the READY_CHECK_RESPONSE_CODE

UI

Fake Service also has a handy dandy UI which can be used to graphically represent the data which is returned as JSON when curling.

The API is accessible at the path /ui and under the covers just calls the main API endpoint.

NOTE: The UI is only available when a service is configured as HTTP.

Example UI

Example UI with errors

More Repositories

1

building-microservices-youtube

Code repository for my Building Microservices YouTube series https://www.youtube.com/playlist?list=PLmD8u-IFdreyh6EUfevBcbiuCKzFk0EW_
Go
1,104
star
2

mtls-go-example

Simple example using mutual TLS authentication with a Golang server
Shell
146
star
3

demo-consul-service-mesh

Demos built using Docker Compose showing Consul Service Mesh features
Shell
144
star
4

building-microservices-in-go

Example code to accompany the book building Microservices in go
Go
100
star
5

cnitch

Container Snitch checks running processes under the Docker Engine and alerts if any are found to be running as root
Go
70
star
6

go-microservice-template

Template setup for a microservice written in Go - DEPRECATED
Go
54
star
7

minke

Tools for building Microservices with Docker
Ruby
45
star
8

env

Package to provide configuration as environment variables for 12 factor applications
Go
42
star
9

shipyard

Consul and Kubernetes running on Docker https://shipyard.demo.gs/
Shell
41
star
10

wasp

Wasm System Plugins for Go
WebAssembly
37
star
11

protractor-cucumber-example

Small example of how to use protractor with cucumber for angular application testing.
JavaScript
37
star
12

envoy-experiments

Experiments with Envoy Proxy
WebAssembly
35
star
13

demo-vault

Demos for Hashicorp Vault
Java
34
star
14

docker-consul-envoy

Docker image with Consul and Envoy
HCL
30
star
15

terraform-digitalocean-k8s

Terraform / Packer example for Kubernetes on DigitalOcean
HCL
29
star
16

terraform-digitalocean-lifecycle

Zero downtime upgrades of images in Terraform
HCL
28
star
17

helloworld

Example microservice to show the use of go-microservice-template and minke build gem.
Go
26
star
18

open-faas-functions

Collection of functions for OpenFaas (http://openfaas.com)
Go
24
star
19

microservice-basebox

Docker basebox built on alpine, contains Consul template and Skaware daemon runner.
23
star
20

bakery

Simple tool to backup and restore ChromeOS Crostini containers
Go
20
star
21

minke-generator-go

Minke generator to create a REST API microservice with Golang
HTML
19
star
22

dotfiles

Various configuration dotfiles for Vim, etc
Lua
18
star
23

grpc-consul-resolver

HashiCorp Consul Resolver for use with gRPC load balancer
Go
17
star
24

dagger-example

Simple example to build and deploy a Go app using the Dagger Go SDK
Go
16
star
25

terraform-provider-slack

Terraform provider for administering slack
Go
16
star
26

terraform-nomad-multicloud

Example repository for running a federated Nomad / Consul / Vault cluster in AWS and GCP
HCL
15
star
27

consul-escape-hatch-demo

Example showing how the Envoy configuration escape hatch can be used with Consul
HCL
14
star
28

all-things-microservices

Monorepo for All Things Microservices YouTube Series
Go
13
star
29

terraform-azure-k8s

Example to create a Kubernetes cluster in Azure
HCL
13
star
30

consul-release-controller

Canary deployment controller for Consul Service Mesh
Go
13
star
31

kapsule

Kapsule is a tool for packaging LLM models into encrypted OCI images that can be pushed to a registry like Docker Hub
Go
13
star
32

terraform-modules

Example Terraform modules
HCL
12
star
33

terraform-provider-workshop

MDX
11
star
34

terraform-aws-hashicorp-suite

Terraform module for creating HashiCorp Nomad and Consul clusters
HCL
11
star
35

vault-dev-patterns

Various HashiCorp Vault development patterns
Go
11
star
36

slack-bot-lex-lambda

Example slack bot using AWS Lambda and Lex
JavaScript
11
star
37

pipe

Multi provider event grid written in go
Go
10
star
38

consul-smi-controller

Controller implementing SMI Spec for HashiCorp Consul
Go
9
star
39

nomad-arm6l

Build of Nomad for Arm6l such as the Raspberry Pi Zero
HCL
8
star
40

consul-canary-deployment

Example showing how to do automated canary deployments with Consul and Flagger
HCL
8
star
41

waypoint-ecs

Example repository for running HashiCorp Waypoint on ECS
HCL
8
star
42

testing-microservices

Simple example app to show a holistic testing strategy for micro services in Go
Go
7
star
43

terraform-aws-open-faas-nomad

Example Terraform configuration to create OpenFaas on Nomad for AWS
HCL
7
star
44

terraform-aws-gcp-vpn

Terraform module to create a VPN between AWS and GCP
HCL
7
star
45

open-faas-templates

GoCV OpenCV template for OpenFaaS
Go
6
star
46

config

Config is a simple package for loading JSON formatted config files.
Go
6
star
47

bench

Bench is a simple load testing application for Microservices
Go
6
star
48

wasm-examples

Various language examples to use Wasm and WASI
WebAssembly
6
star
49

ultraclient

Load balancing, circuit breaking client with retries for Go
Go
6
star
50

terraform_ci

Example code from Digital Ocean Tide conference
HCL
6
star
51

cloud-pong

Terminal based Cloud Pong
Shell
6
star
52

drone-face-detection

Golang application to detect faces from an RTSP video stream using OpenCV
Go
6
star
53

consul-gateways-demo

Demo code for multi-cloud Consul gateways
Shell
6
star
54

terraform-for-developers

JavaScript
6
star
55

terraform-alicloud-demo

Simple Demo showing how Terraform can be used with Alibaba Cloud and Circle CI
HCL
6
star
56

consul-connect-router

Simple http router for Consul Connect services
Go
6
star
57

oscon-wasm-plugins-example-code

Example code from OSCON Session - Plugin Development with WASM and Go
WebAssembly
5
star
58

textbox-example

Example of basic sentiment analysis with Machinebox.io
Go
5
star
59

terraform-gcp-hashicorp-suite

Terraform module to run Nomad on Google Cloud
HCL
5
star
60

consul-migrating-brownfield-to-greenfield

Workshop showing how to migrate legacy applications running in VMs to Kubernetes using a Service Mesh
5
star
61

vault-application-secrets

Example showing how to use Vault and Vault Agent to inject application secrets
HCL
5
star
62

terraform-gcp-cloud-run-vault

Terraform module to run HashiCorp Vault on Google Cloud Run
HCL
5
star
63

envoy-binaries

Repo containing Envoy Proxy binaries
5
star
64

expense-report

Example expense report application that uses Vault's transit secrets engine
Go
5
star
65

demo-terraform-minecraft

Deploy a Minecraft Server with Terraform
HCL
4
star
66

workshop-vault-for-developers

Vault for Developers Workshop
Go
4
star
67

terraform-cfgmgmtcamp

Example code for config management camp talk
HCL
4
star
68

consul-loader

Simple gem to push a yaml file into consul key values
Ruby
4
star
69

consul-envoy-windows

Example of running two services using Consul Service Mesh and Envoy on Windows
HCL
4
star
70

consul-servce-mesh-example

HCL
4
star
71

terraform-aws-fargate-example

EKS Cluster with DB and Pod
HCL
3
star
72

hashicraft

HCL
3
star
73

consul-fargate-injection

Utility to inject Consul service mesh containers for EKS Fargate
Go
3
star
74

go-mobile-framework

Example framework for the Go mobile talk
Go
3
star
75

spot-gps-cache

Simple server written in Go to cache calls to Spot GPS Tracker API.
Ruby
3
star
76

waypoint-eks-fargate-example

Example showing how to run Waypoint on EKS Fargate
HCL
3
star
77

measured-application-delivery

Example showing how to use canary deployments and app migration with Consul Service Mesh
HCL
3
star
78

waypoint-plugin-tfc

Waypoint Plugin to interact with Terraform Cloud
Go
3
star
79

terraform-nomad-multi-cloud

Terraform example to demonstrate a multi-cloud instance of Nomad running on AWS and GCP
HCL
3
star
80

workshop-spring-vault

Workshop showing how to use Spring Boot with Vault
MDX
3
star
81

demo-securing-llms-with-vault

Demo repo showing how to secure the training and storage of Large Language Models using HashiCorp Vault
Jupyter Notebook
3
star
82

vault-dotnet

Example app showing how to use Vault with DotNet
C#
2
star
83

vault-plugin-template

Example template repo for creating Vault secrets plugins
Go
2
star
84

demo-terraform-basics

Shell
2
star
85

open-skills

Open source framework to manage and promote skills within an organisation
2
star
86

SwigGo

Example code to create a c++ library that can be wrapped with Swig so that it can be used with Go
Ruby
2
star
87

vault-k8s-demo

Demo showing how to write Vault secrets in Kubernetes containers
Shell
2
star
88

echo-config

Simple service showing how to load json based config
Go
2
star
89

sainsmart-lcd2004

Golang I2C interface for Periph.io and the LCD 2004
Go
2
star
90

m3o-examples

Examples of services built in M3O (https://m3o.com/)
Go
2
star
91

hashicorp-shipyard-modules

HashiCorp modules for Shipyard (shipyard.run)
HCL
2
star
92

nicholasjackson.github.io

Github Pages
CSS
2
star
93

sleepy-client

Useless package, serves no purpose, do not use
Go
2
star
94

sentinel_aws_example

Example Sentinel policy to check AWS providers
HCL
2
star
95

sphero-mini

Library for interacting with the Sphero Mini using Bluetooth LE
Go
2
star
96

tfc-plan

Simple tool to generate a JSON plan from Terraform Enterprise or Terraform Cloud
Go
2
star
97

periph-gpio-simulator

Simple GPIO simulator for Raspberry Pi and Periph.io
Go
2
star
98

kitura-http-test

Swift package to make testing handlers in the Kitura framework super easy
Swift
2
star
99

KituraTesting

Example of effective unit testing for Kitura handlers
Swift
2
star
100

rcswitch

433MHz switch receiving and transmission library for Periph.io
Go
2
star