Skip to content
Kubernetes node administration tool
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apis Fix comment typo in apis/validation.go Feb 23, 2019
cmd Add workaround for flannel issue 1044 May 7, 2019
constants Set Kubernetes version to v1.12.8, CoreDNS version to v1.2.2 May 7, 2019
pkg Make init/join compatible with kubeadm 1.11 Feb 23, 2019
systemd systemd: Document all exported functions Sep 26, 2018
utils Set Kubernetes version to v1.12.8, CoreDNS version to v1.2.2 May 7, 2019
vendor
.gitignore Add liveness check for apiserver (#57) Sep 11, 2018
Gopkg.lock Make init/join compatible with kubeadm 1.11 Feb 23, 2019
Gopkg.toml Make init/join compatible with kubeadm 1.11 Feb 23, 2019
LICENSE Initial commit Jun 12, 2018
Makefile Makefile: Rebuild nodeadm if source has changed Feb 23, 2019
README.md
git_utils.sh Added support for nodeadm version command (#40) Jul 30, 2018
main.go Add nodeadm command framework (initial commit) Jun 13, 2018
version.sh Added support for nodeadm version command (#40) Jul 30, 2018

README.md

nodeadm

Kubernetes node administration tool

Usage

Init

nodeadm init --cfg=/tmp/nodeadm.yaml

Join

nodeadm join --cfg /tmp/nodeadm.yaml --master 192.168.96.75:6443 --token bootstrap.token --cahash sha256:digest

Example Configuration

Init

networking:
    podSubnet: 10.1.0.0/16
    serviceSubnet: 172.1.0.0/24
    dnsDomain: testcluster.local
vipConfiguration:
  IP: 192.168.96.75
  RouterID: 42
  NetworkInterface: eth0
masterConfiguration:
  api:
    advertiseAddress: 192.168.96.75
    bindPort: 443
  apiServerCertSANs:
  - 192.168.96.75
  etcd:
    caFile: /etc/etcd/pki/ca.crt
    certFile: /etc/etcd/pki/apiserver-etcd-client.crt
    keyFile: /etc/etcd/pki/apiserver-etcd-client.key
    endpoints:
    - https://127.0.0.1:2379

Join

networking:
    podSubnet: 10.1.0.0/16
    serviceSubnet: 172.1.0.0/24
    dnsDomain: testcluster.local
You can’t perform that action at this time.