- Introduce podAntiAffinity settings to avoid scheduling
multiple Pods with the same app: taw label on the same
node.
- This is a soft requirement, meaning that if there are
not enough nodes, Pods may still be scheduled on the
same node.
This change enhances the deployment strategy by improving
availability and fault tolerance of the taw application.
- Change the number of replicas from 1 to 3 in the
deployment configuration.
- This adjustment aims to improve load balancing and
availability of the application.
Increasing the replicas allows the application to handle
more traffic and provides redundancy in case of failures.
- Change kind from DaemonSet to Deployment
- Uncomment replicas setting to ensure proper scaling
This change corrects the resource type for the application
in the Kubernetes configuration, ensuring it is deployed as a
Deployment instead of a DaemonSet. This allows for better
management of replicas and scaling capabilities.
- Change kind from Deployment to DaemonSet
- Remove previous node selector configuration
- Add tolerations for scheduling restrictions
- Introduce node affinity for specific hostnames
These changes facilitate deployment across all nodes instead of a single replica,
allowing for improved resource utilization and management in the
Kubernetes environment.
- Change storageClass values from 'local-vkus2' to 'local-zgus1'
- Update nodeSelector hostname from 'vkvm-us2' to 'zgocloud-us1'
- Modify persistent volume claim names to reflect new storage class
These changes aim to facilitate a smooth transition to a new hosting environment, ensuring that the resources are correctly allocated and managed.
- 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.