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
# 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 |
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
.PHONY: build | |
build: | |
ifeq ($(OS),Darwin) | |
$(MAKE) build-darwin | |
endif | |
$(MAKE) build-linux | |
.PHONY: build | |
build: build-$(OS) |
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
command: ["python", "-c"] | |
args: | |
- |- | |
import time | |
while True: | |
print('.') | |
time.sleep(5) |
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
# 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 |
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: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: slow-cooker | |
namespace: leaderboard | |
spec: | |
replicas: 1 | |
template: |
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: 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" |
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: policy/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: root | |
annotations: | |
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*' | |
spec: | |
privileged: true |
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: 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 |
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
kubectl get -n nodevoto deploy/web -o yaml \ | |
| linkerd inject - \ | |
| kubectl apply -f - |
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
linkerd dashboard |