1.2. Default settings
If you do not create a config.yaml file, default values are used. The following example shows the default configuration settings.
To see the default values, run the following command:
$ microshift show-configDefault values example output in YAML form
apiServer: advertiseAddress: 10.44.0.0/321 auditLog: maxFileAge: 02 maxFileSize: 2003 maxFiles: 104 profile: Default5 namedCertificates: - certPath: "" keyPath: "" names: - "" subjectAltNames: []6 debugging: logLevel: "Normal"7 dns: baseDomain: microshift.example.com8 etcd: memoryLimitMB: 09 ingress: listenAddress: - ""10 ports:11 http: 80 https: 443 routeAdmissionPolicy: namespaceOwnership: InterNamespaceAllowed12 status: Managed13 manifests:14 kustomizePaths: - /usr/lib/microshift/manifests - /usr/lib/microshift/manifests.d/* - /etc/microshift/manifests - /etc/microshift/manifests.d/* network: clusterNetwork: - 10.42.0.0/1615 serviceNetwork: - 10.43.0.0/1616 serviceNodePortRange: 30000-3276717 node: hostnameOverride: ""18 nodeIP: ""19 - 1
- A string that specifies the IP address from which the API server is advertised to members of the cluster. The default value is calculated based on the address of the service network.
- 2
- How long log files are kept before automatic deletion. The default value of
0in themaxFileAgeparameter means a log file is never deleted based on age. This value can be configured. - 3
- By default, when the
audit.logfile reaches themaxFileSizelimit, theaudit.logfile is rotated and MicroShift begins writing to a newaudit.logfile. This value can be configured. - 4
- The total number of log files kept. By default, MicroShift retains 10 log files. The oldest is deleted when an excess file is created. This value can be configured.
- 5
- Logs only metadata for read and write requests; does not log request bodies except for OAuth access token requests. If you do not specify this field, the
Defaultprofile is used. - 6
- Subject Alternative Names for API server certificates.
- 7
- Log verbosity. Valid values for this field are
Normal,Debug,Trace, orTraceAll. - 8
- By default,
etcduses as much memory as needed to handle the load on the system. However, in memory constrained systems, it might be preferred or necessary to limit the amount of memoryetcdcan to use at a given time. - 9
- Base domain of the cluster. All managed DNS records are subdomains of this base.
- 10
- The
ingress.listenAddressvalue defaults to the entire network of the host. The valid configurable value is a list that can be either a single IP address or NIC name or multiple IP addresses and NIC names. - 11
- Default ports shown. Configurable. Valid values for both port entries are a single, unique port in the 1-65535 range. The values of the
ports.httpandports.httpsfields cannot be the same. - 12
- Describes how hostname claims across namespaces are handled. By default, allows routes to claim different paths of the same hostname across namespaces. Valid values are
StrictandInterNamespaceAllowed. SpecifyingStrictprevents routes in different namespaces from claiming the same hostname. If the value is deleted in a customized MicroShiftconfig.yaml, theInterNamespaceAllowedvalue is automatically set. - 13
- Default router status, can be
ManagedorRemoved. - 14
- The locations on the file system to scan for
kustomizationfiles to use to load manifests. Set to a list of paths to scan only those paths. Set to an empty list to disable loading manifests. The entries in the list can be glob patterns to match multiple subdirectories. - 15
- A block of IP addresses from which pod IP addresses are allocated. This field is immutable after installation.
- 16
- A block of virtual IP addresses for Kubernetes services. IP address pool for services. A single entry is supported. This field is immutable after installation.
- 17
- The port range allowed for Kubernetes services of type
NodePort. If not specified, the default range of 30000-32767 is used. Services without aNodePortspecified are automatically allocated one from this range. This parameter can be updated after the cluster is installed. - 18
- The name of the node. The default value is the hostname. If non-empty, this string is used to identify the node instead of the hostname. You cannot change this immutable setting after MicroShift starts for the first time.
- 19
- The IP address of the node. The default value is the IP address of the default route.