- The main session (Luna, high) handles questions, diagnosis, simple or small changes, and orchestration directly.
- Use the
planneragent only for complex, ambiguous, architectural, high-risk, cross-component, or explicitly requested planning work. Avoid invoking it for routine or already well-scoped tasks. - After a plan is produced, the main session delegates implementation to the existing
implementeragent in cohesive, well-scoped units with explicit acceptance criteria and validation requirements. - Use the
revieweragent for high-risk changes, or once per cohesive implementation unit or final diff when review is warranted; do not invoke it automatically for every micro-task. - The main session may implement small, low-risk changes directly when that is the clearest and most efficient path.
- Avoid unnecessary agents. Parallelize only independent, read-heavy, non-overlapping work; keep write ownership clear and coordinate any dependencies sequentially.
- Every implementation task must
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package log_test | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "nomad-datadog-exporter/internal/log" | |
| "os" | |
| "testing" | |
| "github.com/google/go-cmp/cmp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package log_test | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "nomad-datadog-exporter/internal/log" | |
| "os" | |
| "testing" | |
| "github.com/google/go-cmp/cmp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { aws_eks as eks } from "aws-cdk-lib"; | |
| import { aws_iam as iam } from "aws-cdk-lib"; | |
| import { aws_ec2 as ec2 } from "aws-cdk-lib"; | |
| import { aws_ssm as ssm } from "aws-cdk-lib"; | |
| import { Construct } from "constructs"; | |
| import { Duration, CfnJson } from "aws-cdk-lib"; | |
| interface KarpenterProps { | |
| /** | |
| * The FargateCluster on which karpenter needs to be added |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Package clock mocks a simple clock which only | |
| // supports hours and minutes and basic add, sub | |
| // operations in minutes. | |
| package clock | |
| import ( | |
| "fmt" | |
| ) | |
| // day number of minutes in a day |
I hereby claim:
- I am overdrive3000 on github.
- I am overdrive (https://keybase.io/overdrive) on keybase.
- I have a public key whose fingerprint is C8D7 0ADC 6034 6C93 AC03 110B 1DE5 E7B4 80DD B1DD
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2019-01-13 23:14:50.296579 I | etcdmain: etcd Version: 3.3.10 | |
| 2019-01-13 23:14:50.296910 I | etcdmain: Git SHA: 27fc7e2 | |
| 2019-01-13 23:14:50.296932 I | etcdmain: Go Version: go1.10.4 | |
| 2019-01-13 23:14:50.296943 I | etcdmain: Go OS/Arch: linux/amd64 | |
| 2019-01-13 23:14:50.296953 I | etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2 | |
| 2019-01-13 23:14:50.297022 I | embed: peerTLS: cert = /etc/etcdtls/member/peer-tls/peer.crt, key = /etc/etcdtls/member/peer-tls/peer.key, ca = , trusted-ca = /etc/etcdtls/member/peer-tls/peer-ca.crt, client-cert-auth = true, crl-file = | |
| 2019-01-13 23:14:50.298787 I | embed: listening for peers on https://0.0.0.0:2380 | |
| 2019-01-13 23:14:50.299013 I | embed: listening for client requests on 0.0.0.0:2379 | |
| 2019-01-13 23:14:50.307329 W | pkg/netutil: failed resolving host cilium-etcd-6wlnf9pp2v.cilium-etcd.kube-system.svc:2380 (lookup cilium-etcd-6wlnf9pp2v.cilium-etcd.kube-system.svc on 10.100.0.10:53: no such host); retrying in 1s | |
| 2019-01-13 23:14:51.312056 W | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Persisten Volume for database | |
| # it should use EBS | |
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: database | |
| annotations: | |
| volume.beta.kubernetes.io/storage-class: default | |
| spec: | |
| accessModes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| usage(){ | |
| echo "Usage: $0 -k <Key> -v <Value>" | |
| echo "Sample: $0 -k Name -v MyStack" | |
| echo "Note: Key and Value are case sensitive" | |
| exit 1 | |
| } | |
| while getopts k:v: option |
To limit a CPU to a certain C-state, you can pass the processor.max_cstate=X option in the kernel line of /boot/grub/grub.conf.
Here we limit the system to only C-State 1:
kernel /vmlinuz-2.6.18-371.1.2.el5 ... processor.max_cstate=1
On some systems, the kernel can override the BIOS setting, and the parameter intel_idle.max_cstate=0 may be required to ensure sleep states are not entered:
NewerOlder