Skip to content

Instantly share code, notes, and snippets.

View Cryptophobia's full-sized avatar
〰️
always seeking a state of flow

AMO ❤️⛺✨ Cryptophobia

〰️
always seeking a state of flow
View GitHub Profile
@Cryptophobia
Cryptophobia / install-v2.sh
Created January 4, 2018 16:24
Deis Workflow CLI install script
#!/usr/bin/env sh
# Invoking this script:
#
# To install the latest stable version:
# curl https://deis.io/deis-cli/install-v2.sh | sh
#
# To install a specific released version ($VERSION):
# curl https://deis.io/deis-cli/install-v2.sh | sh -s $VERSION
#
kubectl edit deploy deis-router -n deis
...
readinessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 9090
scheme: HTTP
initialDelaySeconds: 1
@Cryptophobia
Cryptophobia / weave_password
Last active June 14, 2018 20:08
Encryption on weave-net
From issue: https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/699
I've investigated using password encryption with weave. If you've followed the instructions for deploying kubernetes with KOps, the default deployment uses weave. Weave has a capability of employing password encryption. Once activated. The encryption in transit is seamless.
Here are the steps so far
Install Kubernetes with KOps per the z2jh documentation steps.
(optional) run kubectl --namespace kube-system get pods and verify there are weave-net pods
Create a password file. I did openssl rand -hex 128 >weave-passwd
Create a Kubernetes Secret in the kube-system namespace

Keybase proof

I hereby claim:

  • I am cryptophobia on github.
  • I am cryptophobia (https://keybase.io/cryptophobia) on keybase.
  • I have a public key ASDF-iAOoXwdUk1mR-OKK9CHoOGW-OTBZPZPrM9n7NDWKAo

To claim this, I am signing this object:

@Cryptophobia
Cryptophobia / changelog-v2.19.0.md
Created June 29, 2018 21:03
Hephy Workflow v2.18.0 -> v2.19.0

Releases

  • builder v2.12.0 -> v2.13.0
  • controller v2.17.3 -> v2.19.0
  • dockerbuilder v2.7.3 -> v2.8.0
  • fluentd v2.12.0 -> v2.13.0
  • logger v2.4.5 -> v2.5.0
  • minio v2.3.6 -> v2.4.1
  • monitor v2.10.1 -> v2.11.0
@Cryptophobia
Cryptophobia / Team Hephy Code of Conduct
Last active July 23, 2018 15:22
Team Hephy Code of Conduct
Team Hephy Code of Conduct
Like the technical community as a whole, the Hephy team and community is made up of a mixture of professionals and volunteers from all over the world, working on every aspect of the mission - including mentorship, teaching, and connecting people.
Diversity is one of our huge strengths, but it can also lead to communication issues and unhappiness. To that end, we have a few ground rules that we ask people to adhere to. This code applies equally to founders, mentors and those seeking help and guidance.
This isn’t an exhaustive list of things that you can’t do. Rather, take it in the spirit in which it’s intended - a guide to make it easier to enrich all of us and the technical communities in which we participate.
This code of conduct applies to all spaces managed by the Hephy project. This includes IRC, the mailing lists, the issue tracker, events, and any other forums created by the project team which the community uses for communication. In addition, violations of this code outs
@Cryptophobia
Cryptophobia / helm-setup.md
Last active April 23, 2020 17:16
Helm Init GKE RBAC Hephy Workflow

Running Hephy Workflow on GKE Kubernetes Cluster Fix:

There is a fix for Helm that we need to do if we are using Helm 2.x in order to give helm enough permissions to create releases.

Hopefully this will be fixed in Helm 3.x as promised.

This is a known issue and was first found here: helm/helm#3055

Before we deploy Hephy Workflow, we need to enable our user to be able to create RBAC roles since Hephy Workflow needs to configure its own clusterroles through Helm:

Prerequisites for using Helm on GKE Role-Based Access Control:

@Cryptophobia
Cryptophobia / changelog-v2.20.0.md
Created November 29, 2018 16:40
Hephy Workflow v2.20.0 Changelog

Releases

  • builder v2.13.0 -> v2.13.1
  • controller v2.19.0 -> v2.20.0
  • fluentd v2.13.0 -> v2.13.1
  • minio v2.4.1 -> v2.4.2
  • monitor v2.11.0 -> v2.11.1
  • nsq v2.3.0 -> v2.4.0
  • postgres v2.6.0 -> v2.7.1
@Cryptophobia
Cryptophobia / changelog-v2.20.1.md
Created February 14, 2019 15:06
Hephy Workflow v2.20.1 Changelog

Releases

  • controller v2.20.0 -> v2.20.1
  • postgres v2.7.1 -> v2.7.2
  • redis v2.3.0 -> v2.4.0
  • router v2.15.0 -> v2.15.1
  • slugrunner v2.6.0 -> v2.6.1
  • workflow v2.20.0 -> v2.20.1
  • workflow-cli v2.20.0 -> v2.20.1
@Cryptophobia
Cryptophobia / changelog-v2.20.2.md
Last active March 8, 2019 23:59
Hephy Workflow v2.20.2 Changelog

Releases

  • controller v2.20.1 -> v2.20.2
  • postgres v2.7.2 -> v2.7.3
  • minio v2.4.2 -> v2.4.3
  • workflow v2.20.1 -> v2.20.2
  • workflow-cli v2.20.1 -> v2.20.2
  • workflow-e2e v2.20.1 -> v2.20.2