Common deployment scenarios

83 views
Skip to first unread message

Mathew Roy

unread,
Jan 20, 2021, 11:41:30 AM1/20/21
to Grafeas Users
Hi,

We want to attempt an 'enterprise deployment' of Grafeas--  and has some questions around it--

1. What is the common way to invoke Grafeas API's for a grafeas server (hosted in Amazon Kubernets Service )
  
Using Client Libraries or a webhook  ?  Especially for GITHUB actions

Just wondering if any one has any experience with this

2. How can I easily externalize the DB --- I want to use a postgress DB managed service in AWS..  Is it a matter of changing the config.yaml file and rebuilding the image?
( Do I have to create the tables etc )

Regards
Mathew








Aysylu Greenberg

unread,
Jan 20, 2021, 12:43:54 PM1/20/21
to Grafeas Users
Hi Matthew,

Thanks for reaching out.

1. Using client libraries is the most common way; curl for rest/json, and implementing a grpc client should work as well. Please see examples in the repo.

2. You can implement any other storage solution, see examples in the repo. You can look at the current implementation, and the goal is to separate storage backends from the main API server, see https://github.com/grafeas/grafeas-pgsql.

Cheers,
Aysylu
Reply all
Reply to author
Forward
0 new messages