Commit Graph

313 Commits

Author SHA1 Message Date
R. Tyler Croy f3e608f519
Rebuild the Jenkins master image to embed nginx to handle some redirects
This should make it a bit easier to enforce some routing policies rather than
trying to coerce Kubernetes to do everything for us.
2017-12-12 15:24:00 -08:00
R. Tyler Croy 8cd07a8967
Ensure some form of varfile exists for Jenkins to run
The secrets obviously won't be in Jenkins here
2017-12-11 17:21:28 -08:00
R. Tyler Croy 9d64ef2775
Link to the new subdomain'ed hosts from the home page 2017-12-11 16:55:38 -08:00
R. Tyler Croy 9050d760ba
Add Owen and Mark back into the mix because hey why not 2017-12-11 16:54:42 -08:00
R. Tyler Croy 0e89b71ece
Move user-specific instances to their own subdomains to avoid issues with Let's Encrypt 2017-12-11 16:33:03 -08:00
R. Tyler Croy 2de5a6b918
Move Canary over to its own subdomain to avoid re-registering codevalet.io with Let's Encrypt in different namespaces
See: https://github.com/jetstack/kube-lego/issues/146
2017-12-07 11:07:34 -08:00
R. Tyler Croy db929af86c
Add some notes on deploying the AKS cluster with infra in place 2017-12-03 10:26:11 -08:00
R. Tyler Croy a4b5e98acc
Add @michaelneale back to the mix 2017-12-03 10:24:48 -08:00
R. Tyler Croy 2cdd04514a
Use the latest azure-cli which supports aks 2017-12-03 10:24:18 -08:00
R. Tyler Croy 9b624a8da5
Order the yaml files a bit to make it easier to deploy fresh 2017-12-02 19:16:51 -08:00
R. Tyler Croy 33987205a5
Switch to using a Stateful Set, which is for stateful applications
There doesn't seem to be any tangible difference in the performance between
using a Deployment or a StatefulSet but the docs say it's for stateful apps.
2017-12-02 19:15:19 -08:00
R. Tyler Croy b8b728ffe6
Explicitly set the storageAccount for the Azure File storage class 2017-11-30 16:29:22 -08:00
R. Tyler Croy 064d7977ca
CIFS doesn't support symbolic links so we'll just move things over 2017-11-30 16:25:50 -08:00
R. Tyler Croy bb35de9469
Add support for Azure File storage
This requires a storage account to be created in the
MC_<group>_<clustername>_<location> resource group hiding behind the AKS
environment.

Without that storage account, Azure won't provision the file volume
2017-11-30 08:45:36 -08:00
R. Tyler Croy b2b165cd92
Merge pull request #62 from rtyler/migration-to-cb
Migrate off rtyler's and onto CloudBees' infrastructure
2017-11-29 21:09:49 -08:00
R. Tyler Croy 15c5f28c9d
Add the kubernetes-plugin to the mix for hitting ACI 2017-11-29 21:07:39 -08:00
R. Tyler Croy 47c0a74ad8
Add a (currently unused) Azure Container Instance connector to the cluster 2017-11-29 21:03:48 -08:00
R. Tyler Croy 88686dc7ab
Add support for JNLP agents 2017-11-29 21:03:34 -08:00
R. Tyler Croy 1f141e47be
Switch to the storage account currently being used in Azure 2017-11-29 19:52:04 -08:00
R. Tyler Croy 67a27cacdf
Ensure that agent-templates are always generated on 'make generate' 2017-11-29 19:52:04 -08:00
R. Tyler Croy e7d6ce09da
Update the setup-azure-cloud script to handle the latest API breakages in Azure plugins
Live by the private API, die by the private API
2017-11-29 19:52:04 -08:00
R. Tyler Croy 4bbae33dbf
Switch webapp back to the latest and greatest 2017-11-29 18:03:21 -08:00
R. Tyler Croy 384accb3a7
Change the copyright over 2017-11-29 17:39:22 -08:00
R. Tyler Croy f51ba78bd5
Remove the unnecessary proxy code
This was hacked AF 💩 🔥
2017-11-29 17:37:13 -08:00
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 5ae9c6eefd
Ensure the container comes up with the right securityContext to access the PVC
(Persistent Volume Claim)
2017-11-29 17:34:25 -08:00
R. Tyler Croy 4b3c1439eb
Small note about some AAD permissions 2017-11-29 17:34:21 -08:00
R. Tyler Croy ff21bfc553
Properly namespace the ingress resource for each master 2017-11-29 17:33:55 -08:00
R. Tyler Croy f833106f82
Switch to relying on the nginx-ingress controller rather than our dumb proxy
There can be one ingress controller (ish) per clusters, but dumping an ingress
resource in each namespace with a specific path seems to do the right thing as
far as routing everything under codevalet.io
2017-11-29 16:52:01 -08:00
R. Tyler Croy 8cacff969c
Migrate canary and webapps to their own kubernetes namespaces and redeploy
This also upgrades these from ReplicationController resources to proper (modern)
Deployment resources in Kubernetes
2017-11-28 11:26:42 -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 29ef0576bf
Use the latest and greatest terraform 2017-11-13 14:16: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 9f698f6939
Merge pull request #60 from rtyler/no-executor-info
Remove the executor-info plugin which breaks on master
2017-11-02 08:40:43 -07:00
R. Tyler Croy e1ffa10cc8
Remove the executor-info plugin which breaks on master
Need to restrict the level of finding pom.xmls as well to avoid picking up a
ATH-based dependency blueocean-plugin has on the executor-info-plugin as well
2017-11-02 08:27:04 -07:00
R. Tyler Croy a808a5271f
Adjust to the new AzureVMAgentTemplate constructor 2017-10-02 15:16:07 -07:00
R. Tyler Croy 36bd40f172
Remove a couple accounts while I rebalance across kubernetes 2017-09-26 19:46:15 -07:00
R. Tyler Croy 08d123c7aa
Lower-case for consistency 2017-09-26 17:52:14 -07:00
R. Tyler Croy afc81321a6 Add jean-marc for some poking 2017-09-26 17:48:23 -07:00
R. Tyler Croy 5d8ec6d44e
Tweak the kubectl script to make running the proxy easy 2017-09-09 11:04:11 -07:00
R. Tyler Croy 1f1a710f8f
Include the blueocean-executor-info plugin
This should provide some better queueing information than Blue Ocean presently
provides
2017-09-09 09:05:54 -07:00
R. Tyler Croy 747cd1c9be
Remove some entities which are not currently needed.
No need to spend resources on these instances right now
2017-09-09 09:05:21 -07:00
R. Tyler Croy 4e3bcb6480
Adding @markewaite to the VERY EXCLUSIVE list 2017-09-04 21:10:10 -07:00
R. Tyler Croy d7254919df Merge pull request #51 from rtyler/check-container
Replicate the in-container build of gems/native extensions used in canary
2017-09-03 21:22:56 -07:00
R. Tyler Croy 23fefb2d02
Replicate the in-container build of gems/native extensions used in codevalet/canary
This hasn't caused issues yet, but I'm sure it would eventually.
2017-09-03 21:11:11 -07:00
R. Tyler Croy 09e72dc673 Merge pull request #50 from rtyler/make-check
Run the `check` target in the Test stage
2017-09-03 18:14:18 -07:00
R. Tyler Croy c434a85332
No need for a tty when checking the proxy container
Force of habit I suppose
2017-09-03 18:13:09 -07:00
R. Tyler Croy be371665f9
Avoid allocating a tty for the webapp in Jenkins 2017-09-03 18:09:58 -07:00