CLICK ME
yes, even hidden code blocks!
print("hello world!")
# Instructions for 4.13 and cuda 9.0 RC | |
# If upgrading from 4.11 and cuda 8.0 | |
$ sudo apt-get purge --auto-remove libcud* | |
$ sudo apt-get purge --auto-remove cuda* | |
$ sudo apt-get purge --auto-remove nvidia* | |
# also remove the container directory direcotory at /usr/local/cuda-8.0/ | |
# Install Intel Graphics Patch Firmwares (This should reboot your system): | |
bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)" |
wget --no-check-certificate --content-disposition https://github.com/joyent/node/tarball/v0.7.1 | |
# --no-check-cerftificate was necessary for me to have wget not puke about https | |
curl -LJO https://github.com/joyent/node/tarball/v0.7.1 |
docker exec -it <$ etcd container id> sh | |
ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 --key=/run/config/pki/etcd/peer.key --cert=/run/config/pki/etcd/peer.crt --cacert=/run/config/pki/etcd/ca.crt get / --prefix --keys-only |
If webhook pod fails to deploy after several minutes you may need to uninstall and reinstall
This guide also depends on the chart having NO relative urls. You may need to repackage the chart with --url if this is the case.
docker run -e ETCDCTL_API=3 --net=container:$(docker ps | grep -E "rancher/rancher:|rancher/rancher |rancher/rancher@|rancher_rancher" | awk '{ print $1 }') quay.io/coreos/etcd:v$(docker exec $(docker ps | grep -E "rancher/rancher:|rancher/rancher |rancher/rancher@|rancher_rancher" | awk '{ print $1 }') curl -s http://localhost:2379/version | docker run -i oildex/jq:1.6 jq -r .etcdserver) etcdctl get / --prefix --keys-only
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'Amazon EKS - Node Group' | |
Parameters: | |
KeyName: | |
Description: The EC2 Key Pair to allow SSH access to the instances | |
Type: AWS::EC2::KeyPair::KeyName |
#!/bin/bash | |
docker run -d -p 80:80 -p 443:443 --name rancher-server rancher/rancher:latest | |
while ! curl -k https://localhost/ping; do sleep 3; done | |
# Login | |
LOGINRESPONSE=`curl -s 'https://127.0.0.1/v3-public/localProviders/local?action=login' -H 'content-type: application/json' --data-binary '{"username":"admin","password":"admin"}' --insecure` | |
LOGINTOKEN=`echo $LOGINRESPONSE | jq -r .token` | |
# Change password |
<details> <summary>How do I dropdown?</summary> <br> This is how you dropdown.
#!/bin/bash | |
#set -x | |
#set -e | |
k3d delete --name='k3s-default' | |
k3d create --workers 1 --image rancher/k3s:v0.8.1 && | |
declare -i i; i=0 | |
until k3d get-kubeconfig --name='k3s-default' | |
do | |
if (( i > 20 )); then | |
break |