-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Moved K8s to base and Upgraded Bamboo #43
Conversation
saidsef
commented
Aug 24, 2023
•
edited
Loading
edited
- Moved Bamboo kubernetes deployment to base directory this will standardise deployments
- Moved kubernetes kustomizer resource to point to base directory
- Upgraded Bamboo to version 9.2.4 LTS
- Moved Kubernetes files to base
Due to K8s deployment To resolve this, either move the logs to ephemeral storage path - logs path |
This best practice applys the securityContext to all container in the deployment and reduces code duplications Updated Kubernetes deployment spec set readOnlyRootFilesystem and increased initialDelaySeconds Added apk package curl for internal use, updated folder path name by making it consistent moved Bamboo logs to ephemeral storage U[dated Kubernetes deployment manifest to include resources - this is to define resource specs, and added JAVA min max and opts from system resource foo
ccb8fef
to
0d2b79d
Compare
…eServiceLinks This improves our security posture
🤖 Review SummaryThe PR contains several changes related to the Bamboo Kubernetes deployment and Dockerfile. The changes are generally well-structured and follow good practices. However, there are a few areas that could be improved or need attention. Dockerfile
Kubernetes Deployment
Suggestions
Example Code# Dockerfile
FROM docker.io/openjdk:11-slim
# Only install necessary dependencies
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -yq wget && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y # Kubernetes Deployment
spec:
template:
spec:
containers:
- name: bamboo
readinessProbe:
initialDelaySeconds: 30
livenessProbe:
initialDelaySeconds: 30 Overall, the PR is well-structured and follows good practices. With a few minor adjustments, it should be ready for merging. > gpt-4 |