kelseyhightower/kubernetes-the-hard-way

Bootstrap Kubernetes the hard way. No scripts.

★ 50,152+119 that day#6 on trending

Analyzed September 26, 2026 at 52eb26d (master) with jscpd 5.4.0 in 0.0s.

B81.8/100
Project health862 lines of code (XS)
Duplication82
0% in bash, perl
Dead coden/a
no JavaScript, TypeScript, Python or compiler-checked Rust files
Complexity82
0%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

0.58%duplicated over all files · 18 of 3,109 lines
3clones
44files scanned

Only 10 of the files count as code, too few for a code-only percentage; the numbers above cover every file.

Largest clones

  • 21 lines in 2 placesbashdocs and examples57 tokens
    72    --kubeconfig=kube-proxy.kubeconfig
    73}
    74```
    75
    76Results:
    77
    78```text
    79kube-proxy.kubeconfig
    80```
    81
    
    106    --kubeconfig=kube-controller-manager.kubeconfig
    107}
    108```
    109
    110Results:
    111
    112```text
    113kube-controller-manager.kubeconfig
    114```
    115
    

    First 10 of 21 lines, the second copy on the right.

  • 11 lines in 2 placestextdocs and examples57 tokens
    5210.200.0.0/24 via XXX.XXX.XXX.XXX dev ens160
    5310.200.1.0/24 via XXX.XXX.XXX.XXX dev ens160
    54XXX.XXX.XXX.0/24 dev ens160 proto kernel scope link src XXX.XXX.XXX.XXX
    55```
    56
    57```bash
    58ssh root@node-0 ip route
    59```
    60
    61```text
    
    62default via XXX.XXX.XXX.XXX dev ens160
    6310.200.1.0/24 via XXX.XXX.XXX.XXX dev ens160
    64XXX.XXX.XXX.0/24 dev ens160 proto kernel scope link src XXX.XXX.XXX.XXX
    65```
    66
    67```bash
    68ssh root@node-1 ip route
    69```
    70
    71```text
    

    First 10 of 11 lines, the second copy on the right.

  • 6 lines in 2 placesbashdocs and examples54 tokens
    53{
    54  kubectl config set-cluster kubernetes-the-hard-way \
    55    --certificate-authority=ca.crt \
    56    --embed-certs=true \
    57    --server=https://server.kubernetes.local:6443 \
    58    --kubeconfig=kube-proxy.kubeconfig
    
    87{
    88  kubectl config set-cluster kubernetes-the-hard-way \
    89    --certificate-authority=ca.crt \
    90    --embed-certs=true \
    91    --server=https://server.kubernetes.local:6443 \
    92    --kubeconfig=kube-controller-manager.kubeconfig
    
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
bash9644000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
bash191,0832141.29%
text4109143.67%
markdown151,650000%
perl1174000%
yaml258000%
txt222000%
toml113000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 26, 2026#650,152 (+119)443,10930.58%—B 81.852eb26d

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.