Skip to content
PKE is an extremely simple Kubernetes installer and distribution, designed to work on any cloud, VM or bare metal.
Branch: master
Clone or download
Latest commit 702d939 Mar 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add circle build Mar 11, 2019
.idea
cmd/pke Add cert hash to token output Mar 11, 2019
docs
scripts License header check script Mar 11, 2019
.editorconfig
.gitignore Update gitignore Mar 11, 2019
.golangci.yml Add linter config Mar 11, 2019
.goreleaser.yml Add goreleaser config Mar 11, 2019
.licensei.toml
LICENSE Initial commit Mar 11, 2019
Makefile Improve makefile Mar 11, 2019
README.md Update README.md Mar 12, 2019
Vagrantfile
go.mod Pipeline Kubernetes Engine initial commit Mar 11, 2019
go.sum Tidy go mods Mar 11, 2019

README.md

Pipeline Kubernetes Engine - PKE

PKE is an extremely simple Kubernetes installer and distribution, designed to work on any cloud, VM or bare metal. The pke install tool supports cloud provider integrations, multi-phased installs (requires only an OS), pre-warmed machine image builds, and more. PKE is the preferred Kubernetes run-time of the Banzai Cloud Pipeline Cloud Native application and devops platform, which supercharges the development, deployment and scaling of container-based applications with native support for multi-, hybrid-, and edge-cloud environments.

If you would like to supercharge your Kubernetes experience using Banzai Cloud Pipeline, check out the free developer beta:

Create clusters

Please review the requirements before creating Kubernetes clusters. Note that the pke tool will install all required dependencies (like CRI, CNI, etc).

Single node PKE

Creating a single node K8s clusters is as simple as running the following command as root:

pke install single

Multi node PKE

To create the Kubernetes API server:

export MASTER_IP_ADDRESS=""
pke install master --kubernetes-api-server=$MASTER_IP_ADDRESS:6443

Please get the token and certhash from the logs or issue the pke token list command to print the token and cert hash needed by workers to join the cluster.

Once the API server is up and running you can add as many nodes as needed:

export TOKEN=""
export CERTHASH=""
export MASTER_IP_ADDRESS=""
pke install worker --kubernetes-node-token $TOKEN --kubernetes-api-server-ca-cert-hash $CERTHASH --kubernetes-api-server $MASTER_IP_ADDRESS:6443

Using kubectl

To use kubectl and other command line tools on the master node, set up its config:

mkdir -p $HOME/.kube
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
chown $(id -u):$(id -g) $HOME/.kube/config
kubectl get nodes

Other options

You can create PKE clusters on any of the cloud providers, Vagrant, virtual machines, etc using the pke tool or let the Pipeline platform do it for you, using all the complementary features as: centralized log collection, federated monitoring, autoscaling, Vault based secret management, disaster recovery, security scans and lots more.

License

Copyright (c) 2017-2019 Banzai Cloud, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.