Git Product home page Git Product logo

lucperkins / colossus Goto Github PK

View Code? Open in Web Editor NEW
1.0K 1.0K 66.0 2.48 MB

Colossus — An example microservice architecture for Kubernetes using Bazel, Go, Java, Docker, Kubernetes, Minikube, Gazelle, gRPC, Prometheus, Grafana, and more

Home Page: https://github.com/lucperkins/colossus

License: MIT License

Makefile 4.39% Go 28.21% Java 16.17% C++ 4.02% Starlark 47.22%
bazel docker go golang grpc grpc-go grpc-java java kubectl kubernetes minikube

colossus's Introduction

Welcome to Luc Perkins' GitHub profile! 👋🏼🐙

Hello, everyone! I'm a software engineer at Determinate Systems working on bringing Nix to the masses with FlakeHub and tools like the Determinate Nix Installer, the Nix Flake Checker, and the Magic Nix Cache.

I also retain a strong interest in databases and am a co-author of the second edition of Seven Databases in Seven Weeks.

Check out my sponsors page if you'd like to contribute to my OSS efforts 💰, which include projects like The Nix Way.

colossus's People

Contributors

lucperkins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colossus's Issues

Error with make deploy: bazel: no such file or directory

Everything works file until I execute the make deploy, errors below:

dep ensure
bazel run //:gazelle -- update-repos -from_file=Gopkg.lock
make: bazel: No such file or directory
make: *** [gazelle-repos] Error 1

It's my first time using bazel, so I'm not sure what file or dir is missing here.

"ErrImageNeverPull"

Hello, this is awesome - first of all. Great reference to explore these tools.

After running through the various commands and finishing with make deploy, and running $ kubectl get pods, I'm seeing this (and service responding w/503 from Nginx):
NAME READY STATUS RESTARTS AGE
busybox 1/1 Running 0 1m
colossus-auth-deployment-677c9688db-b6gzb 0/1 ErrImageNeverPull 0 1m
colossus-auth-deployment-677c9688db-c99kj 0/1 ErrImageNeverPull 0 1m
colossus-auth-deployment-677c9688db-kwz8s 0/1 ErrImageNeverPull 0 1m
colossus-data-deployment-5f4b9b5bb6-ckxxr 0/1 ErrImageNeverPull 0 1m
colossus-data-deployment-5f4b9b5bb6-fnp5g 0/1 ErrImageNeverPull 0 1m
colossus-data-deployment-5f4b9b5bb6-vff7b 0/1 ErrImageNeverPull 0 1m
colossus-redis-cluster-68bccc8447-4d9jw 1/1 Running 0 7m
colossus-web-deployment-56ccc9b7dc-bwflh 0/1 ErrImageNeverPull 0 1m
colossus-web-deployment-56ccc9b7dc-wmtjb 0/1 ErrImageNeverPull 0 1m
colossus-web-deployment-56ccc9b7dc-xmhhx 0/1 ErrImageNeverPull 0 1m

After a $ make restart, similar issue:
NAME READY STATUS RESTARTS AGE
colossus-auth-deployment-677c9688db-9bw97 0/1 ErrImageNeverPull 0 32s
colossus-auth-deployment-677c9688db-mqx2p 0/1 ErrImageNeverPull 0 32s
colossus-auth-deployment-677c9688db-t5llt 0/1 ErrImageNeverPull 0 32s
colossus-data-deployment-5f4b9b5bb6-4v2s5 0/1 ErrImageNeverPull 0 32s
colossus-data-deployment-5f4b9b5bb6-6l28s 0/1 ErrImageNeverPull 0 32s
colossus-data-deployment-5f4b9b5bb6-dgpsc 0/1 ErrImageNeverPull 0 32s
colossus-web-deployment-56ccc9b7dc-c6xgk 0/1 ErrImageNeverPull 0 31s
colossus-web-deployment-56ccc9b7dc-jlw6r 0/1 ErrImageNeverPull 0 31s
colossus-web-deployment-56ccc9b7dc-mtx7s 0/1 ErrImageNeverPull 0 31s

Any suggestions on what I might be missing?

web/main.go doesn't compile

Currently getting an error message:

web/main.go:29:27: cannot convert os.Getenv("AUTH_SERVICE_PORT") (type string) to type int

I don't think type-casting a string to an int should work, it needs a strconv.Atoi?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.