+----------------+
| Rancher Mgmt |
+--------+-------+
^
|
| Firewall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install openjdk-7-jre | |
sudo mkdir /usr/share/elasticsearch | |
cd /usr/share/elasticsearch | |
sudo wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.2.0/elasticsearch-2.2.0.tar.gz | |
sudo wget https://download.elastic.co/kibana/kibana/kibana-4.4.0-linux-x64.tar.gz | |
sudo tar -zxvf elasticsearch-2.2.0.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import geohash | |
import json | |
from datetime import datetime, timezone | |
from influxdb import InfluxDBClient | |
# noinspection PyUnresolvedReferences | |
from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
# noinspection PyUnresolvedReferences |
This is an unofficial documentation of what I did to setup the Rancher v2 air-gap HA install
Official docs are here https://rancher.com/docs/rancher/v2.x/en/installation/air-gap-high-availability/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Jason T. 2-6-2018 | |
# Check specifically for the run command | |
if [[ $# -ge 2 && $1 == "run" ]]; then | |
# Tell docker to share the following folders with the base system | |
# This allows the docker containers to find CUDA, cuDNN, TensorRT | |
LIB_MAPS="/usr/lib/aarch64-linux-gnu \ | |
/usr/local/cuda \ | |
/usr/local/cuda/lib64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Script for getting the state of entities""" | |
import aiohttp | |
import asyncio | |
import os | |
import sys | |
import json | |
async def main(): | |
try: |
Below are my personal notes related to the Nvidia Jetson Nano Dev-board.
Nvidia allows your to fine tune the performance of your Jetson nano. More on this here.
sudo /usr/bin/jetson_clocks.sh --show
### Assumptions:
# - Registry: You have a private registry (ex: harbor.air-gap.dev) pre-seeded with required images
# - File Dependencies:
# - SELinuxRPM: k3s requires an selinux rpm. You can grab it ahead of time from here: https://github.com/k3s-io/k3s-selinux/releases
# - k3s binary: (example) https://github.com/k3s-io/k3s/releases/download/v1.24.4%2Bk3s1/k3s
OlderNewer