@blitzm/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.

Usage no npm install needed!

<script type="module">
  import blitzmGcpKubernetes from 'https://cdn.skypack.dev/@blitzm/gcp-kubernetes';
</script>

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: 'admin@blitzm.com',
    },
    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.

License

MIT