An open API service indexing awesome lists of open source software.

https://github.com/dippynark/tf-spinnaker

Terraform for Spinnaker
https://github.com/dippynark/tf-spinnaker

Last synced: 7 months ago
JSON representation

Terraform for Spinnaker

Awesome Lists containing this project

README

          

# Spinnaker

This repository contains resources for provisioning Spinnaker on GCP using Terraform.

## Private GKE cluster

To deploy Spinnaker into a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters) uncomment the `private_ip_google_access` field in `terraform/network.tf` and uncomment the `private_cluster_config` section in `terraform/gke.tf`

## Quickstart

```
# edit state bucket name in Makefile
# edit terraform/terraform.tfvars.example and rename to terraform/terraform.tfvars
make init
make plan
make apply
```

## nginx-ingress

```
# point gate and deck domains at nginx-ingress LB IP
echo $(kubectl get service nginx-ingress-controller -n nginx-ingress -o jsonpath='{.status.loadBalancer.ingress[0].ip}')

# apply ingress.yaml
kubectl apply -f terraform/ingress.yaml
```

## Spin

[Install spin](https://www.spinnaker.io/guides/spin/cli/)

```
mkdir -p ~/.spin
cat < ~/.spin/config
auth:
enabled: true
oauth2:
authUrl: https://github.com/login/oauth/authorize # OAuth2 provider auth url
tokenUrl: https://github.com/login/oauth/access_token # OAuth2 provider token url
clientId: xxxxxxxxxx # OAuth2 client id
clientSecret: xxxxxxxxx # OAuth2 client secret
scopes: # Scopes requested for the token
- scope1
#- scope2
EOF
```

## Cleanup

```
make destroy
```

## Plan

Build image with knative and push to DockerHub
Pipeline to deploy goldengoose to local cluster
Collect metrics from goldengoose
Canary analysis
Istio support
Metrics and logging visualisation