Giter VIP home page Giter VIP logo

jira-on-gke's Introduction

Jira on GKE

These are my notes on setting up a Jira Server on Google Cloud Platform and k8s.

Overview

  • This guide is only showing the high level steps to provision a Jira setup for GKE
  • This is production ready. I used Jira like this in production.

References

Usage

There are data to be "customized" manually:

Configure Instance Database - CloudSQL

How to Use CloudSQL Proxy

  • PROJECT_NAME:REGION:INSTANCE_NAME - jira-deployment.yaml

Public URL

  • JIRA_URL - jira-deployment.yaml, jira-configmap-server.yaml and jira-configmap.nginx.yaml

HTTPS

Creating a Secret Manually

  • CRT_HASH - tls.crt
  • KEY_HASH - key.crt

NOTE: I'm going to start from the premise that there is a Postgresql database instance already configured.

Jira Deployment

1 - Run in project folder:

kubectl create ns jira-cloud && kubectl -n jira-cloud create -f ./

This may take a while! Currently this container is big! Like 873 MB big. I'll improve that later.

kubectl get pods
NAME                          READY   STATUS              RESTARTS   AGE
jira-cloud-7f8dcd97b9-lmhg6   0/3     ContainerCreating   0          2s

3 - Once the download completes you'll be good to go:

$ kubectl get pods
NAME                          READY   STATUS    RESTARTS   AGE
jira-cloud-7f8dcd97b9-lmhg6   3/3     Running   0          23h

Configure Jira

Access your Jira install using a local port forward. You don't want to get hacked right out of the gate.

kubectl port-forward jira-cloud-7f8dcd97b9-lmhg6 8080:80
Forwarding from 127.0.0.1:8080 -> 80
Forwarding from [::1]:8080 -> 80

Visit http://127.0.0.1:80 in your browser and complete the initial setup.

Jira Setup Jira Setup Jira Setup Jira Setup

External Service

Once you have Jira all setup you can expose it on the public internet. This setup is secure so you'll need to do some extra work get HTTPS working. Just create a secret with the name "tls-https".

kubectl get svc -n jira-cloud
NAME         TYPE           CLUSTER-IP      EXTERNAL-IP       PORT(S)                      AGE
jira-cloud   LoadBalancer   10.59.247.201   xxx.xxx.xxx.xxx   443:31724/TCP,80:30625/TCP   12d

At this point you can visit Jira on http://xxx.xxx.xxx.xxx or https://xxx.xxx.xxx.xxx .

References

Project forked of Jira on kubernetes

jira-on-gke's People

Contributors

bruhsb 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.