Skip to content

Instantly share code, notes, and snippets.

@cpretzer
cpretzer / build_output.txt
Created May 10, 2019 04:40
Output from running linkerd2 web build with node 12
bin/web setup
yarn install v1.15.2
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
[-/5] ⢀ waiting...
[2/5] ⢀ fsevents
[3/5] ⢀ fibers
[4/5] ⢀ fsevents
@cpretzer
cpretzer / dev_console_err.txt
Created May 10, 2019 20:26
iteratee is not a function error with building with Node 12
Uncaught TypeError: iteratee is not a function
at _baseOrderBy.js:24
at arrayMap (_arrayMap.js:16)
at _baseOrderBy.js:23
at _baseMap.js:17
at _createBaseEach.js:24
at baseMap (_baseMap.js:16)
at baseOrderBy (_baseOrderBy.js:22)
at sortBy.js:45
at apply (_apply.js:15)
@cpretzer
cpretzer / cni-iptables-wait.yml
Created July 19, 2019 22:39
YAML file generated for custom Linkerd cni-plugin image
### Namespace ###
kind: Namespace
apiVersion: v1
metadata:
name: linkerd
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: linkerd-linkerd-cni
apiVersion: v1
kind: Pod
metadata:
annotations:
kubectl.kubernetes.io/restartedAt: "2019-10-12T09:46:53-07:00"
kubernetes.io/psp: eks.privileged
linkerd.io/created-by: linkerd/proxy-injector stable-2.6.0
linkerd.io/identity-mode: default
linkerd.io/proxy-version: stable-2.6.0
creationTimestamp: "2019-10-12T17:02:08Z"
@cpretzer
cpretzer / consul_namer_repro.tgz
Last active December 17, 2019 05:42
Configuration files to reproduce issue with Consul Namer and Linkerd
apiVersion: v1
data:
mime.types: |2
types {
text/html html htm shtml;
text/css css;
text/xml xml;
image/gif gif;
image/jpeg jpeg jpg;
alias dcup='docker-compose up'
alias deploy='kubectl get deploy'
alias dims='docker images'
alias dps='docker ps -a'
alias drm='docker rm'
alias drmi='docker rmi'
alias k='kubectl'
alias ka='kubectl apply'
alias kde='kubectl describe'
alias kdl='kubectl delete'
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: web-ingress
namespace: linkerd
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/upstream-vhost: $service_name.$namespace.svc.cluster.local:8084
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Origin "";
@cpretzer
cpretzer / curl-linkerd-2.6.1-injected.yml
Last active May 18, 2020 19:26
Squid repro files using https_proxy
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: curl-261
name: curl-261
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 1
$ ./sbt namer-zk-leader/compile:doc
[info] Loading global plugins from /Users/cpretzer/.sbt/0.13/plugins
[info] Loading project definition from /Users/cpretzer/projects/linkerd/linkerd/project
[info] Compiling 1 Scala source to /Users/cpretzer/projects/linkerd/linkerd/project/target/scala-2.10/sbt-0.13/classes...
[info] Resolving key references (63111 settings) ...
[info] Set current project to all (in build file:/Users/cpretzer/projects/linkerd/linkerd/)
[info] Updating {file:/Users/cpretzer/projects/linkerd/linkerd/}namer-zk-leader...
[info] Resolving jline#jline;2.14.1 ...
[info] Done updating.
[warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible: