Bootstrap cloud vendor specific declarative templates from a simple spec for a Kubernetes cluster.
Let's look at a spec that defines a Kubernetes cluster: cluster.yaml
version: v1
name: cluster-name
provider: gke
k8sVersion: "1.9"
nodePools:
- name: db-pool
type: n1-standard-1
size: 1
labels:
app: postgres
- name: backend-pool
type: n1-standard-2
size: 2
labels:
app: backend
volumes:
- name: postgres
size: 10
kubeformation
can read this file and generate Google Cloud Deployment
Manager template, which can then
be used with gcloud
command to create the GKE cluster. This is a declarative
template that can be used to further do create or modify the cluster.
kubeformation
is exclusively meant for managed Kubernetes providers. The
following providers are supported:
- Google Kubernetes Engine (GKE)
- Azure Container Service (AKS)
Amazon Elastic Container Service for Kubernetes (EKS) is a work in progress.