Skip to content
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

[Docker] Build Container for Microservice Deployment. #54

Merged
merged 12 commits into from
Dec 10, 2022

Conversation

surahman
Copy link
Owner

@surahman surahman commented Dec 4, 2022

This PR adds a Docker container build script. Please see the details included in the Readme file.

It is vital to set the processor count to reflect the CPU resources provided by Kubernetes in the Deployments. By using the go.uber.org/automaxprocs package, Go will detect the Pod's CPU allocation and not the Kubernetes cluster's host CPU resources. This means that the Go runtime's thread scheduler will schedule threads at more optimal quantums based on the Pod's resources.

@surahman surahman added the Docker Docker configurations label Dec 4, 2022
@surahman surahman force-pushed the features/docker-image-build-and-container-prep branch from 4a52d6a to 53de81a Compare December 4, 2022 21:57
@surahman surahman force-pushed the features/docker-image-build-and-container-prep branch from c7cbe7f to 168bd80 Compare December 10, 2022 16:24
@surahman surahman merged commit 104f0e6 into development Dec 10, 2022
@surahman surahman deleted the features/docker-image-build-and-container-prep branch December 10, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker Docker configurations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant