Skip to content

Instantly share code, notes, and snippets.

View jhoelzel's full-sized avatar
available

Johannes Hölzel jhoelzel

available
  • Freelance Sr. Engineer with Kubernetes / DevOps / Golang Focus
  • Berlin
View GitHub Profile
@octavioranieri
octavioranieri / change_logging_agents.sh
Last active March 11, 2024 21:49
it updates the logging level for all the online agents
#!/bin/bash
# Replace the values below for your deployment/cluster
KIBANA_ENDPOINT=https://lab.kb.us-east1.gcp.elastic-cloud.com:9243
KIBANA_USER=octavio
KIBANA_PW=super_secret
echo "Collecting the list from online agents..."

Moved to repo: /quenhus/uBlock-Origin-dev-filter

In order to keep filters up to date, please use this repo.

@mahirrudin
mahirrudin / ubuntu-bionic-openldap-mysql.sh
Created June 17, 2018 15:12
OpenLDAP with MySQL Backend - Ubuntu 18.04
## installation openldap with backend mysql
sudo apt update && sudo apt upgrade -y && sudo reboot
sudo apt install mysql-server unixodbc make gcc libmysqlclient-dev unixodbc-dev groff ldap-utils
## mysql login as root
sudo mysql -u root
CREATE DATABASE ldap
CREATE USER 'ldap'@'%' IDENTIFIED BY 'S3cureP4ssw0rd$';
GRANT ALL PRIVILEGES ON ldap.* TO 'ldap'@'%';
@kevashcraft
kevashcraft / K8s-DigitalOcean-CoreOS.md
Last active September 18, 2020 05:47
How to Setup Kubernetes on DigitalOcean with CoreOS

Kubernetes on DigitalOcean with CoreOS

Let's look at an example of how to launch a Kubernetes cluster from scratch on DigitalOcean, including kubeadm, an Nginx Ingress controller, and Letsencrypt certificates.

Overview

Environment

We'll be creating a four-node cluster (k8s-master, k8s-000...k8s-002), load balancer, and ssl certificates.

Table of Contents

  1. Install Kubernetes
@marszall87
marszall87 / docker-compose-install.sh
Created September 25, 2015 13:14
Simple script for installing latest Docker Compose on CoreOS >= 717.0.0
#!/bin/bash
mkdir -p /opt/bin
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose