Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysticrenji/arm-tools
Code Snippets for ARM devices
https://github.com/mysticrenji/arm-tools
Last synced: about 6 hours ago
JSON representation
Code Snippets for ARM devices
- Host: GitHub
- URL: https://github.com/mysticrenji/arm-tools
- Owner: mysticrenji
- License: mit
- Created: 2020-08-23T13:55:10.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T00:38:19.000Z (over 3 years ago)
- Last Synced: 2023-03-04T23:48:15.733Z (over 1 year ago)
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ARM-Tools
Code Snippets for ARM devices### Enable Cgroup
Edit /boot/cmdline.txt and add the following to the end of the line:
cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory### IPTable Default
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy### Docker Install
curl -sSL https://get.docker.com/ | sh
curl https://releases.rancher.com/install-docker/19.03.sh | sh### K3s Install
#### Server
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --tls-san "192.168.1.200" --write-kubeconfig-mode 644" INSTALL_K3S_CHANNEL=latest sh -#### Client
curl -sfL https://get.k3s.io | K3S_URL=https://ServerIP:6443 K3S_TOKEN=$TOKEN sh –### K3s with Calico
#### Master
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --tls-san $(curl ifconfig.me) --flannel-backend=none --disable-network-policy --no-deploy traefik --write-kubeconfig-mode 644 --cluster-cidr=192.168.0.0/16" sh -#### Slave
curl -sfL https://get.k3s.io | K3S_URL=https://172.10.1.4:6443 K3S_TOKEN=K1060791485294d1599bfc0f772d042db426defd5515bb5eb8a8b556cb65f4252df::server:34d6efcb247a5027384edd1624e723fa sh -#### Calico
kubectl create -f https://docs.projectcalico.org/manifests/tigera-operator.yaml
kubectl create -f https://docs.projectcalico.org/manifests/custom-resources.yaml#### Nginx instead of Traefik
https://www.suse.com/support/kb/doc/?id=000020082#### Helm 3
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
kubectl create serviceaccount tiller --namespace kube-system
kubectl create -f tiller-clusterrolebinding.yaml
#tiller-clusterrolebinding.yaml
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: tiller-clusterrolebinding
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: ""#### Install K3s with docker as container runtime
curl -sfL https://get.k3s.io | sh -s - --docker#### Install K3d
curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash#### Install Rust
curl https://sh.rustup.rs -sSf | sh#### Install Azure CLI
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash