kubeprod

command
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

README

Installer for Production Runtime

Development

Requires a typical golang development environment. To build:

go get github.com/bitnami/kube-prod-runtime/kubeprod

For deployment against Azure Kubernetes Service (AKS):

AKS_CLUSTER_NAME="<your Kubernetes cluster name>"       # e.g. "k8s"
AZURE_RESOURCE_GROUP_NAME="<your resource group name>"  # e.g. $USER
AZURE_DNS_ZONE="<your delegated DNS zone>"              # e.g. "my.example.com"

# First, create the AKS cluster (only if it does not exist yet) ...
az aks create --resource-group "${AZURE_RESOURCE_GROUP_NAME}" --name "${AKS_CLUSTER_NAME}" --node-count 3 --node-vm-size Standard_DS2_v2 --ssh-key-value ~/.ssh/id_rsa.pub --kubernetes-version 1.9.11
# ...and populate ~/.kube/config (required to use the Kubernetes API)
az aks get-credentials --resource-group "${AZURE_RESOURCE_GROUP_NAME}" --name "${AKS_CLUSTER_NAME}"

# Run "kubeprod" to populate the AKS cluster
cd ${GOPATH:-$HOME/go}/src/github.com/bitnami/kube-prod-runtime/kubeprod
make
./bin/kubeprod install aks \
    --email "<your e-mail address>" \
    --manifests ../manifests \
    --dns-zone "${AZURE_DNS_ZONE}" \
    --dns-resource-group "${AZURE_RESOURCE_GROUP_NAME}"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
aks
eks
gke

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL