Install cfssl
# This requires an existing Go environment with GOPATH set
go get -u github.com/cloudflare/cfssl/cmd/...
docker rm -f $(docker ps -qa) | |
docker volume rm $(docker volume ls -q) | |
mount -t tmpfs | awk '/pods/ { print $3}' | while read mounts; do sudo umount $mounts; done | |
sudo rm -rf /etc/ceph \ | |
/etc/cni \ | |
/etc/kubernetes \ | |
/opt/cni \ | |
/opt/rke \ | |
/run/secrets/kubernetes.io \ | |
/run/calico \ |
kubeadm-config.yaml:
---
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
# Allowing for CPU pinning and isolation in case of guaranteed QoS class
-featureGates:
- PodOverhead: true
cpuManagerPolicy: static
systemReserved:
apiVersion: extensions/v1beta1 | |
kind: NetworkPolicy | |
metadata: | |
name: hn-nodes | |
namespace: default | |
ownerReferences: | |
- apiVersion: v1 | |
kind: Namespace | |
name: default | |
spec: |
apiVersion: extensions/v1beta1 | |
kind: NetworkPolicy | |
metadata: | |
labels: | |
cattle.io/creator: norman | |
field.cattle.io/projectId: p-<xyz-1> | |
name: np-default | |
namespace: default | |
spec: | |
ingress: |
#cloud-config | |
# Set the hostname for this machine (takes precedence over hostname assigned by DHCP lease). | |
hostname: myhost | |
# Authorize SSH keys for the `rancher` sudoer user | |
ssh_authorized_keys: | |
- ssh-rsa AAA...ZZZ example1@rancher | |
youtube-dl is an opensource command line tool to download video or audio from online video streaming services.
Videos downloaded in mkv
or webm
extensions can be played by VLC Media player in all major devices and operating systems including iPhone, Android devices.
Tool website: https://youtube-dl.org/
This gist shows the example commands to use the tool and doesn't support or encourage piracy or violation of copyrights of the online streaming service or the author of the content
--- | |
# Source: calico/templates/calico-config.yaml | |
# This ConfigMap is used to configure a self-hosted Calico installation. | |
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: calico-config | |
namespace: kube-system | |
data: | |
# Typha is disabled. |
--- | |
# Source: cilium/templates/cilium-agent-serviceaccount.yaml | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: cilium | |
namespace: kube-system | |
--- | |
# Source: cilium/templates/cilium-operator-serviceaccount.yaml | |
apiVersion: v1 |
--- | |
# Source: cilium/templates/cilium-agent-serviceaccount.yaml | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: cilium | |
namespace: kube-system | |
--- | |
# Source: cilium/templates/cilium-operator-serviceaccount.yaml | |
apiVersion: v1 |