Repository navigation
v0.41.0
·
103 commits
to main
since this release
Added
- Outage Risk, EKS: a week of figures from the cluster's own Prometheus, where the scan may query it. It finds a service named for Prometheus on port 9090 and queries it through the Kubernetes API server. New findings: containers held back by their CPU limit (5% of CPU periods throttled or more, high from 25%), and containers restarting (3 or more in the week). Pod near its memory limit now also comes from Prometheus's highest working set where Container Insights is off, and Autoscaler near its maximum judges the week's highest replica count, not only the count when read. The query needs
getonservices/proxy, which AmazonEKSViewPolicy does not give: section 10 shows a role limited to the one Prometheus service. Needs a new scan. - Outage Risk, EKS: whether the nodes can grow into the expected peak. Node group near its maximum now uses the group's highest node count in 7 days (where its Auto Scaling group metrics are on) and says so. New: Node group would run out of vCPU quota, the nodes each node group, or Karpenter, adds at the peak multiple against what is left of the region's EC2 vCPU quota for its class (on-demand or spot), naming the quota to ask for; Karpenter NodePool near its limit, the CPU and memory its nodes hold against the NodePool's limits.
- Outage Risk, EKS: scalers that will not scale. New: KEDA scaler will not scale as it should (not ready, paused, or an outside trigger with no fallback); Autoscaler cannot read its metrics (ScalingActive false); Autoscaler scales too late (a CPU target that is 90% or more of the CPU limit).
- Member account role can name an IAM Identity Center permission set: sign in through the management account with one set (e.g. CTO-Read, for the organisation and its spend) and read the member accounts with another you have (e.g. one with Kubernetes access). Where the portal lists that set for you in an account, the scan signs in to it; elsewhere the name is still an IAM role to assume. Check access tests it in an account where it is assigned.
- Outage Risk, EKS: All replicas in one zone and All volumes in one zone (production), from the zones of the nodes each workload's pods run on and of its EBS volumes.
- Outage Risk, EKS: Pods waiting to be scheduled now counts only pods pending for 15 minutes or more, and names the commonest reasons the scheduler or kubelet gave, with a pod for each.
- The optional node reader role in the report's EKS section now also reads persistent volumes, Karpenter NodePools and KEDA ScaledObjects. Needs a new scan.
- Outage Risk, EKS: probes. No readiness probe is now high (was low, and production only), and No liveness probe is new at medium; both flag a pod only when none of its containers has the probe, so a sidecar with none no longer counts. New probe settings checks (medium): Liveness probe is the readiness check (the same endpoint or command, so a slow dependency restarts every pod at once); Liveness probe kills slow pods (a timeout under 2 seconds, Kubernetes's default of 1 included, or a failure threshold of 1); Slow start with no startup probe (the workload's quickest running pod took half or more of the time liveness allows to turn ready). A TCP liveness check is not judged on its timing. All probe findings are reported in every account, one level lower outside production. Needs a new scan; no new permissions.
- Outage Risk, EKS: CPU throttling in more detail, from Prometheus. Containers throttled in short bursts is a new finding for throttling while the container's highest 5-minute CPU stayed under 80% of its limit: an autoscaler never sees those bursts, so the fix is the limit. Containers held back by their CPU limit is now high when the autoscaler has been at its maximum in the week. Native sidecars are counted; init containers are still left out. Needs a new scan.
- Outage Risk, EKS: workloads in platform namespaces are left to the platform team, as every account running the same shared tooling would otherwise repeat its findings. Section 6 has a Platform namespaces answer with wildcards (default:
kube-*,amazon-*,aws-*,cattle-*,argocd,cert-manager,kyverno,keda,karpenter,vault,ingress-nginx,gatekeeper-system,flux-systemand other common tooling, named rather than*-systemso a team's own namespace is still judged), replacing Namespaces left out of the EKS checks; namespaces saved under the old answer are added to it. Each cluster says which platform namespaces it has and that their findings are shared with the platform team. Cluster checks (node groups, quotas, subnets, CoreDNS) still run. No new scan needed. - Outage Risk, EKS: CoreDNS is judged by replicas and spread, not autoscaling. CoreDNS has too few replicas or nodes flags under 3 replicas, or replicas on fewer than 3 nodes, in production (high), and under 2 on 2 nodes elsewhere (medium), from the nodes its running pods are on (no node access needed). A fixed count that meets the bar on separate nodes passes; an autoscaler is no longer asked for. The node spread needs a new scan; older scans use it only where nodes were read.
- Outage Risk, EKS: Workload runs one replica is now Workload runs fewer than 3 replicas (high, production): a fixed count under 3, or a pod autoscaler (HPA or KEDA) whose minimum is under 3, as it runs that few at quiet times. Fewer suits a workload that is not critical (a config server on 2, say): the finding says it is the owning team's decision, recorded as an accepted risk. The advice names 3 replicas over 3 zones, a zone spread with maxSkew 1, and a PodDisruptionBudget of maxUnavailable 1; No pod disruption budget names maxUnavailable 1 too. Fixed replica count now flags only Deployments of 3 or more with no pod autoscaler, as fewer is this finding. The summary and cluster table count workloads under 3 replicas. The check keeps its id, so accepted risks on it now also cover workloads on 2. Fixed counts are judged again from older scans; the pod autoscaler's minimum needs a new scan.
- EKS findings say pod autoscaler (HPA or KEDA) where they meant the HorizontalPodAutoscaler, so they are not read as node scaling: Autoscaler near its maximum, cannot read its metrics and scales too late are now Pod autoscaler near its maximum, cannot read its metrics and scales too late, and the replica, throttling and fixed-count findings, the EKS service review and the Prometheus grant say the same. Health Check says the cluster autoscaler where it means node scaling. The check ids are unchanged, so accepted risks still apply.