Git Product home page Git Product logo

jenkins-kubernetes-lets-encrypt's Introduction

Jenkins Kubernetes Let's Encrypt

This is sample kubernetes installation for jenkins.

What You Will Get

  1. Jenkins installed on kubernetes
  2. Ingress(traefik) to jenkins namespace
  3. Secure connection (https) to your jenkins namespace using Let's Encrypt

    I am using k3s for testing this repo, as you know, k3s has built-in ingress (traefik), if you don't have ingress, please install first

How To

  1. Clone repo
git clone https://github.com/ludesdeveloper/jenkins-kubernetes-lets-encrypt.git
  1. Change directory
cd jenkins-kubernetes-lets-encrypt
  1. Create namespace
kubectl create namespace jenkins
  1. Install operator dependencies
kubectl apply -f operator/
  1. Install jenkins operator
helm repo add jenkinsci https://charts.jenkins.io
helm repo update
  1. Jenkins objects
helm install jenkins-objects ./jenkins-objects -n jenkins
  1. Create jenkins instance
chart=jenkinsci/jenkins
helm install jenkins -n jenkins -f jenkins-values.yaml $chart
  1. Install ingress, please change with your ingress controller ip address

    I am using nip.io for dns

helm install ingress ./ingress --set nipIPAddress=111-111-111-111
  1. Get jenkins password
jsonpath="{.data.jenkins-admin-password}"
secret=$(kubectl get secret -n jenkins jenkins -o jsonpath=$jsonpath)
echo $(echo $secret | base64 --decode)

Sources

  1. K3S Let's Encrypt
  2. Installing Jenkins on Kubernetes

jenkins-kubernetes-lets-encrypt's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.