Skip to content

Commit

Permalink
Update readme for building AMI (#1692)
Browse files Browse the repository at this point in the history
* Update readme for building AMI
  • Loading branch information
Issacwww authored Feb 29, 2024
1 parent 64b007c commit cfab22a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,17 @@ invoking Packer directly. You can initiate the build process by running the
following command in the root of this repository:

```bash
# build an AMI with the latest Kubernetes version
# build an AMI with the latest Kubernetes version and the default OS distro
make

# build an AMI with a specific Kubernetes version
# build an AMI with a specific Kubernetes version and the default OS distro
make k8s=1.29

# build an AMI with a specific Kubernetes version and a specific OS distro
make k8s=1.29 os_distro=al2023

# check default value and options in help doc
make help
```

The Makefile chooses a particular kubelet binary to use per Kubernetes version which you can [view here](Makefile).
Expand Down

0 comments on commit cfab22a

Please sign in to comment.