-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lobs communication spike #947
base: main
Are you sure you want to change the base?
Conversation
options.ListenAnyIP(5001, listenOptions => | ||
{ | ||
listenOptions.Protocols = HttpProtocols.Http1; | ||
// listenOptions.UseHttps(configuration.Value.TentacleCertificate!); | ||
}); | ||
options.ListenAnyIP(5002, listenOptions => | ||
{ | ||
listenOptions.Protocols = HttpProtocols.Http2; | ||
// listenOptions.UseHttps(configuration.Value.TentacleCertificate!); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just so I could get it running locally on my mac https://learn.microsoft.com/en-us/aspnet/core/grpc/troubleshoot?view=aspnetcore-8.0#unable-to-start-aspnet-core-grpc-app-on-macos
}); | ||
}); | ||
webBuilder.UseStartup<Startup>(); | ||
}).UseServiceProviderFactory(new AutofacChildLifetimeScopeServiceProviderFactory(container)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to update Autofac so I could easily get the existing container services into the Kestrel's container to allow for DI in the gRPC service
Description
This is a POC to evaluate ways of handling communication between processes for live kubernetes object status
Includes changes from main...robe/reverse-tentacle
Octopus Server side: https://github.com/OctopusDeploy/OctopusDeploy/compare/robe/reverse-tentacle
What it does
Example with simple Go App hitting the gRPC service in Tentacle all running in a cluster
Top left terminal is the Go App's pod logs, top right terminal is Tentacles pod logs and bottom terminal is Octopus server's logs
Screen.Recording.2024-05-27.at.4.05.04.pm.mov
Go app