Database
The database is a simple generated json file containing the APIs marked as deprecated and deleted.
It can be downloaded from here.
Generating my own database
In case you want to generate your own data.json file, follow the steps below. We use a container image so the whole step can be reproduced locally.
- Clone/Download this repository, and build the container on
generator/
directorygit clone https://github.com/kubepug/kubepug docker build -t generator -f generator/Dockerfile generator
- Generate the data.json
Generator uses the latest stable Kubernetes API version, if you want the latest dev version you should run as:
docker run generator > data.json
docker run -e VERSION=master generator > data.json
- Securely move the json file to your Air-Gapped environment, to the folder of your choosing. This folder will be used by
kubepug
. - Execute
kubepug
with the optiondatabase
, like thiskubepug --k8s-version=v1.22 --database=location/of/your/data.json