https://github.com/stuartleeks/readysummerfy18
Demos for our internal conference
https://github.com/stuartleeks/readysummerfy18
Last synced: about 1 year ago
JSON representation
Demos for our internal conference
- Host: GitHub
- URL: https://github.com/stuartleeks/readysummerfy18
- Owner: stuartleeks
- License: mit
- Created: 2017-07-05T09:00:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T17:44:44.000Z (over 8 years ago)
- Last Synced: 2025-02-17T10:49:09.026Z (over 1 year ago)
- Language: Shell
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReadySummerFY18
Demos for our internal conference
## Initial Installation steps
Pre-requisites
* Azure CLI
* kubectl (although this can be installed via `az aks install-cli` once the Azure CLI is installed :-))
### Set up Azure DNS
Set up Azure DNS for use in the demos.
Then set up some environment variables for the later scripts
```bash
export AZDNS_RESOURCE_GROUP=dnstest
export DEMO_DOMAIN_NAME=azure.faux.ninja
```
### Deploy a cluster
Run the `deploy-cluster.sh` script, e.g.:
```
deploy/deploy-cluster.sh \
--resource-group readyprep \
--location westeurope \
--cluster-name readyprep \
--ssh-key ~/.ssh/acs-stuart.pub \
--admin-username stuart \
--base-domain azure.faux.ninja
```
The deploy script:
* Creates a resource group
* Creates an AKS deployment
* Deploys VAMP
* Sets up the DNS for vamp.base_domain
## Demo setup
### k8s-rolling
```bash
# deploy pods
./k8s-rolling/deploy-initial.sh
# wire up dns
./common/dns/set-dns.sh --domain $DEMO_DOMAIN_NAME --subdomain rolling --service-name rolling
```
### vamp-blue-green
```bash
# initial deployment
./vamp-blue-green/deploy-initial.sh
# wire up dns
./vamp-blue-green/set-dns-for-gateway.sh --domain $DEMO_DOMAIN_NAME --subdomain bluegreen --gateway-name demo_80
```