Deploy a Production Ready Kubernetes Cluster
This report summarizes scanner evidence for kubernetes-sigs/kubespray, a Jinja project with 18,806 GitHub stars. SynthScan examined 52,090 lines of code across 832 source files, recording 180 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 3.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 172 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 180 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 180 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/scripts/vagrant-install.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tests/scripts/vagrant-install.sh | 21 | # echo \ | COMMENT |
| LOW | tests/scripts/vagrant-install.sh | 41 | PYTHONDONTWRITEBYTECODE=1 | COMMENT |
| LOW | tests/files/custom_cni/cilium.yaml | 41 | # nodes by setting how they are stored. The options are "crd", "kvstore" or | COMMENT |
| LOW | tests/files/custom_cni/cilium.yaml | 81 | # address. | COMMENT |
| LOW | tests/files/custom_cni/cilium.yaml | 101 | COMMENT | |
| LOW | tests/files/custom_cni/cilium.yaml | 121 | bpf-lb-algorithm-annotation: "false" | COMMENT |
| LOW | tests/files/custom_cni/cilium.yaml | 141 | # | COMMENT |
| LOW | …es/kubernetes-apps/csi_driver/cinder/defaults/main.yml | 21 | cinder_domain_id: "{{ lookup('env', 'OS_USER_DOMAIN_ID') }}" | COMMENT |
| LOW | roles/kubernetes-apps/ansible/defaults/main.yml | 41 | # local | COMMENT |
| LOW | roles/kubernetes-apps/ansible/defaults/main.yml | 81 | # dns_autoscaler_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}] | COMMENT |
| LOW | roles/network_plugin/flannel/defaults/main.yml | 1 | --- | COMMENT |
| LOW | roles/network_plugin/cilium/defaults/main.yml | 41 | # Optional features | COMMENT |
| LOW | roles/network_plugin/cilium/defaults/main.yml | 61 | # Auto direct nodes routes can be used to advertise pods routes in your cluster | COMMENT |
| LOW | roles/network_plugin/cilium/defaults/main.yml | 161 | includeFilters: [] | COMMENT |
| LOW | roles/network_plugin/cilium/defaults/main.yml | 181 | COMMENT | |
| LOW | roles/network_plugin/cilium/defaults/main.yml | 241 | COMMENT | |
| LOW | roles/network_plugin/cilium/defaults/main.yml | 261 | cilium_bpf_map_dynamic_size_ratio: "0.0025" | COMMENT |
| LOW | roles/kubespray_defaults/vars/main/main.yml | 101 | # | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/download.yml | 1 | --- | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 221 | # Deploy cilium even if kube_network_plugin is not cilium. | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 241 | # https://docs.cilium.io/en/stable/concepts/networking/ipam/ | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 261 | # - kube_pods_subnet: 10.233.64.0/18 | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 281 | # This is only used if ipv6_stack is set to true | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 321 | kube_profiling: false | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 401 | ## A list of insecure docker registries (IP address or domain name), for example | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 481 | COMMENT | |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 521 | COMMENT | |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 541 | kube_apiserver_authentication_config_jwt: [] | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 561 | COMMENT | |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 581 | # type: KubeConfigFile | COMMENT |
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 621 | # - { name: vm.swappiness, value: 10 } | COMMENT |
| LOW | roles/bootstrap_os/defaults/main.yml | 1 | --- | COMMENT |
| LOW | roles/etcd_defaults/defaults/main.yml | 41 | COMMENT | |
| LOW | roles/etcd_defaults/defaults/main.yml | 81 | # Maximum number of snapshot files to retain (0 is unlimited) | COMMENT |
| LOW | roles/etcd_defaults/defaults/main.yml | 101 | # - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA | COMMENT |
| LOW | roles/kubernetes/preinstall/defaults/main.yml | 41 | # Specify whether to filter interfaces | COMMENT |
| LOW | roles/kubernetes/node/defaults/main.yml | 101 | # Uncomment if you need to enable deprecated runtimes | COMMENT |
| LOW | roles/kubernetes/node/defaults/main.yml | 141 | COMMENT | |
| LOW | roles/kubernetes/node/defaults/main.yml | 161 | # - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 | COMMENT |
| LOW | roles/kubernetes/kubeadm_common/defaults/main.yml | 1 | --- | COMMENT |
| LOW | …/kubernetes/control-plane/defaults/main/kube-proxy.yml | 61 | kube_proxy_min_sync_period: 0s | COMMENT |
| LOW | roles/kubernetes/control-plane/defaults/main/main.yml | 61 | # Scale down coredns replicas to 0 if not using coredns dns_mode | COMMENT |
| LOW | roles/kubernetes/control-plane/defaults/main/main.yml | 181 | ## To use OpenID you have to deploy additional an OpenID Provider (e.g Dex, Keycloak, ...) | COMMENT |
| LOW | roles/kubernetes/control-plane/defaults/main/main.yml | 221 | COMMENT | |
| LOW | roles/kubernetes/control-plane/defaults/main/main.yml | 241 | # - TLS_ECDHE_RSA_WITH_RC4_128_SHA | COMMENT |
| LOW | roles/container-engine/containerd/defaults/main.yml | 81 | containerd_cfg_dir: /etc/containerd | COMMENT |
| LOW | roles/container-engine/cri-o/defaults/main.yml | 21 | # mirrors: | COMMENT |
| LOW | docs/calico_peer_example/new-york.yml | 1 | # --- | COMMENT |
| LOW | docs/calico_peer_example/paris.yml | 1 | # --- | COMMENT |
| LOW | contrib/terraform/terraform.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | inventory/sample/inventory.ini | 1 | # This inventory describe a HA typology with stacked etcd (== same nodes as control plane) | COMMENT |
| LOW | inventory/sample/group_vars/kube_control_plane.yml | 1 | # Reservation for control plane kubernetes components | COMMENT |
| LOW | inventory/sample/group_vars/all/azure.yml | 1 | ## When azure is used, you need to also set the following variables. | COMMENT |
| LOW | inventory/sample/group_vars/all/azure.yml | 21 | ## Azure Disk CSI credentials and parameters | COMMENT |
| LOW | inventory/sample/group_vars/all/cri-o.yml | 1 | # Registries defined within cri-o. | COMMENT |
| LOW | inventory/sample/group_vars/all/hcloud.yml | 1 | ## Values for the external Hcloud Cloud Controller | COMMENT |
| LOW | inventory/sample/group_vars/all/hcloud.yml | 21 | # load_balancers_enabled: | COMMENT |
| LOW | inventory/sample/group_vars/all/containerd.yml | 1 | --- | COMMENT |
| LOW | inventory/sample/group_vars/all/containerd.yml | 21 | # options: | COMMENT |
| 94 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | contrib/terraform/aws/modules/nlb/main.tf | 1 | # Create a new AWS NLB for K8S API | COMMENT |
| MEDIUM | contrib/terraform/aws/modules/nlb/main.tf | 14 | # Create a new AWS NLB Instance Target Group | COMMENT |
| MEDIUM | contrib/terraform/aws/modules/nlb/main.tf | 31 | # Create a new AWS NLB Listener listen to target group | COMMENT |
| MEDIUM | …b/terraform/upcloud/modules/kubernetes-cluster/main.tf | 2 | # Create a list of all disks to create | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | roles/kubespray_defaults/defaults/main/main.yml | 9 | # Check if access_ip responds to ping. Set false if your firewall blocks ICMP. | COMMENT |
| LOW | contrib/aws_inventory/kubespray-aws-inventory.py | 21 | ##Check if VPC_VISIBILITY is set, if not default to private | COMMENT |
| LOW | inventory/sample/group_vars/all/all.yml | 93 | ## Set true to download and cache container | COMMENT |
| LOW | inventory/sample/group_vars/all/all.yml | 111 | ## Check if access_ip responds to ping. Set false if your firewall blocks ICMP. | COMMENT |
| LOW | inventory/sample/group_vars/all/etcd.yml | 15 | # Set this to docker if you are using container_manager: docker | COMMENT |
| LOW | scripts/gen_docs_sidebar.sh | 16 | # Check if it is a directory | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/modules/kube.py | 310 | CODE | |
| LOW | tests/scripts/md-table/main.py | 55 | CODE | |
| LOW | library/kube.py | 310 | CODE | |
| LOW | contrib/terraform/terraform.py | 41 | CODE | |
| LOW | contrib/terraform/terraform.py | 62 | CODE | |
| LOW | …nent_hash_update/src/component_hash_update/download.py | 58 | CODE | |
| LOW | scripts/openstack-cleanup/main.py | 27 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/modules/kube.py | 363 | CODE | |
| LOW | library/kube.py | 363 | CODE | |
| LOW | contrib/aws_inventory/kubespray-aws-inventory.py | 3 | CODE | |
| LOW | scripts/openstack-cleanup/main.py | 6 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/files/custom_cni/cilium.yaml | 52 | # for seamless migrations from the kvstore mode to the crd mode. Consult the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/modules/kube.py | 160 | except Exception as exc: | STRING |
| LOW | library/kube.py | 160 | except Exception as exc: | STRING |
| LOW | scripts/openstack-cleanup/main.py | 50 | except Exception as ex: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nent_hash_update/src/component_hash_update/download.py | 30 | logger = logging.getLogger(__name__) | CODE |