1.1.3 • Published 26 days ago

@blitzm/azure-kubernetes v1.1.3

Weekly downloads
16
License
Blitzm
Repository
-
Last release
26 days ago

Blitzm Cloud - Azure Kubernetes

@blitzm/azure-kubernetes is a typescript library for simplifying the process of creating an AKS 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/azure-kubernetes

Usage

import { AzureKubernetes } from '@blitzm/azure-kubernetes';
import * as azure from '@pulumi/azure';

const vnet = new azure.network.VirtualNetwork('vnet', {
  name: 'vnet',
  resourceGroupName: resourceGroup.name,
  addressSpaces: [ '10.13.0.0/16' ]
});

const subnet = new azure.network.Subnet('subnet', {
  name: 'subnet',
  resourceGroupName: resourceGroup.name,
  virtualNetworkName: vnet.name,
  addressPrefixes: [ '10.13.0.0/24' ]
});

const cluster = new AzureKubernetes('cluster', {
  resourceGroup: resourceGroup,
  subnet: subnet,
  nodeSize: 'Standard_B2s',
  nodeDiskGB: 30,
  minNodes: 1
  maxNodes:3
});

export const cluster = cluster.cluster
export const kubeconfig = cluster.kubeconfig
export const servicePrincipal = cluster.servicePrincipal
export const ingressId = cluster.ingressPublicIP 

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Blitzm

1.1.3

26 days ago

1.1.2

1 month ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.0

10 months ago

0.8.5

10 months ago

0.8.4

12 months ago

0.8.3

2 years ago

0.8.2

2 years ago

0.7.1

2 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.3

4 years ago

0.4.1

4 years ago

0.4.2

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago