1023 B
1023 B
Installation
This document describes installation procedure for jenkins-operator. All container images can be found at virtuslab/jenkins-operator
Requirements
To run jenkins-operator, you will need:
- running Kubernetes cluster
- kubectl
Configure Custom Resource Definition
Install Jenkins Custom Resource Definition:
kubectl create -f deploy/crds/virtuslab_v1alpha1_jenkins_crd.yaml
Deploy jenkins-operator
Create Service Account and RBAC roles:
kubectl create -f deploy/service_account.yaml
kubectl create -f deploy/role.yaml
kubectl create -f deploy/role_binding.yaml
Update container image to virtuslab/jenkins-operator: in deploy/operator.yaml and deploy jenkins-operator:
kubectl create -f deploy/operator.yaml
Watch jenkins-operator instance being created:
kubectl get pods -w
Now jenkins-operator should be up and running in default namespace.