Skip to content

Quickly create an installation package for deploying k8s in an offline environment, via kubeadm and containerd.

License

Notifications You must be signed in to change notification settings

RyanAoh/offline-k8s-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Quickly create an installation package that contains all the necessary files for deploying k8s. This installation package can be used to deploy a cluster in an offline environment with just one click.

Usage

1. custom config

Set version variables in the env.sh.

You can also custom the config for kubeadm by edit the default kubeadm-config.yaml

2. make package

Requirement

  • install makeself && containerd on the host

Make okp-$K8S_VERSION.run file:

git clone https://github.com/RyanAoh/offline-k8s-pack
cd offline-k8s-pack
./pack.sh

3. deploy k8s

Copy okp-$K8S_VERSION.run to you hosts which are used to deploy k8s. Then run as follow:

./okp-$K8S_VERSION.run

About

Quickly create an installation package for deploying k8s in an offline environment, via kubeadm and containerd.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages