pivotal / skenario

A simulator toolkit for Knative
Apache License 2.0
30 stars 10 forks source link

Add plugin and plugin-k8s. #91

Closed josephburnett closed 4 years ago

josephburnett commented 4 years ago

Skenario now uses a plugin mechanism to interact with autoscalers. This change brings the plugin gRPC definition and the Kubernetes HPA implementation into the Skenario repository.

The Skeneario core simulator is pushed downward into the sim/ folder. The plugin interface is copied from https://github.com/josephburnett/sk-plugin into the plugin/ folder. The Kubernetes HPA implementation is copied from https://github.com/josephburnett/sk-plugin-k8s into the plugin-k8s/ folder.

The Kubernetes plugin expects to find https://github.com/josephburnett/kubernetes/commit/17a26dcd52e6d007fec5f831aba667b447569b39 checked out next to the Skenario repo.