Giter Club home page Giter Club logo

helm-charts's Introduction

Hi, I'm Markus

I'm a ๐Ÿ‘จโ€๐Ÿ’ป Team Manager, Lead DevOps Engineer & Product Manager from Germany working at COSMO CONSULT. I'm interested in DevOps, Containers, Orchestration, Cloud-native, IaC and Azure and enjoy sharing my knowledge at lippertmarkus.com.

๐Ÿ“ซ Reach me

Linkedin Badge Twitter Badge Gmail Badge Website Badge

๐Ÿ’ป Some Tech...

... I currently regularly work with

Docker Kubernetes Helm Microsoft Azure Azure DevOps Azure Pipelines PowerShell .NET C# NuGet Git Linux Windows Bash Visual Studio Code Visual Studio Microsoft SQL Server Microsoft Dynamics 365 Business Central Jekyll GitHub

... I sometimes work with

Terraform Vagrant Rancher Jenkins Prometheus Grafana GitHub Actions Go Java nginx React AngularJS TypeScript Bootstrap HTML5 CSS3 JavaScript C Python Arduino Raspberry Pi LaTeX Let's Encrypt Chocolatey

๐Ÿ“• Latest Blog posts

helm-charts's People

Contributors

lippertmarkus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

helm-charts's Issues

Business Central image repo name changed

I just tried running the BC helm charts in Azure and the pod could not pull the Business Central image
image

I think it is because the old repo where MSFT hosted the images was deleted and replaced with mcr.microsoft.com/businesscentral

BTW amazing project. I was blown away... especially with the vagrant support โค

I created a draft PR but it failed.

Stuck at "Starting Business Central Tier"

Hi,

Hope you can help. I am currently attempting to deploy Business Central to Kubernetes cluster using Helm and Terraform. I am sure I have configured the helm file correctly as checking the logs I can see the Helm setting up the application. However, when it gets to "Starting Business Central Tier" , the application just stays stuck there and the installation process being again. I have a timeout of 15 mins in place to make sure that the intall process does not run unncessarily for too long.

Below is a log from the pod:

Adding BUSINESS-CENTRA to hosts file
Using artifactUrl https://bcartifacts.azureedge.net/onprem/16.5.15897.15953/w1
Downloading application artifact /onprem/16.5.15897.15953/w1
Downloading C:\Users\ContainerAdministrator\AppData\Local\Temp\4cdca395-c301-4ba2-a40c-369c3c8ed8ec.zip
Unpacking application artifact
Downloading platform artifact /onprem/16.5.15897.15953/platform
Downloading C:\Users\ContainerAdministrator\AppData\Local\Temp\4a4cd2df-0c98-4eca-b346-162334e37017.zip
Unpacking platform artifact
Downloading Prerequisite Components
Downloading c:\dl\onprem\16.5.15897.15953\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Downloading c:\dl\onprem\16.5.15897.15953\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\dl\onprem\16.5.15897.15953\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\16.5.15897.15953\platform\ServiceTier\Program Files
c:\dl\onprem\16.5.15897.15953\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\16.5.15897.15953\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\16.5.15897.15953\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\onprem\16.5.15897.15953\w1\database\Demo Database NAV (16-0).bak
Restoring CRONUS Demo Database
Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Copying Web Client Files
c:\dl\onprem\16.5.15897.15953\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\onprem\16.5.15897.15953\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\onprem\16.5.15897.15953\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\onprem\16.5.15897.15953\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\onprem\16.5.15897.15953\platform
c:\dl\onprem\16.5.15897.15953\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\onprem\16.5.15897.15953\platform\ConfigurationPackages
Copying Test Assemblies
C:\dl\onprem\16.5.15897.15953\platform\Test Assemblies
Copying Applications
C:\dl\onprem\16.5.15897.15953\platform\Applications
Starting Business Central Service Tier

Terraform Helm release:

resource "kubernetes_namespace" "business_central" {
  metadata {
    name = "business-central"
  }
}

resource "helm_release" "business_central" {
  name          = "business-central"
  repository    = "https://charts.lippertmarkus.com"
  chart         = "business-central"
  namespace     = kubernetes_namespace.business_central.metadata.0.name

  timeout = 900 // 15 mins wait timeout

  values = [file("configurations/business_central/values.yaml")]

//  depends_on = [
//      helm_release.ingress
//  ]
}

This is the yaml file I am using for the deployment of the application

probes:
  enabled: false

ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.ingress.kubernetes.io/use-regex: "true"
    cert-manager.io/cluster-issuer: letsencrypt-staging
    kubernetes.io/tls-acme: "true"
  path: /bc/(/|$)(.*)
  hosts:
    - host: bcentral-dev.domain.io
      path: /bc(/|$)(.*)
      serviceport: web
  tls:
    - secretName: bcentral-dev-tls
      hosts:
        - bcentral-dev.domain.io

Any ideas as to what may be going wrong here? The windows node version is at AKSWindows-2019-17763.2213.210922
while the container version is docker://20.10.6

Thanks,

Emmanuel

How to access BC via public IP?

Hi Markus,

I now got the rancher cluster running and sucessfully starting the helm chart but I do not really understand how to access the Business Central Instance over the public ip. I started the deployment a second time and a currently waiting for the node to finish pulling the image but I think the port-forwarding will not help me either, correct?
image

I looked at your docu on artifacthub but I do not really know which of the 4 options is the best/correct one for my current usecase (which is just simply accessing 1 BC Instance hosted in k8s via the public IP)
image
I do not think that I really need the load balancer for this... Is ingress maybe the best route to go? And could you point me to some ressources that would explain to me how to set it up in Rancher?

Or am I on the wrong tract entirely?

Best regards
Chris

Replicas >0

Hello,

I was trying to understand if BC supports more than 1 replica (POD) connected to an external Database.
Do you have some information about that?

Best regards

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.