Skip to content

Instantly share code, notes, and snippets.

💭
checking react these days!

rahul sahay rahulsahay19

💭
checking react these days!
Block or report user

Report or block rahulsahay19

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View browseAKS.ps1
Param(
[parameter(Mandatory=$false)]
[string]$resourceGroupName="KubernetesRG",
[parameter(Mandatory=$false)]
[string]$clusterName="aksLearningCluster"
)
# Browse AKS dashboard
Write-Host "Browse AKS Learning cluster $clusterName" -ForegroundColor Yellow
az aks browse `
View CreateAKS.ps1
Param(
[parameter(Mandatory=$false)]
[string]$subscriptionName="Visual Studio Enterprise with MSDN",
[parameter(Mandatory=$false)]
[string]$resourceGroupName="KubernetesRG",
[parameter(Mandatory=$false)]
[string]$resourceGroupLocaltion="South East Asia",
[parameter(Mandatory=$false)]
[string]$clusterName="aksLearningCluster",
[parameter(Mandatory=$false)]
View db-service.yml
apiVersion: v1
kind: Service
metadata:
name: db-deployment
namespace: aks-learning
spec:
selector:
app: db
ports:
- protocol: TCP
View sa-password.yml
apiVersion: v1
kind: Secret
metadata:
name: sqlsecret
namespace: aks-learning
type: Opaque
data:
sapassword: AKSLearn(!)
View db-statefulset.yml
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: db-deployment
namespace: aks-learning
spec:
serviceName: db-deployment
replicas: 1
template:
metadata:
View api-deployment.yml
apiVersion: apps/v1
kind: Deployment
metadata:
name: aksapi
namespace: aks-learning
labels:
run: aksapi
spec:
View web-service.yml
apiVersion: v1
kind: Service
metadata:
name: webfront
namespace: aks-learning
spec:
type: NodePort
ports:
- port: 8080
selector:
View web-deployment.yml
apiVersion: apps/v1
kind: Deployment
metadata:
name: aksweb
namespace: aks-learning
labels:
run: webfront
spec:
View docker-compose.yml
version: '3'
services:
sql.data.client:
image: rahulsahay19/sqlclient
AKSWeb:
image: rahulsahay19/aksweb
AKSApi:
View docker-compose-run.yml
version: '3'
services:
sql.data:
image: mcr.microsoft.com/mssql/server:2017-latest
container_name: sql1
ports:
- "1433:1433"
environment:
- ACCEPT_EULA=Y
You can’t perform that action at this time.