Skip to content

Commit 7181beb

Browse files
committed
fix review comments
1 parent 293fe21 commit 7181beb

6 files changed

Lines changed: 28 additions & 28 deletions

File tree

modules/install/join_k3s_agent.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Usage:
33
# node_os=${1} # Node OS values. Ex: rhel8, centos8, slemicro
44
# server_ip=${2} # Master Server IP to join to. Value will be added to config.yaml file.
5-
# token=${3} # Node Token
5+
# token=${3} # Node Token. Value will be added to config.yaml file.
66
# public_ip=${4} # Public IP of the agent node. Value will be added to config.yaml file.
77
# private_ip=${5} # Private IP of the agent node. Value will be added to config.yaml file.
88
# ipv6_ip=${6} # IPv6 IP of the agent node. Value will be added to config.yaml file.

modules/install/join_k3s_master.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#!/bin/bash
22
# Usage:
33
# node_os=${1} # Node OS values. Ex: rhel8, centos8, slemicro
4-
# fqdn=${2} # FQDN
4+
# fqdn=${2} # FQDN. Value will be added to config.yaml file.
55
# server_ip=${3} # # Master Server IP to join to. Value will be added to config.yaml file.
6-
# token=${4} # Node Token
7-
# public_ip=${5} # Public IP of the joining server node
8-
# private_ip=${6} # Privaate IP of the joining server node
9-
# ipv6_ip=${7} # IPV6 IP of the joining server node
6+
# token=${4} # Node Token. Value will be added to config.yaml file.
7+
# public_ip=${5} # Public IP of the joining server node. Value will be added to config.yaml file.
8+
# private_ip=${6} # Privaate IP of the joining server node. Value will be added to config.yaml file.
9+
# ipv6_ip=${7} # IPV6 IP of the joining server node. Value will be added to config.yaml file.
1010
# install_mode=${8} # Install mode - INSTALL_<K3S|RKE2>_<VERSION|COMMIT>
1111
# version=${9} # Version or Commit to install
1212
# channel=${10} # Channel to install from - values can be testing, latest or stable
1313
# datastore_type=${11} # Datastore type can be etcd or external
14-
# datastore_endpoint=${12} # Datastore endpoint
14+
# datastore_endpoint=${12} # Datastore endpoint. Value will be added to config.yaml file.
1515
# server_flags=${13} # Server Flags to add in config.yaml
1616
# rhel_username=${14} # rhel username
1717
# rhel_password=${15} # rhel Password

modules/install/join_rke2_agent.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# Usage:
44
# node_os=${1} # Node OS values. Ex: rhel8, centos8, slemicro
55
# server_ip=${2} # Master Server IP to join to. Value will be added to config.yaml file.
6-
# token=${3} # Node Token
7-
# public_ip=${4} # Public IP of the agent node
8-
# private_ip=${5} # Private IP of the agent node
9-
# ipv6_ip=${6} # IPv6 IP of the agent node
6+
# token=${3} # Node Token. Value will be added to config.yaml file.
7+
# public_ip=${4} # Public IP of the agent node. Value will be added to config.yaml file.
8+
# private_ip=${5} # Private IP of the agent node. Value will be added to config.yaml file.
9+
# ipv6_ip=${6} # IPv6 IP of the agent node. Value will be added to config.yaml file.
1010
# install_mode=${7} # Install mode - INSTALL_<K3S|RKE2>_<VERSION|COMMIT>
1111
# version=${8} # Version or Commit to install
1212
# channel=${9} # Channel to install from - testing, latest or stable

modules/install/join_rke2_master.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# This script is used to join one or more nodes as servers to the first server
33
# Usage:
44
# node_os=${1} # Node OS values. Ex: rhel8, centos8, slemicro
5-
# fqdn=${2} # FQDN
5+
# fqdn=${2} # FQDN. Value will be added to config.yaml file.
66
# server_ip=${3} # Master Server IP to join to. Value will be added to config.yaml file.
7-
# token=${4} # Node Token
8-
# public_ip=${5} # Public IP of the joining server node
9-
# private_ip=${6} # Private IP of the joining server node
10-
# ipv6_ip=${7} # IPv6 IP of the joining server node
7+
# token=${4} # Node Token. Value will be added to config.yaml file.
8+
# public_ip=${5} # Public IP of the joining server node. Value will be added to config.yaml file.
9+
# private_ip=${6} # Private IP of the joining server node. Value will be added to config.yaml file.
10+
# ipv6_ip=${7} # IPv6 IP of the joining server node. Value will be added to config.yaml file.
1111
# install_mode=${8} # Install mode - INSTALL_<K3S|RKE2>_<VERSION|COMMIT>
1212
# version=${9} # Version or Commit to Install
1313
# channel=${10} # Channel to install from - testing latest or stable
1414
# install_method=${11} # Method of install - rpm or tar
1515
# datastore_type=${12} # Datastore type - etcd or external
16-
# datastore_endpoint=${13} # Datastore Endpoint
16+
# datastore_endpoint=${13} # Datastore Endpoint. Value will be added to config.yaml file.
1717
# server_flags=${14} # Server Flags to add in config.yaml
1818
# rhel_username=${15} # rhel username
1919
# rhel_password=${16} # rhel password

modules/install/k3s_master.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#!/bin/bash
22
# Usage:
33
# node_os=${1} # Node OS values. Ex: rhel8, centos8, slemicro
4-
# fqdn=${2} # FQDN Value
5-
# public_ip=${3} # Public IP of the master server node
6-
# private_ip=${4} # Private IP of the master server node
7-
# ipv6_ip=${5} # IPv6 IP of the master server node
4+
# fqdn=${2} # FQDN Value. Value will be added to config.yaml file.
5+
# public_ip=${3} # Public IP of the master server node. Value will be added to config.yaml file.
6+
# private_ip=${4} # Private IP of the master server node. Value will be added to config.yaml file.
7+
# ipv6_ip=${5} # IPv6 IP of the master server node. Value will be added to config.yaml file.
88
# install_mode=${6} # Install mode - INSTALL_<K3S|RKE2>_<VERSION|COMMIT>
99
# version=${7} # Version or Commit to install
1010
# channel=${8} # Channel values can be testing, latest or stable.
1111
# etcd_only_node=${9} # Count of etcd only nodes
1212
# datastore_type=${10} # Datastore type: etcd or external
13-
# datastore_endpoint=${11} # Datastore endpoint
13+
# datastore_endpoint=${11} # Datastore endpoint. Value will be added to config.yaml file.
1414
# server_flags=${12} # Server Flags to use in config.yaml
1515
# rhel_username=${13} # rhel username
1616
# rhel_password=${14} # rhel password

modules/install/rke2_master.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
# and ready before proceeding to install other nodes
44
# Usage:
55
# node_os=${1} # Node OS values. Ex: rhel8, centos8, slemicro
6-
# fqdn=${2} # FQDN Value
7-
# public_ip=${3} # Public IP of the master server node
8-
# private_ip=${4} # Private IP of the master server node
9-
# ipv6_ip=${5} # IPv6 of the master node
6+
# fqdn=${2} # FQDN Value. Value will be added to config.yaml file.
7+
# public_ip=${3} # Public IP of the master server node. Value will be added to config.yaml file.
8+
# private_ip=${4} # Private IP of the master server node. Value will be added to config.yaml file.
9+
# ipv6_ip=${5} # IPv6 of the master node. Value will be added to config.yaml file.
1010
# install_mode=${6} # Install mode - INSTALL_<K3S|RKE2>_<VERSION|COMMIT>
1111
# version=${7} # Version or Commit to install
1212
# channel=${8} # Channel to install from - values can be: testing, latest, stable
1313
# install_method=${9} # Install Method can be rpm or tar
1414
# datastore_type=${10} # Datastore type: etcd or external
15-
# datastore_endpoint=${11} # Datastore endpoint
15+
# datastore_endpoint=${11} # Datastore endpoint. Value will be added to config.yaml file.
1616
# server_flags=${12} # Server Flags to add in config.yaml
17-
# rhel_username=${13} # rhel Username
17+
# rhel_username=${13} # rhel username
1818
# rhel_password=${14} # rhel password
1919
# install_or_enable=${15} # Values can be install, enable or both. In case of slemicro for node_os value, the first time this script is called with 'install'.
2020
# After a node reboot, the second time the script is recalled with 'enable' which enables services.

0 commit comments

Comments
 (0)