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
- Host: GitHub
- URL: https://github.com/dippynark/tf-spinnaker
- Owner: dippynark
- Created: 2018-10-15T08:53:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-07T17:31:03.000Z (over 7 years ago)
- Last Synced: 2025-01-23T12:11:35.461Z (over 1 year ago)
- Language: Smarty
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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