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
#!/bin/bash | |
# Check if all the variables are there to execute: | |
# https://raw.githubusercontent.com/Microsoft/openshift-container-platform/master/scripts/deployOpenShift.sh | |
export SUDOUSER=$1 | |
export PASSWORD="$2" | |
export MASTER=$3 | |
export MASTERPUBLICIPHOSTNAME=$4 | |
export MASTERPUBLICIPADDRESS=$5 | |
export INFRA=$6 | |
export NODE=$7 |
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
.vscode | |
.env | |
*.env | |
*.env.BACKUP | |
*.env.BACKUP* | |
job.json | |
job-prep.sh | |
*.zip |
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: Service | |
metadata: | |
name: win-webserver | |
labels: | |
app: win-webserver | |
spec: | |
ports: | |
# the port that this service should serve on | |
- port: 80 |
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
+ source /opt/azure/containers/provision_source.sh | |
++ cat /etc/lsb-release /etc/os-release | |
++ awk '{print toupper($0)}' | |
++ tr -d 'ID="' | |
++ grep '^ID=' | |
+ OS=UBUNTU | |
+ UBUNTU_OS_NAME=UBUNTU | |
+ RHEL_OS_NAME=RHEL | |
+ COREOS_OS_NAME=COREOS | |
+ KUBECTL=/usr/local/bin/kubectl |
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
#!/bin/bash | |
# Interactively create an Azure Service Principal for any of your subscriptions | |
# Author: Bruno Medina (@brusmx) | |
# Requirements: | |
# - Azure Cli 2.0 | |
# | |
# Example of usage: | |
# chmod +x obtainSP.sh | |
# ./obtainSP.sh | |
echo "Obtain a Service Principal for one of your Azure Subscriptions." |
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
#!/bin/bash | |
# Interactively create an Azure Service Principal for any of your subscriptions | |
# Author: Bruno Medina (@brusmx) | |
# Requirements: | |
# - Azure Cli 2.0 | |
# | |
# Example of usage: | |
# chmod +x obtainSP.sh | |
# ./obtainSP.sh | |
echo "Obtain a Service Principal for one of your Azure Subscriptions." |
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
#!/bin/bash | |
# Interactively create an Azure Container service with kubernetes and custom Agent pools | |
# Author: Bruno Medina (@brusmx) | |
# Requirements: | |
# - Azure Cli 2.0 | |
# - jq | |
# | |
# Example of usage: | |
# ./create-acs-k8s-custom-agent-pools.sh |
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
#!/bin/bash | |
# Interactively create an Azure Service Principal for any of your subscriptions | |
# Author: Bruno Medina (@brusmx) | |
# Requirements: | |
# - Azure Cli 2.0 | |
# | |
# Example of usage: | |
# sh create-hybrid-vnet.sh | |
# Making sure it's connected |
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
#!/bin/bash | |
# NOT A SCRIPT | |
# Commands to deploy Kubernetes cluster with k8s 1.7 and managed disks | |
# Author: Bruno Medina (@brusmx) | |
# Requirements: | |
# - Azure Cli 2.0 (Using 2.0.16) | |
# - jq (Using 1.5) | |
# - acs-engine (using release acs-engine-v0.6.0-darwin-amd64 | MD5 checksum(acs-engine-v0.6.0-darwin-amd64/acs-engine) = b124d5ca90dcf5bdd0d9da5699ba776b ) | |
# - managed-disks-cluster.json most be at the same level of this |
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
#!/bin/bash | |
# Interactively create an Azure Service Principal for any of your subscriptions | |
# Author: Bruno Medina (@brusmx) | |
# Requirements: | |
# - Azure Cli 2.0 | |
# - jq-1.5 | |
# | |
# Example of usage: | |
# ./obtainSP.sh | |
ROLE="Contributor" |