-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9ba08c
commit 6b43a71
Showing
19 changed files
with
681 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
7 changes: 1 addition & 6 deletions
7
blueprints/getting-started/README.md → blueprints/01-getting-started/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
domain_name = "example.domain.com" # Required. Domain name used by the CloudBees CI instance. | ||
|
||
temp_license = { # Required. Temporary license details. | ||
first_name = "Foo" | ||
last_name = "Bar" | ||
email = "[email protected]" | ||
company = "Acme Inc." | ||
} | ||
|
||
# tags = { # Optional. Tags for the resources created. Default set to empty. Shared among all. | ||
# "cb-owner" : "professional-services" | ||
# "cb-user" : "crodriguezlopez" | ||
# "cb-environment" : "demo" | ||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# CloudBees CI Add-on at scale Blueprint | ||
|
||
Once you have familiarized yourself with the [Getting Started blueprint](../01-getting-started/README.md), this blueprint presents a more scalable architecture adding the following features to the previous blueprint: | ||
|
||
- [Cluster Autoscaler](https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/addons/cluster-autoscaler/) | ||
<!-- - [Node Termination Handler](https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/addons/aws-node-termination-handler/) --> | ||
- [EFS CSI Driver](https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/addons/aws-efs-csi-driver/). CloudBees CI HA/HS requirement. | ||
- [Metrics Server](https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/addons/aws-efs-csi-driver/). CloudBees CI HA/HS requirement for Horizontal Pod Autoscaling. | ||
|
||
Additionally, it uses [CloudBees Configuration as Code](https://docs.cloudbees.com/docs/cloudbees-ci/latest/casc-oc/casc-intro) for configuring the [Operation Center](https://docs.cloudbees.com/docs/cloudbees-ci/latest/casc-oc/) and [Controllers](https://docs.cloudbees.com/docs/cloudbees-ci/latest/casc-controller/). | ||
|
||
## Prerequisites | ||
|
||
Refer to the [Getting Started Blueprint - Prerequisites](../01-getting-started/README.md#prerequisites) section. | ||
|
||
## Terraform Docs | ||
|
||
<!-- BEGIN_TF_DOCS --> | ||
### Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|------|---------|:--------:| | ||
| domain_name | Desired domain name (e.g. example.com) used as suffix for CloudBees CI subdomains (e.g. cjoc.example.com). It requires to be mapped within an existing Route 53 Hosted Zone. | `string` | n/a | yes | | ||
| temp_license | Temporary license details | `map(string)` | n/a | yes | | ||
| tags | Tags to apply to resources | `map(string)` | `{}` | no | | ||
|
||
### Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| acm_certificate_arn | ACM certificate ARN | | ||
| cjoc_url | URL of the CloudBees CI Operations Center | | ||
| eks_bp_addon_cbci_helm | Helm configuration for CloudBees CI Add-on. It is accesible only via state files. | | ||
| eks_bp_addon_cbci_initial_admin_password | Operation Center Service Initial Admin Password for CloudBees CI Add-on. | | ||
| eks_bp_addon_cbci_liveness_probe_ext | Operation Center Service External Liveness Probe for CloudBees CI Add-on. | | ||
| eks_bp_addon_cbci_liveness_probe_int | Operation Center Service Internal Liveness Probe for CloudBees CI Add-on. | | ||
| eks_bp_addon_cbci_namepace | Namespace for CloudBees CI Add-on. | | ||
| eks_bp_addon_cbci_oc_ing | Operation Center Ingress for CloudBees CI Add-on. | | ||
| eks_bp_addon_cbci_oc_pod | Operation Center Pod for CloudBees CI Add-on. | | ||
| eks_cluster_arn | EKS cluster ARN | | ||
| export_kubeconfig | Export KUBECONFIG environment variable to access the EKS cluster. | | ||
| vpc_arn | VPC ID | | ||
<!-- END_TF_DOCS --> | ||
|
||
## Deploy | ||
|
||
Refer to the [Getting Started Blueprint - Prerequisites](../01-getting-started/README.md#deploy) section. | ||
|
||
## Validate | ||
|
||
Refer to the [Getting Started Blueprint - Prerequisites](../01-getting-started/README.md#validate) section. | ||
|
||
## Destroy | ||
|
||
Refer to the [Getting Started Blueprint - Prerequisites](../01-getting-started/README.md#destroy) section. | ||
|
||
## Architecture | ||
|
||
![Architecture]() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) CloudBees, Inc. | ||
|
||
#https://artifacthub.io/packages/helm/cloudbees/cloudbees-core/ | ||
#https://docs.cloudbees.com/docs/cloudbees-ci/latest/eks-install-guide/installing-eks-using-helm | ||
|
||
OperationsCenter: | ||
Ingress: | ||
Annotations: | ||
alb.ingress.kubernetes.io/target-group-attributes: stickiness.enabled=true | ||
NodeSelector: | ||
ci_type: cb-apps | ||
Tolerations: | ||
- key: dedicated | ||
operator: Equal | ||
value: cb-apps | ||
effect: NoSchedule | ||
Persistence: | ||
StorageClass: efs | ||
Hibernation: | ||
Enabled: true | ||
Agents: | ||
SeparateNamespace: | ||
Enabled: true | ||
Create: true | ||
Name: cbci-agents |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#https://artifacthub.io/packages/helm/external-dns/external-dns | ||
#https://github.com/kubernetes-sigs/external-dns/tree/master/charts/external-dns/Chart.yaml | ||
provider: "aws" | ||
domainFilters: [ "${zoneDNS}" ] | ||
policy: "sync" | ||
logLevel: "debug" |
Oops, something went wrong.