Skip to content

Instantly share code, notes, and snippets.

View lukmdo's full-sized avatar
:octocat:
loading...

Lukasz Dobrzanski lukmdo

:octocat:
loading...
View GitHub Profile
"""
Tools for drawing Python object reference graphs with graphviz.
You can find documentation online at https://mg.pov.lt/objgraph/
Copyright (c) 2008-2017 Marius Gedminas <[email protected]> and contributors
Released under the MIT licence.
"""
# Permission is hereby granted, free of charge, to any person obtaining a
@lukmdo
lukmdo / diff_helm_template.diff
Created December 2, 2018 19:16
helm_prom_diffs
--- master.txt 2018-12-02 19:09:21.000000000 +0000
+++ unified_labels.txt 2018-12-02 19:09:40.000000000 +0000
@@ -4,11 +4,11 @@
kind: ConfigMap
metadata:
labels:
- app: prometheus
- chart: prometheus-7.4.5
component: "alertmanager"
- heritage: Tiller
@lukmdo
lukmdo / helm_diff.diff
Last active December 7, 2018 15:21
unify_labels_v2 prom chart diffs
default, prometheus-kube-state-metrics, NetworkPolicy (networking.k8s.io) has changed:
# Source: prometheus/templates/kube-state-metrics-networkpolicy.yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: prometheus-kube-state-metrics
labels:
component: "kube-state-metrics"
app: prometheus
release: prometheus