Giter Site home page Giter Site logo

sitecore-symposium-2020-containers-aks's Introduction

Containers & AKS: Taking Sitecore 10 to the next level

Installing prerequisite software

The current script will install Kubernetes version 1.17.11. If you want to change to another version, please update the scripts.

# list Azure locations
az account list-locations -o table

# get  Azure locations
az aks get-versions -l west-europe -o table 

KubernetesVersion    Upgrades
-------------------  ------------------------
1.19.0(preview)      None available
1.18.8               1.19.0(preview)
1.18.6               1.18.8, 1.19.0(preview)
1.17.11              1.18.6, 1.18.8
1.17.9               1.17.11, 1.18.6, 1.18.8
1.16.15              1.17.9, 1.17.11
1.16.13              1.16.15, 1.17.9, 1.17.11

Scripts

All the scripts has default values in place.

Create the Azure resource group, and create Azure Container Registry


.\1.CreateDepends.ps1 -Region ... -ResourceGroup ... -MyRegistry ... -SkuAcr ... 

Create the AKS Kubernetes cluster:

  • two Linux nodes (Kubernetes core)
  • one Windows node
  • assign ACR to cluster
  • grep authenticate
.\2.CreateAKS.ps1 -Region -ResourceGroup -AksName -AcrName -AzureWindowsPassword   

Install the tools:

.\3.InstallTools.ps1 -Region -ResourceGroup -AksName -AcrName 

Set-up cluster

  • deploy helm chart ingress-nginx/ingress-nginx
.\4.CreateNginx.ps1

Create solution

.\5.CreateNamespaceAndSecrets.ps1

Deploy the external services

  • Microsoft SQL
  • Solr
  • Redis
.\6.Externals.ps1  

Intiozalie the external services

  • Microsoft SQL
  • Solr
.\7.Init.ps1

Deploy the solution

.\8.SolutionAndNginx.ps1

sitecore-symposium-2020-containers-aks's People

Contributors

bplasmeijer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sitecore-symposium-2020-containers-aks's Issues

Issue with connecting to MSSQL Pod from Mssql init Job

While executing Init.ps1, the MSSQL Init Jobs fail. I Verified that the MSSQL Pod is created and running.
Even I tried to redeploy both Mssql pod and rerun the jobs.

Following are the logs from the Init Pods. Any help to troubleshoot this would be appreciated.

Start publishing dacpacs
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [53]. .
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if inst
ance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
sqlcmd exited with code 1
At C:\DeployDatabases.ps1:91 char:9

  •     throw "sqlcmd exited with code $LASTEXITCODE"
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (sqlcmd exited with code 1:Str
      ing) [], RuntimeException
    • FullyQualifiedErrorId : sqlcmd exited with code 1

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.