tiny-cluster | A Raspberry Pi Kiosk for Home Assisstant
kandi X-RAY | tiny-cluster Summary
kandi X-RAY | tiny-cluster Summary
CLI + yaml for the configuration of an at-home Kubernetes fleet with one or more Raspberry Pis. Read the Blog Post for examples, screenshots, etc. Please open a Github issue for any problems.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Configure kscreensaver
- Execute a command
- Sends a file to the remote host
- Upload an rp file
- Create the kubeadm cluster
- Set kubectl configuration
- Create kubernetes config file
- Install the network add - on
- Create the ssh connection
- Install kubeadm
- Update packages
- Add ssh - id to the user s SSH key
- Print network interfaces
- Return list of network interfaces
- Return the network address for the given interface
- Get the bluetooth mac address
tiny-cluster Key Features
tiny-cluster Examples and Code Snippets
Community Discussions
Trending Discussions on Internet of Things (IoT)
QUESTION
I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files
...ANSWER
Answered 2020-May-17 at 23:55The new object to get params in React Navigation 5 is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tiny-cluster
Clone this repository: git clone git@github.com:zaneclaes/tiny-cluster.git
Install the required python packages: pip3 install pyyaml deepmerge argparse
Run cd tiny-cluster and ./tiny-cluster.py setup to scan the local network and follow the prompts.
See the defaults.yaml file in this repository for a sense of all the options available. Tiny Cluster will look in contexts/home.yaml for your configuration (do not modify defaults.yaml). If you want to run Tiny Cluster in multiple locations, see "Advanced Configurations" below.
It assumes you know the IP addresses of the Raspberry Pis you wish to configure (192.168.0.1, etc.). Tiny Cluster will ensure these IP addreses are static at a later point.
It defines a Kubernetes master, as well as two nodes (if you look closely, you'll note the master actually shares an IP address with one of the nodes, which implies that the master also acts as a node).
Both of the two nodes will have Kiosk mode enabled, which means that they will open Chromium on boot to the URL http://192.168.0.1:8123/lovelace/home?kiosk and http://192.168.0.1:8123/lovelace/rpi?kiosk, respectively.
The rpi node will have a Kubernetes label of tiny-cluster/node-pi-beacon=true. This is helpful in the later steps for deploying a Docker container to this node.
The following command will install kubeadm and then perform the necessary configuration steps:.
./tiny-cluster.py master create_context: generate a .kube/home.conf configuration file which is downloaded to the controlling computer so that it may subsequently access the cluster.
./tiny-cluster.py master install_network_add_on: Install flannel or weave
./tiny-cluster.py master configure_nfs: Create a network file system at /mnt/tiny-cluster which may be accessed by the local network
./tiny-cluster.py master untaint: If this master is also a node (the same IP is used within the nodes condfig), then remove the master taint.
The folloting command will set up the rpi node, as defined in the above configuration:.
./tiny-cluster.py rpi configure: write the configuration files (e.g., the kiosk startup URL) to the device and join the Kubernetes cluster.
./tiny-cluster.py rpi update: make sure all packages are up-to-date.
./tiny-cluster.py rpi reboot: restart the device.
./tiny-cluster.py rpi ssh: SSH into the device
./tiny-cluster.py rpi join: (Re)join the Kubernetes cluster
./tiny-cluster.py rpi label: (Re)label the node in the cluster
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page