Be sure that you have set up all the prerequisites before you install. The supported Helm versions are listed in the Supported platforms page.
The following steps allow you to install CloudBees CI on modern cloud platforms with either HTTP or HTTPS support. By default, the CloudBees CI Helm chart uses HTTP. To use HTTPS, you must enable the TLS support and provide your TLS certificate before you install. If the certificate that you plan to use is near expiration, CloudBees recommends that you replace the certificate before you install CloudBees CI on modern cloud platforms. Refer to Replace an expired certificate for details.
The CloudBees CI on modern cloud platforms installation requires an NGINX Ingress controller. If you do not already have a controller installed, you can install one when you install CloudBees CI on modern cloud platforms.
Installing CloudBees CI on modern cloud platforms does the following:
-
Uses the default values specified by CloudBees.
-
Sets the
OperationsCenter.HostNamefield, if provided. -
Installs the chart with the release name
cloudbees-core. -
Uses hostname
cloudbees-core.example.com. -
Uses the default storage class defined in the target cluster.
|
CloudBees CI on modern cloud platforms uses Docker containers to run a cluster of computers within the Kubernetes container management system. You can optionally Verify the CloudBees CI on modern cloud platforms Docker images to ensure their origin and authenticity. |
Refer to one of the following procedures to install CloudBees CI on modern cloud platforms:
Install an Ingress Controller
An Ingress Controller must be installed separately.
To install an NGINX Ingress Controller using Helm chart:
-
Add the NGINX Ingress Helm chart repository.
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx helm repo update -
Run the following commands to install the Ingress Controller:
helm install \ ingress-nginx \ ingress-nginx/ingress-nginx \ --namespace ingress-nginx \ --create-namespace -
Once the Ingress Controller is installed, configure a DNS entry to target the corresponding external IP or hostname.
For more information about Ingress Controllers, refer to the Kubernetes documentation.
For more information on installing NGINX Ingress Controller, refer to the NGINX Ingress Controller Installation Guide.
Install CloudBees CI on modern cloud platforms with HTTP support
-
Add the CloudBees Helm chart repository as follows:
helm repo add cloudbees https://public-charts.artifacts.cloudbees.com/repository/public/ helm repo update -
Before initiating an installation, type the following commands to create a namespace:
kubectl create namespace cloudbees-core kubectl config set-context $(kubectl config current-context) --namespace=cloudbees-core