Illumina Innovates with Rancher and Kubernetes
Rancher deploys an agent on each node to communicate with the node. This pages describes the options that can be passed to the agent. To use these options, you will need to Create a Cluster with Custom Nodes and add the options to the generated docker run command when adding a node.
docker run
--server
CATTLE_SERVER
server-url
--token
CATTLE_TOKEN
--ca-checksum
CATTLE_CA_CHECKSUM
cacerts
--node-name
CATTLE_NODE_NAME
hostname -s
--label
CATTLE_NODE_LABEL
--label key=value
--taints
CATTLE_NODE_TAINTS
--taints key=value:effect
--all-roles
ALL=true
etcd
controlplane
worker
--etcd
ETCD=true
--controlplane
CONTROL=true
--worker
WORKER=true
--address
CATTLE_ADDRESS
8.8.8.8
--internal-address
CATTLE_INTERNAL_ADDRESS
For automation purposes, you can’t have a specific IP address in a command as it has to be generic to be used for every node. For this, we have dynamic IP address options. They are used as a value to the existing IP address options. This is supported for --address and --internal-address.
--address eth0
ipify
--address ipify
https://api.ipify.org
awslocal
--address awslocal
http://169.254.169.254/latest/meta-data/local-ipv4
awspublic
--address awspublic
http://169.254.169.254/latest/meta-data/public-ipv4
doprivate
--address doprivate
http://169.254.169.254/metadata/v1/interfaces/private/0/ipv4/address
dopublic
--address dopublic
http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address
azprivate
--address azprivate
http://169.254.169.254/metadata/instance/network/interface/0/ipv4/ipAddress/0/privateIpAddress?api-version=2017-08-01&format=text
azpublic
--address azpublic
http://169.254.169.254/metadata/instance/network/interface/0/ipv4/ipAddress/0/publicIpAddress?api-version=2017-08-01&format=text
gceinternal
--address gceinternal
http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/ip
gceexternal
--address gceexternal
http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/access-configs/0/external-ip
packetlocal
--address packetlocal
https://metadata.packet.net/2009-04-04/meta-data/local-ipv4
packetpublic
https://metadata.packet.net/2009-04-04/meta-data/public-ipv4