Instantly share code, notes, and snippets.

View whoami.yaml
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: whoami
namespace: traefikee
labels:
app: traefikee
spec:
replicas: 2
View helm-rbac-config.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller
View arp-poison.py
#!/usr/bin/python
# Python arp poison example script
# Written by aviran
# visit for more details aviran.org
View README.md

Kubernetes 1.13 on Raspberry Pis

This tutoriel is HEAVILY inspired by https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17da2d975, but adapted (docker/kubernetes versions + custom scripts + a hacky "background script" to tune the timeout of Kubeadm)

Requirements

  • Hypriot 1.9.x (1.10 not tested yet because rc)
  • Kernel >= 4.14.54
  • Raspberry Pis
View gist:7126575b11751c980927a886920a9b89
$ date && dig uliege.be
Sun Nov 11 12:53:33 CET 2018
; <<>> DiG 9.10.6 <<>> uliege.be
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6322
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
View cookies.txt
__trae_proxy="http://whoami2:80"
View .env
DRONE_PUBLIC_HOSTNAME=localhost
View keybase.md

Keybase proof

I hereby claim:

  • I am dduportal on github.
  • I am dduportal (https://keybase.io/dduportal) on keybase.
  • I have a public key ASDpfUh-lG88MGJvbsk6tpikZ_po_EoR9oEyugcWYgq3CQo

To claim this, I am signing this object:

View custom-traefik-deployment.yaml
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: traefik-ingress-controller
namespace: kube-system
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
View run.sh
docker run --name lb -ti -p 80:80 -p 443:443 -p 8080:8080 -v $(pwd)/traefik.toml:/etc/traefik.toml -v /var/run/docker.sock:/var/run/docker.sock -d traefik:1.6.5 --docker --debug --api
docker run --label="traefik.frontend.rule=Host:damienduportal.org" -d emilevauge/whoami