Advanced Options

The Kubernetes installer (kURL) reference documentation. Each add-on is listed with all supported keys, and the default for the key, if not present.

Application Vendor YAML Options and Flags

The options available to the application vendor in the installer yaml are a subset of the options available to the cluster operator as flags to the install script. Each yaml snippet below includes all options available to the application vendor for the add-on and the default for the key if not present.

The cluster operator can use flags to override any of the options set in the application vendor's installer yaml. For example, passing the service-cidr flag to the install script overrides the field spec.kubernetes.serviceCIDR in the vendor's yaml.

Additionally, some options are only available to the cluster operator to be passed as flags to the install script. An example is the bootstrap-token flag for setting the secret used to join additional nodes to the Kubernetes cluster.

Flag options must be passed every time the install script is run.

Kubernetes

spec:
  kubernetes:
    version: "1.15.3"
    serviceCIDR: "10.96.0.0/12"

Flag Usage
version The version of kubernetes to be installed.
serviceCIDR Customize the range of virtual IPs assigned to services.
serviceCidrRange The size of the CIDR for Kubernetes (can be presented as just a number or with a preceding slash).
bootstrapToken Authentication token used by kubernetes when adding nodes. The default is an auto-generated token.
bootstrapTokenTTL TTL of the bootstrap-token. The default is 24 hours.
certKey A secret needed for new primary nodes to join an existing cluster (read-only).
controlPlane Used during a join script to indicate that the node will be an additional primary (read-only).
containerLogMaxSize A quantity defining the maximum size of the container log file before it is rotated. For example: "5Mi" or "256Ki". This does not work with Docker. For Docker, check out https://docs.docker.com/config/containers/logging/json-file.
containerLogMaxFiles Specifies the maximum number of container log files that can be present for a container. This does not work with Docker. For Docker, check out https://docs.docker.com/config/containers/logging/json-file.
kubeadmToken Generated during the install script, used for nodes joining (read-only).
kubeadmTokenCAHash Generated during the install script, used for nodes joining (read-only).
loadBalancerAddress Used for High Availability installs, indicates the address of the external load balancer.
masterAddress The address of the internal Kubernetes API server, used during join scripts (read-only).
HACluster Create the cluster as a high availability cluster (note that this needs a valid load balancer address and additional nodes to be a truly HA cluster.
cisCompliance Indicates if this install should meet all CIS compliance requirements. See CIS compliance.
kubeReserved Reserved CPU, memory and disk for kubernetes.
evictionThresholdResources Provided as evictionHard to kubelet configuration as described in the kubelet configuration section of the Kubernetes documentation.
systemReservedResources Provided as systemReserved to kubelet configuration as described in the kubelet configuration section of the Kubernetes documentation.
clusterName The name of the Kubernetes cluster (default "kubernetes").