- Change model value from 'o1-mini-2024-09-12' to 'o3-mini'.
This update modifies the model used in the application configuration, which may lead to different behavior or performance improvements depending on the capabilities of the new model.
- Change value of OPENAI_API_MODEL from "o1-mini" to "o1-mini-2024-09-12"
This change updates the model version used in the configuration,
ensuring compatibility with the latest API requirements. The
previous model version will no longer receive updates or support, so
updating this configuration is necessary for continued functionality.
- Create deployment configuration for app3 with 5 replicas.
- Add service to expose app3 on port 3002.
- Define ingress resource for handling external traffic to app3.
- Set up TLS and host configuration for secure traffic.
This commit introduces the necessary Kubernetes manifests for the new
app3 which allows for deployment, service exposure, and ingress
routing, thereby enabling it to be accessed securely over the
specified domain. The deployment includes node affinity rules to
restrict execution environments and enhances the overall service
availability.
- Add tolerations for restricted scheduling
- Set externalTrafficPolicy to 'Local'
These updates enhance the deployment configuration of the nginx-ingress.
They allow better scheduling of pods on nodes with specific taints and
facilitate the preservation of the client source IP for external
traffic.
- Add clhk2.dev.todayaiweather.com to the list of hosts
- Add bwh1.dev.todayaiweather.com to the list of hosts
- Add spus1.dev.todayaiweather.com to the list of hosts
This update allows the application to handle traffic from four
subdomains, providing more flexibility for development and testing.
Each subdomain is routed to the same backend service, ensuring
a consistent experience across these endpoints.
- Modify ingress configuration to redirect requests for /Avatar.jpg
to a specific URL.
- Ensure that the redirection includes query parameters.
- Comment out the old rewrite rule for clarity.
This update addresses the routing for Avatar.jpg, ensuring that
requests are properly directed to the desired image location,
improving accessibility for users.
- Enable snippet annotations for nginx ingress controller
- Comment out a previous configuration snippet that redirects JPG files
This update allows the use of snippet annotations, giving more control
over ingress configurations. The previously commented snippet
suggested a redirect for JPG files but is now ignored to simplify
configuration and focus on the current requirements.
- Change retention period from 5 days to 3 days
This adjustment may help free up storage resources more
quickly, ensuring that older metrics are purged sooner,
leading to better performance and lower storage costs.