Skip to content

Instantly share code, notes, and snippets.

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: bookinfo-gateway-external
spec:
selector:
istio: aks-istio-ingressgateway-external
servers:
- port:
number: 80
# create an AKS cluster
AKS_RG="aks-rg"
AKS_NAME="aks-cluster"
az group create -n $AKS_RG -l eastus
az aks create -g $AKS_RG -n $AKS_NAME --network-plugin azure --generate-ssh-keys --node-count 2
az k8s-extension create -g $AKS_RG -c $AKS_NAME -n flux --extension-type microsoft.flux -t managedClusters --auto-upgrade-minor-version true
az aks get-credentials -n $AKS_NAME -g $AKS_RG --overwrite-existing
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.11.1.770",
"templateHash": "4298524079732996153"
}
},
---
title: Tutorial: Deploy Microsoft Energy Data Services and injest OSDU community open data using Azure CLI
description: In this tutorial, you'll learn how to create platform instance with the Azure CLI and load it with the OSDU community contributed DataSet
author: danielscholl
ms.author: dascholl
ms.service: energy
ms.topic: tutorial
ms.date: 9/15/2022
ms.custom: template-tutorial
---
#!/bin/bash
# Random string generator - don't change this.
RAND=$(echo $((RANDOM%9999+1000)))
LOCATION="eastus"
RESOURCEGROUP="container-deployment-$RAND"
if [ -z $1 ]; then
tput setaf 1; echo 'ERROR: URL Location of Deployment Script not provided' ; tput sgr0
echo "Goodby World"
@danielscholl
danielscholl / hello.sh
Created February 18, 2022 16:44
Hello World
echo "Hello World"
@danielscholl
danielscholl / readme.md
Last active September 11, 2021 14:17
Private AKS

Setup a fully Private AKS

These directions sill setup a an Private AKS Cluster

PREFIX="private"         # short unique name, min 5 max 8 letters
LOCATION="centralus"     # Azure Region

RESOURCE_GROUP="${PREFIX}-aks"
@danielscholl
danielscholl / validation.md
Created June 29, 2021 04:34
Kind - KV CSI with SP

Validation: KV CSI Secret Driver with Service Principal

This validation will use Service Principal and Key Vault CSI Secret Driver features to test secret management with Key Vault Secrets.

Create Azure Resources

# Azure CLI Login