Skip to content

Instantly share code, notes, and snippets.

👊
Coding things and making a mesh out of YAML

Cody De Arkland codyde

👊
Coding things and making a mesh out of YAML
Block or report user

Report or block codyde

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
@codyde
codyde / cluster.yml
Created Jan 3, 2020
Consul-Helm KIND Cluster
View cluster.yml
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
nodes:
- role: control-plane
- role: worker
- role: worker
- role: worker
@codyde
codyde / values.yaml
Created Jan 3, 2020
Consul-Helm Values for KIND
View values.yaml
global:
# enabled is the master enabled switch. Setting this to true or false
# will enable or disable all the components within this chart by default.
# Each component can be overridden using the component-specific "enabled"
# value.
enabled: true
# Domain to register the Consul DNS server to listen for.
domain: consul
View minio-nopvc.yaml
apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1
kind: Deployment
metadata:
# This name uniquely identifies the Deployment
name: minio-deployment
spec:
selector:
matchLabels:
app: minio
strategy:
@codyde
codyde / blueprint.yaml
Created Jul 8, 2019
Docker Host Build CAS
View blueprint.yaml
name: Docker Host Build - Ubuntu
version: v2
inputs:
username:
type: string
password:
type: string
encrypted: true
resources:
Cloud_Machine_1:
@codyde
codyde / sample-content.yaml
Created May 7, 2019
Sample's of various blueprint expression content (operators, base64 encode, to lower, etc...)
View sample-content.yaml
name: CAS Expressions Demo
version: 4
formatVersion: 1
inputs:
environment:
type: string
enum:
- AWS
- vSphere
- Azure
@codyde
codyde / wordpress.yaml
Created May 1, 2019
Grant Orchards nearly acceptable WordPress Blueprint
View wordpress.yaml
formatVersion: 1
name: Wordpress 2.0
version: 1
inputs:
env:
type: string
title: Environment
description: Target Environment
oneOf:
- title: Dev
View Dockerfile
### STAGE 1: Build ###
FROM node:10.10-alpine as builder
COPY package.json package-lock.json ./
RUN npm i && mkdir /ng-app && cp -R ./node_modules ./ng-app
WORKDIR /ng-app
View docker-compose.yaml
# use this with `docker-compose up` against a generic Docker end-point (e.g. standalone Docker)
version: "3.7"
services:
frontend:
build:
context: ./frontend-tier
dockerfile: ./Dockerfile
image: harbor.humblelab.com/library/cmbu-app-frontend:latest
@codyde
codyde / sample.yaml
Created Dec 7, 2018
Focused on Storage Constraint
View sample.yaml
inputs: {}
resources:
Cloud_Machine_1:
type: Cloud.Machine
properties:
constraints:
- tag: 'cloud:vsphere'
image: Ubuntu
flavor: small
networks:
@codyde
codyde / sample.yaml
Created Dec 7, 2018
Focused on Storage Constraint
View sample.yaml
inputs: {}
resources:
Cloud_Machine_1:
type: Cloud.Machine
properties:
constraints:
- tag: 'cloud:vsphere'
image: Ubuntu
flavor: small
networks:
You can’t perform that action at this time.