nodeset-controller

command
v0.0.0-...-6a55101 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

README

NodeSet Controller

Building

Build the binary and upload:

$ make REPO=<ORG>/nodeset-controller

Deployment

Node

Create the ReplicaSet:

$ kubectl create -f cmd/nodeset-controller/node-replicaset.yaml
GKE

Create a service account in Google Cloud:

$ gcloud iam service-accounts create nodeset
$ gcloud projects add-iam-policy-binding <PROJECT> --member serviceAccount:nodeset@<PROJECT>.iam.gserviceaccount.com --role roles/compute.instanceAdmin --role roles/container.viewer

Create the service account token as a secret:

$ gcloud iam service-accounts keys create secret.json --iam-account=nodeset@<PROJECT>.iam.gserviceaccount.com
$ kubectl create secret generic nodeset-gcloud-service-account --from-file=SERVICE_ACCOUNT_FILE.json --namespace kube-system

Update the specific values in the gke-replicaset.yaml

  • gke-cluster-id
  • gke-project-id
  • gke-zone

Create the ReplicaSet:

$ kubectl create -f cmd/nodeset-controller/gke-replicaset.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
options
Package options provides the flags used for the controller manager.
Package options provides the flags used for the controller manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL