Skip to content

Instantly share code, notes, and snippets.

View radicand's full-sized avatar

Nick Pappas radicand

View GitHub Profile
@shubham14bajpai
shubham14bajpai / Control-Plane-Migration.md
Last active June 12, 2020 04:56
Migrating OpenEBS setup to another namespace.

OpenEBS set with one jiva volume in default namespace.

mayadata:setup$ kubectl get pods
NAME                                                              READY   STATUS    RESTARTS   AGE
openebs-admission-server-8695fd778c-n4tw7                         1/1     Running   0          3m32s
openebs-apiserver-66f7f86b55-7fdtl                                1/1     Running   2          3m32s
openebs-localpv-provisioner-58cc756c78-tmfmp                      1/1     Running   0          3m32s
openebs-ndm-c2w7s                                                 1/1     Running   0          3m32s
openebs-ndm-operator-6f7f9c6778-qjhfn                             1/1     Running   1          3m32s
openebs-provisioner-5bd587c6c5-lhwrm                              1/1     Running   0          3m32s
@zottelbeyer
zottelbeyer / setup.sh
Last active April 3, 2024 20:08
ipv6 on docker-pihole
# enable ipv6 in dockerd conf:
# cat /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "2003::/64" # your ipv6. not sure if this is even necessary
}
# reload daemon conf:
sudo systemctl reload docker.service
@innovia
innovia / kubernetes_add_service_account_kubeconfig.sh
Last active January 29, 2024 23:00
Create a service account and generate a kubeconfig file for it - this will also set the default namespace for the user
#!/bin/bash
set -e
set -o pipefail
# Add user to k8s using service account, no RBAC (must create RBAC after this script)
if [[ -z "$1" ]] || [[ -z "$2" ]]; then
echo "usage: $0 <service_account_name> <namespace>"
exit 1
fi
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 23, 2024 23:26
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k