Skip to content

Instantly share code, notes, and snippets.

View fjudith's full-sized avatar

Florian JUDITH fjudith

  • Canada
View GitHub Profile
@fjudith
fjudith / concourse_keycloak.md
Last active November 9, 2019 18:49
Concourse with Keycloak oauth

https://concourse-ci.org/generic-oauth.html

CONCOURSE_OAUTH_DISPLAY_NAME=oauth
CONCOURSE_OAUTH_CLIENT_ID=concourse
CONCOURSE_OAUTH_CLIENT_SECRET: <keycloak client secret>
CONCOURSE_OAUTH_AUTH_URL=https://keycloak.example.com/auth/realms/<realm name>/protocol/openid-connect/auth
CONCOURSE_OAUTH_TOKEN_URL=https://keycloak.example.com/auth/realms/<realm name>/protocol/openid-connect/token
CONCOURSE_OAUTH_USERINFO_URL=https://keycloak.example.com/auth/realms/<realm name>/protocol/openid-connect/userinfo
@fjudith
fjudith / bumpme
Last active March 20, 2019 10:54
Wed Mar 20 10:54:25 UTC 2019
@fjudith
fjudith / phoronix-test-suite-linux.md
Last active January 24, 2020 13:24
phoronix-test-suite
apt-get update -yqq && \
apt-get install -yqq php-common php-cli php-xml php-sqlite3 && \
cd /tmp && \
curl -L https://phoronix-test-suite.com/releases/phoronix-test-suite-8.6.1.tar.gz | tar -xvzf - && \
cd phoronix-test-suite && \
./install-sh && \
phoronix-test-suite list-suites &amp;&amp; \
@fjudith
fjudith / docker-machine_vmware_workstation_15.md
Last active January 14, 2019 05:19
Docker-Machine VMware Workstation 15

The current boot2docker iso image contains bugs related to vmxnet3 support. It is required to use an alternative image in order to fix this issue.

docker-machine create -d vmwareworkstation --vmwareworkstation-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v18.09.1/boot2docker.iso --vmwareworkstation-memory-size="4096" --vmwareworkstation-cpu-count "2" default
@fjudith
fjudith / gitlab-runner.yaml
Created August 3, 2018 04:43
Gitlab-Runner Kubernetes RBAC
apiVersion: v1
kind: Namespace
metadata:
name: gitlab
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: gitlab-runner
namespace: gitlab
@fjudith
fjudith / kubernetes_service_session_affinity.md
Last active May 13, 2024 01:10
Enable Session Affinity (a.k.a Sticky Session) to Kubernetes service
@fjudith
fjudith / h2o-kubeflow_guide_fre.md
Last active November 12, 2018 16:40
Guide H2O Kubeflow

H2O + Kubeflow/Kubernetes How-To

Introduction

Ce guide est une transposition du billet de Nicholas PNG publié le 29 Mars 2018 sur le blog h2o.ai dans la solution coreos-kubernetes

https://blog.h2o.ai/2018/03/h2o-kubeflow-kubernetes-how-to/

Attention: Ksonnet est instable sur Git-Bash pour Windows. Il est recommandé d'exécuter les étapes de ce guide dans WSL (Windows Subsystem for Linux).

@fjudith
fjudith / K8s_Istio_Wordpress.md
Last active April 6, 2021 03:04
Kubernetes + Istio + Wordpress
@fjudith
fjudith / git-pull-all.sh
Created February 6, 2018 21:52
Pull all git remote branches
#!/usr/bin/env bash
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all

Open an Putty/SSH session as to the host dedicated to run portainer root user, then execute the following command line.

This required requires access to docker.sock

docker run -d --privileged -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer-data:/data --name 'portainer' --restart on-failure portainer/portainer