kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
Run the initialize AKS cluster script from https://github.com/NileshGule/AKS-learning-series/tree/feature/sql2019/Powershell
The script also initializes Helm
on the cluster with the Tiller
account.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Xcode | |
# Build, test, and archive an Xcode workspace on macOS. | |
# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more: | |
# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode | |
pool: | |
vmImage: 'macOS 10.13' | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: techtalksapi | |
namespace: aks-part4 | |
labels: | |
run: techtalksapi | |
spec: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apps/v1beta1 | |
kind: StatefulSet | |
metadata: | |
name: db-deployment | |
namespace: aks-part4 | |
spec: | |
serviceName: db-deployment | |
replicas: 1 | |
template: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: sqlsecret | |
namespace: aks-part4 | |
type: Opaque | |
data: | |
sapassword: SnVuZUAyMDE4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apps/v1beta1 | |
kind: StatefulSet | |
metadata: | |
name: sqlserverstatefulset | |
namespace: abc2018sg | |
spec: | |
serviceName: db-deployment | |
replicas: 1 | |
template: |
- Pre-requisites from Part 1 related to Docker Hands on Lab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
kind: StorageClass | |
apiVersion: storage.k8s.io/v1beta1 | |
metadata: | |
name: azure-disk | |
namespace: abc2018sg | |
provisioner: kubernetes.io/azure-disk | |
parameters: | |
storageaccounttype: Standard_LRS | |
kind: Managed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: skaffold/v1alpha2 | |
kind: Config | |
build: | |
artifacts: | |
- imageName: nileshgule/sqlclient | |
workspace: ../src/TechTalksDB | |
- imageName: nileshgule/techtalksweb | |
workspace: ../src/TechTalksWeb | |
- imageName: nileshgule/techtalksapi | |
workspace: ../src/TechTalksAPI |
NewerOlder