Skip to content

Instantly share code, notes, and snippets.

View jldeen's full-sized avatar

Jessica Deen jldeen

View GitHub Profile
AWSTemplateFormatVersion: 2010-09-09
Description: >
This template provisions the infrastructure and deploys the Fargate services for use with the YELB sample application and Service Connect migration blog post.
Parameters:
StackName:
Type: String
Default: yelb-serviceconnect
Description: The name of the parent Fargate networking stack you created. Necessary to locate and reference resources created by said stack.
version: '3.8'
services:
db:
image: mysql:5.7
restart: always
environment:
# Fetching the password from the application settings
MYSQL_ROOT_PASSWORD: ${DATABASE_ROOT_PASSWORD}
MYSQL_DATABASE: ghost
function toggleMenu () {
~/.dotfiles/bin/toggleMenuBigSur.sh
}
@jldeen
jldeen / docker-compose.yaml
Last active March 12, 2020 03:47
docker-compose Selenium Hub File
version: '2'
services:
selenium_hub:
image: selenium/hub:latest
ports:
- 4444:4444
environment:
- SE_OPTS=-debug
- GRID_MAX_SESSION=5
#!/bin/bash
### Setup AppGateway V2 w/ multi namespace support
resourceGroup=jdk8s
k8sVnet=jdk8sVnet
appgwName=jdk8sappgw
appgwPublicIpName=appgwjdIP
# create dedicated appgateway vnet subnet
@jldeen
jldeen / jenkins-appgw-values.yaml
Created February 28, 2020 23:11
Sample Jenkins Values for use with App Gateway
# Includes complete Jenkins configuration in order to run croc-hunter pipeline
# To install on your own cluster, run:
# helm --namespace jenkins --name jenkins -f ./jenkins-values.yaml install stable/jenkins
master:
tag: "2.164.2"
resources:
requests:
cpu: "50m"
memory: "256Mi"
@jldeen
jldeen / azStorage.sh
Last active September 19, 2019 21:58
#!/bin/bash
set -eou pipefail
# Change varaibles below as needed
rg=myresourcegroup
location=eastus
blobStoreName=jdh3
containerName=helm
helmRepoName=jdhelm
# End variable declaration

Microsoft, Linux, Open Source, Cloud + DevOps Demo Commands

Image Pull Secrets

  • kubectl create secret docker-registry secret-name-here --docker-server=docker-server-here --docker-username=username --docker-password=password --namespace=namespace
  • values: image: repository: registry-address-here/repo-name-here tag: tag-here pullPolicy: IfNotPresent imagePullSecrets: