gke-operator

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

README

gke-operator

Operator for managing GKE clusters in Rancher.

Building

go build -o gke-operator main.go

Running

With a kubeconfig set in your shell, run the binary:

./gke-operator

Apply the CRD:

kubectl apply -f crds/gkeclusterconfig.yaml

Create a file named googlecredentialConfig-authEncodedJson with the contents of your JSON service account credential. Then create a cloud credential secret:

kubectl --namespace cattle-global-data create secret generic --from-file=googlecredentialConfig-authEncodedJson cc-abcde

Edit at a minimum the projectID and create a cluster:

kubectl apply -f examples/cluster-basic.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
gke
pkg
apis/gke.cattle.io/v1
+k8s:deepcopy-gen=package +groupName=gke.cattle.io +k8s:deepcopy-gen=package +groupName=gke.cattle.io +k8s:deepcopy-gen=package +groupName=gke.cattle.io
+k8s:deepcopy-gen=package +groupName=gke.cattle.io +k8s:deepcopy-gen=package +groupName=gke.cattle.io +k8s:deepcopy-gen=package +groupName=gke.cattle.io

Jump to

Keyboard shortcuts

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