Download ZLIB for Windows from Sourceforge and install it on your Windows machine. Works with x86/x64
Currently, the ZLIB installer from Sourceforge (above) installs in C:/Program Files (x86)/GnuWin32
.
# Manually remove finalizers | |
kubectl edit -n cattle-system secret tls-rancher | |
kubectl patch secret tls-rancher -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
kubectl patch namespace cattle-system -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
kubectl delete namespace cattle-system --grace-period=0 --force | |
kubectl patch namespace cattle-global-data -p '{"metadata":{"finalizers":[]}}' --type='merge' -n cattle-system | |
kubectl delete namespace cattle-global-data --grace-period=0 --force |
Download ZLIB for Windows from Sourceforge and install it on your Windows machine. Works with x86/x64
Currently, the ZLIB installer from Sourceforge (above) installs in C:/Program Files (x86)/GnuWin32
.
sudo vim /etc/fstab | |
# Comment out lines that have the word swap on them | |
sudo reboot |
helm upgrade --install promtail loki/promtail -n promtail \ | |
--set volumes\[0\].name=docker \ | |
--set volumes\[0\].hostPath.path=/var/lib/rancher/rke/log \ | |
--set volumes\[1\].name=pods \ | |
--set volumes\[1\].hostPath.path=/var/log/containers \ | |
--set volumes\[2\].name=dockersym \ | |
--set volumes\[2\].hostPath.path=/apps/docker/containers \ | |
--set volumes\[3\].name=podssym \ | |
--set volumes\[3\].hostPath.path=/var/log/pods\ | |
--set volumeMounts\[0\].name=docker \ |
sudo iptables -N LOGGING | |
sudo iptables -A INPUT -j LOGGING | |
sudo iptables -A OUTPUT -j LOGGING | |
sudo iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4 | |
sudo iptables -A LOGGING -j DROP |
name: Docker Image CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: |
minikube ssh "route -n | grep ^0.0.0.0 | awk '{ print \$2 }'" |
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh |
#!/usr/bin/env escript | |
main([ConfigFile]) -> | |
{ok, Terms} = file:consult(ConfigFile), | |
io:format("~p~n",[Terms]). |
%matplotlib widget | |
from ipywidgets import * | |
import numpy as np | |
import matplotlib.pyplot as plt | |
x = np.linspace(0, 2 * np.pi) | |
fig = plt.figure() | |
ax = fig.add_subplot(1, 1, 1) | |
line, = ax.plot(x, np.sin(x)) |