Skip to content

semashkinvg/grpc-code-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Docker Image of Python Server

Summary

I want to make gRPC services in different programming languages to have those code snippets handy. On top of that, I plan to package those services in containers and deploy them to Minikube, so I have noted how to do that. To complete the dev cycle, I'm inclined to build a robust CI pipeline on GitHub actions and CD using ArgoCD to my Minikube.

How to make a python app

from the root repostiory folder:

chmod +x ./protos/generate.sh
./protos/generate.sh ./src/python/client
./protos/generate.sh ./src/python/server

run apps in debug

Minikube

A long with have codes to create gRPC services on many languages I build them and deploy to K8S (minikube) in my case

Issue: Couldn't pull image from ghcr.io

apparently minikube start did work very well to me as I spent dissent amount of time authenticating to ghcr.io using guides like this. All of a sudden, seems like the issue was in the network, not in the auth. simple trick helped me a lot.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published