Giter Site home page Giter Site logo

jiraonazuredemo's Introduction

Jira on Azure Demo

Prerequisites

  1. Install Azure Command-Line Interface (CLI):

    winget install Microsoft.AzureCLI
  2. Install kubectl:

    winget install Kubernetes.kubectl
    winget install Microsoft.Azure.Kubelogin
  3. Install Helm:

    winget install Helm.Helm

Deploy

  1. Set SQL_ADMINISTRATOR_LOGIN_PASSWORD:

    $env:SQL_ADMINISTRATOR_LOGIN_PASSWORD=...
  2. Update main.bicepparam

  3. Deploy template:

    az deployment sub create --location northeurope --template-file .\main.bicep --parameters .\main.bicepparam
  4. Make current user admin (TODO: Configure in Bicep)

    $cluster=$(az aks show --resource-group Atlassian --name atlassian --query id -o tsv)
    $user=$(az ad signed-in-user show --query id -o tsv)
    az role assignment create --role "Azure Kubernetes Service RBAC Cluster Admin" --assignee $user --scope $cluster
  5. Login to Kubernetes:

    az aks get-credentials --resource-group Atlassian --name atlassian
  6. Verify connection:

    kubectl cluster-info
  7. Create namespace for Jira:

    kubectl create namespace jira
  8. Set secrets:

    kubectl create secret generic jira.database.credentials --from-literal=username="sqladmin" --from-literal=password="$env:SQL_ADMINISTRATOR_LOGIN_PASSWORD" -n jira
  9. Apply storage class:

    kubectl apply -f azure-file-sc.yaml
  10. Enable Azure Monitor in the Portal (TODO: Configure in Bicep)

  11. Install Jira using Helm: https://atlassian.github.io/data-center-helm-charts/userguide/INSTALLATION/:

    helm install jira atlassian-data-center/jira --namespace jira --values jira-values.yaml
  12. Test and debug

    helm test jira --logs --namespace jira
    
    kubectl get pods -n jira
    kubectl get service -n jira
    kubectl logs jira-0 -n jira
    kubectl describe pod jira-0 -n jira
    
    helm upgrade jira atlassian-data-center/jira --namespace jira --values jira-values.yaml
    
    helm uninstall jira --namespace jira

jiraonazuredemo's People

Contributors

ondfisk avatar

Watchers

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