Skip to content

Instantly share code, notes, and snippets.

Thomas Rampelberg grampelberg

Block or report user

Report or block grampelberg

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
View tracing.yml
---
apiVersion: v1
kind: Namespace
metadata:
name: tracing
---
apiVersion: v1
kind: ConfigMap
metadata:
name: oc-agent
View clusters.makefile
# Cluster management tools.
# See https://github.com/grampelberg/k8s-clusters for updates and documentation.
export CLUSTER_NAME ?= $(shell cat tmp/current 2>/dev/null || echo $$(whoami)-dev)
export MACHINE_TYPE ?= n1-standard-2
export DISK_SIZE ?= 100
export MAX_NODES ?= 10
export NETWORK ?= dev
export PROJECT ?= foobar
export VERSION ?= latest
View gist:f48bc9131aeaf3f959357ab50c575bb9
.PHONY: build
build:
ifeq ($(OS),Darwin)
$(MAKE) build-darwin
endif
$(MAKE) build-linux
.PHONY: build
build: build-$(OS)
View gist:f4d2b2f17e037d303c07ac585dd52781
command: ["python", "-c"]
args:
- |-
import time
while True:
print('.')
time.sleep(5)
View clusters.makefile
# Cluster management tools.
export CLUSTER_NAME ?= $(shell cat tmp/current 2>/dev/null || echo $$(whoami)-dev)
export MACHINE_TYPE ?= n1-standard-2
export DISK_SIZE ?= 100
export MAX_NODES ?= 10
export NETWORK ?= dev
export PROJECT ?= runconduit
export VERSION ?= latest
export ZONE ?= us-west1-a
View gist:46e788a97e3406ffd665893cdf9884e0
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: slow-cooker
namespace: leaderboard
spec:
replicas: 1
template:
View traefik.yaml
---
# Source: traefik/templates/default-cert-secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: release-name-traefik-default-cert
labels:
app: traefik
chart: "traefik-1.55.1"
View default-psp.yaml
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: root
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
spec:
privileged: true
View APIService.yaml
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
creationTimestamp: 2018-12-09T19:26:28Z
labels:
app: prometheus-adapter
chart: prometheus-adapter-v0.2.1
heritage: Tiller
release: linkerd
name: v1beta1.custom.metrics.k8s.io
View inject.bash
kubectl get -n nodevoto deploy/web -o yaml \
| linkerd inject - \
| kubectl apply -f -
You can’t perform that action at this time.