Back to Charts

⚠️ Repo Archive Notice

stable/gcp-night-king/README.md

latest2.4 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

GCP Night King Helm Chart

This directory contains a Kubernetes chart to deploy a GCP Night King service.

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

TL;DR;

console
$ helm install stable/gcp-night-king --set projectID=$( gcloud config get-value project )

Chart Details

This chart will do the following:

  • Install a service (K8s Deployment) that listens on a Pub/Sub subscription for instance preemption messages and resurrects preempted instances once they are terminated.

Installing the Chart

To install the chart with the release name my-release:

console
$ helm install --name my-release stable/gcp-night-king

Uninstalling the Chart

To uninstall/delete the my-release deployment:

console
$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of this chart and their default values.

ParameterDescriptionDefault
image.pullPolicyContainer pull policyIfNotPresent
image.repositoryContainer image to useitamarost/gcp-night-king
image.tagContainer image tag to deployv1-golang
replicaCountk8s replicas1
resourcesService resource requests and limitsnil
projectIDGCE project ID for GCE APIMandatory parameter
subscriptionNamePub/Sub subscription name to listen onnil
nodeSelectorNode labels for pod assignment{}

Specify each parameter using the --set key=value[,key=value] argument to helm install.