Repository navigation
chore: apply the ai-namespace consistency conventions repo-wide #4211
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
Changes from 3 commits
e1095ef
54cebbd
e273e46
f729a1f
1568402
0970c50
74384b7
a36279e
0bb2edd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,14 +13,12 @@ spec: | |
| values: | ||
| defaultPodOptions: | ||
| # Must use host network and PID namespace to access Talos etcd on localhost:2379. | ||
| automountServiceAccountToken: false | ||
| hostNetwork: true | ||
| hostPID: true | ||
| securityContext: | ||
| runAsGroup: 0 | ||
| runAsNonRoot: false | ||
| runAsUser: 0 | ||
| # Ensure this only runs on the control plane node | ||
| nodeSelector: | ||
| node-role.kubernetes.io/control-plane: "" | ||
| tolerations: | ||
|
|
@@ -32,14 +30,11 @@ spec: | |
| etcd-defrag: | ||
| type: cronjob | ||
| cronjob: | ||
| # Daily at 03:00. The previous weekly cadence let fragmentation cross the | ||
| # 50% alert threshold by day 4; a full 3-member pass costs ~95s. | ||
| # Weekly let fragmentation cross the 50% alert threshold by day 4; a | ||
| # full 3-member pass costs ~95s. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Keep the CronJob comment aligned with its schedule. The schedule on Line 36 is daily ( 🤖 Prompt for AI Agents |
||
| timeZone: ${TIMEZONE} | ||
| schedule: "0 3 * * *" | ||
| concurrencyPolicy: Forbid | ||
| backoffLimit: 1 | ||
| failedJobsHistory: 1 | ||
| successfulJobsHistory: 1 | ||
| containers: | ||
| app: | ||
| image: | ||
|
|
@@ -51,15 +46,12 @@ spec: | |
| - --cacert=/certs/ca.crt | ||
| - --cert=/certs/server.crt | ||
| - --key=/certs/server.key | ||
| # Defrag when DB quota usage > 50% OR free space > 50MB | ||
| - --defrag-rule=dbQuotaUsage > 0.5 || dbSizeFree > 50*1024*1024 | ||
| # Move the leader before defragmenting it. | ||
| - --move-leader | ||
| # --cluster defragments all three control-plane etcd members. | ||
| - --wait-between-defrags=30s | ||
| # Talos uses etcd's default --quota-backend-bytes value (2 GiB). | ||
| - --etcd-storage-quota-bytes=2147483648 | ||
| # Auto-disalarm space quota alarms | ||
| - --auto-disalarm | ||
| - --disalarm-threshold=0.8 | ||
| resources: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Correct the PP/W percentage in the tuning comment.
The measurements on Line 29 and Line 30 imply roughly 19% worse PP/W for 330W versus 210W, not 15%. Correct the percentage or state the comparison baseline explicitly.
🤖 Prompt for AI Agents