Closed italopessoa closed 4 months ago
The recent changes enhance the Kubernetes deployment configuration by introducing a new secret file for database credentials, modifying resource requests, and updating environment variables. Additionally, several configurations, such as scaling parameters and persistent volume paths, have been adjusted. These updates aim to improve security, performance, and manageability of the deployment.
File/Path | Change Summary |
---|---|
FIAP.TechChallenge.ByteMeBurger.sln |
Added secret-db.yaml to the solution file. |
kubernetes/api-hpa.yaml |
Reduced maxReplicas from 6 to 5. |
kubernetes/configmap-api.yaml |
Updated MySqlSettings__Database value and removed MySqlSettings__UserId and MySqlSettings__Password . |
kubernetes/configmap-db.yaml |
Updated MYSQL_DATABASE value and removed unused MySQL authentication configurations. |
kubernetes/deploy.ps1 |
Added command to apply secret-db.yaml . |
kubernetes/deployment-api.yaml |
Increased CPU request and added environment variables sourced from a secret. |
kubernetes/pod-mysql.yaml |
Added environment variables MYSQL_PASSWORD and MYSQL_USER sourced from a secret. |
kubernetes/pv-db.yaml |
Updated hostPath for PersistentVolume configuration. |
kubernetes/rollback.ps1 |
Added commands to delete pvc-db-slow.yaml and secret-db.yaml . |
kubernetes/secret-db.yaml |
Defined a new Kubernetes Secret with encoded data for MYSQL_USER and MYSQL_PASSWORD . |
kubernetes/svc-api.yaml |
Modified port configuration, changing targetPort to 8080 and setting nodePort to 30000 . |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
78
62