Commit Graph

5 Commits

Author SHA1 Message Date
9791f0118f feat: add pod anti-affinity rules for taw app
- 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.
2025-04-23 20:56:32 +08:00
4f06b0151e fix: increase replicas for load balancing
- 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.
2025-04-23 20:53:28 +08:00
50cf9d40e7 fix: correct deployment kind in load.yaml
- 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.
2025-04-23 20:53:04 +08:00
06ac637fd8 feat: change deployment to daemonset with scheduling rules
- 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.
2025-04-21 16:08:57 +08:00
2bb098c6e3 first commit 2025-04-12 13:11:34 +08:00