@blitzm/gcp-kubernetes
v0.8.0
Published
@blitzm/gcp-kubernetes is a typescript library for simplifying the process of creating a GCP Kubernetes Cluster with a single managed node groups. It abstracts the complicated configurations to provider a simple input interface for Blitzm developers to de
Downloads
16
Keywords
Readme
Blitzm Cloud - GCP Kubernetes
@blitzm/gcp-kubernetes is a typescript library for simplifying the process of creating a GCP Kubernetes Cluster with a single managed node groups. It abstracts the complicated configurations to provider a simple input interface for Blitzm developers to deploy resources to the cloud platform with little or no domain knowledge of the provider.
Installation
This package can be installed using npm
npm install --save --save-exact @blitzm/gcp-kubernetes
Usage
import * as gcp from '@pulumi/gcp';
import { GCPKubernetes } from '@blitzm/gcp-kubernetes';
const vpc = new gcp.compute.Network('vpc', {
name: 'vpc',
});
const ip = new gcp.compute.Address('public-static-ip', {
name: 'nginx-ingress',
});
const cluster = new GCPKubernetes('cluster', {
vpc: vpc,
nodeSize: 'n1-standard-1',
nodeDiskGB: 30,
minNodes: 1,
maxNodes:3,
certManager: {
enabled: true,
email: '[email protected]',
},
nginxIngress: {
enabled: true,
loadBalancerIP: ip,
},
});
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.