node

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

EdgeNet Node Setup

Build

For instructions on how to use and how to contribute a node to EdgeNet, please see the EdgeNet website.

Bootstrap script

The bootstrap.sh script installs Ansible and Git, and runs the node playbook. The script can be configured with the following environment variables:

Name Default Description
EDGENET_ASK_CONFIRMATION 1 Whether to ask to continue or not.
EDGENET_PLAYBOOK edgenet-node.yml Name of the playbook to run.
EDGENET_REF main Git reference to use.
EDGENET_REPOSITORY https://github.com/EdgeNet-project/node.git URL of the Git repository containing the playbook to run.

Ansible roles

This repository contains the following Ansible roles:

Name Description Variables Defaults
edgenet-ssh Create an EdgeNet user with SSH access and passwordless sudo edgenet_ssh_user, edgenet_ssh_port_alt, edgenet_ssh_public_key main.yml
edgenet-kubernetes Setup Docker and Kubernetes edgenet_service_state, containerd_version, kubernetes_version main.yml

Development

git clone git@github.com:EdgeNet-project/node.git
env EDGENET_REF="$(git rev-parse HEAD)" EDGENET_REPOSITORY="file://$(pwd)" ./bootstrap.sh

Contributing

The EdgeNet software is free and open source, licensed under the Apache 2.0 license; we invite you to contribute. For more information, see EdgeNet-project/edgenet.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL