Commit Graph

22 Commits

Author SHA1 Message Date
R. Tyler Croy 38d99c4718
Add an Azure Container Registry to the infra plane
This is not yet being utilized by AKS, but should be
2017-11-29 17:36:18 -08:00
R. Tyler Croy a118291d97
Successfully run `deploy` for production 2017-11-13 15:53:02 -08:00
R. Tyler Croy 0e124f64e0
Support provisioning Code Valet properly in some CloudBees accounts with AKS
This is kind of a broad set of changes, but necessary to get Code Valet running
outside of my own personal accounts
2017-11-13 15:45:38 -08:00
R. Tyler Croy 4b87b26b16
Refactor the variables into their own terraform plan 2017-11-13 14:16:03 -08:00
R. Tyler Croy 66e4a95e62
Remove the Azure Container Service since we're using AKS in the CloudBees account 2017-11-13 14:15:38 -08:00
R. Tyler Croy 00033fae17
Remove the generated per-master Terraform resources
These are no longer needed since we're bouncing all master requests through
nginx.
2017-08-30 06:34:05 -07:00
R. Tyler Croy 0b7f50785c
Improve the proxy support with Let's Encrypt (properly loaded) and reversing to Jenkins
There's a lot of minor changes here after some tinkering in production #yolo
2017-08-27 09:58:50 -07:00
R. Tyler Croy bbefb8e25e
Swamp out the nginx-ingress nonsense for an nginx-based service based on our proxy
Assuming everything here works, this should result in some certs, yey

Fixes #39
2017-08-26 19:36:58 -07:00
R. Tyler Croy ef4ff88322
Add support for provisioning packer-built VMs in Azure
THERE'S NO WAY THIS WORKS ON THE FIRST TRY
2017-08-21 20:59:43 -07:00
R. Tyler Croy f7f2bc5123
Add some resources for publishing images
This will be used for Packer images coming out of:
    https://github.com/CodeValet/codevalet/pull/12
2017-08-20 13:09:04 -07:00
R. Tyler Croy 11913550f5
Use session affinity for the webapp tier 2017-07-23 15:05:06 -07:00
R. Tyler Croy 81eb878ad3
Configure the kubernetes terraform provider so it will properly use .kube/config
Right now, this means that the first run of Terraform will fail, meaning the
provisioning for a new environment must follow:

    * make deploy
    * make .kube/config
    * make deploy
    * make deploy-k8s

Before all the resources are properly provisioned
2017-07-23 13:24:42 -07:00
R. Tyler Croy 2e5acb35db
Add some Terraform resources for provisioning the webapp pod in DNS
It'll live at @ for now, until we find a better home for it :)
2017-07-23 13:24:10 -07:00
R. Tyler Croy 3968115ccd
Do not attempt to provision the Kubernetes services until the control plane is up 2017-07-23 12:43:59 -07:00
R. Tyler Croy 1aa4307ad6
Make sure the webapp logs the user into Blue Ocean by default 2017-07-23 12:33:03 -07:00
R. Tyler Croy 88d02fbdf5
Still in progress, generating per-master terraform plans 2017-07-23 12:28:19 -07:00
R. Tyler Croy f128373984
Add a terraform template for some Jenkins master resources
The thinking here is that by using Terraform to provision some of the kubernetes
resources we can properly map public IPs to DNS A records
2017-07-23 00:37:09 -07:00
R. Tyler Croy f64b0e6d6a
Make working with DNS in non-production environments viable 2017-07-23 00:34:40 -07:00
R. Tyler Croy 62c5d940f4
Make region a variable for the terraform 2017-07-23 00:34:28 -07:00
R. Tyler Croy 4cd977f029
Add some DNS management into terraform
Not yet sure how well this is going to work out :shipit:
2017-07-22 13:51:05 -07:00
R. Tyler Croy 38de2b2568
Make the number of agents in the k8s cluster configurable
No need to configure this just yet, 1 ought to be enough for testing
2017-07-21 17:24:20 -07:00
R. Tyler Croy 84adcb2f20
Add the basic Terraform tooling to provision a Kubernetes cluster in Azure
First steps towards the control plane
2017-07-20 17:00:16 -07:00