Skip to content

Instantly share code, notes, and snippets.

View sebradloff's full-sized avatar

Sebastian Radloff sebradloff

  • Attentive Mobile
  • New York, NY
View GitHub Profile

Keybase proof

I hereby claim:

  • I am sebradloff on github.
  • I am sebradloff (https://keybase.io/sebradloff) on keybase.
  • I have a public key ASBfGPkYzF8GS258yk3bBsNHjw6yKTwhdJu8e0qHKhRTnAo

To claim this, I am signing this object:

@sebradloff
sebradloff / Dockerfile
Created March 3, 2018 18:26
Setup for remote logs s3, airflow 1.9.0
# Showing the necessary part of adding the logging config to the python path
COPY config/log_config.py config/log_config.py
COPY config/__init__.py config/__init__.py
RUN chown -R airflow: ${AIRFLOW_HOME}
ENV PYTHONPATH ${PYTHONPATH}:/usr/lib/python2.7/site-packages/:${AIRFLOW_HOME}/config/
@sebradloff
sebradloff / Dockerfile-airflow
Created April 17, 2018 21:19
Airflow MesosExecutor dockerized workflow
# REFERENCES:
# - https://github.com/puckel/docker-airflow
# - https://github.com/ImDarrenG/mesos-framework-dev/blob/master/Dockerfile
# - https://github.com/Stibbons/docker-airflow-mesos
# Wherever you store your mesos image built from Dockerfile-mesos
FROM slicelife/mesos:1.4.0 as mesos
FROM ubuntu:16.04
# Never prompts the user for choices on installation/configuration of packages
ENV DEBIAN_FRONTEND noninteractive
apiVersion: constraints.gatekeeper.sh/v1beta1
kind: ApiGatewayIngressPath01
metadata:
name: apigatewayingresspath01
spec:
match:
kinds:
- apiGroups:
- networking.k8s.io
kinds: