1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/microshift-default-settings.adoc
2024-01-17 13:35:28 +00:00

47 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * microshift_configuring/microshift-using-config-tools.adoc
// * microshift_networking/
:_mod-docs-content-type: CONCEPT
[id="microshift-yaml-default_{context}"]
= 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:
+
[source,terminal]
----
$ microshift show-config
----
+
.Default values example output in YAML form
[source,yaml]
----
dns:
baseDomain: microshift.example.com <1>
network:
clusterNetwork:
- 10.42.0.0/16 <2>
serviceNetwork:
- 10.43.0.0/16 <3>
serviceNodePortRange: 30000-32767 <4>
node:
hostnameOverride: "" <5>
nodeIP: "" <6>
apiServer:
advertiseAddress: 10.44.0.0/32 <7>
subjectAltNames: [] <8>
debugging:
logLevel: "Normal" <9>
----
<1> Base domain of the cluster. All managed DNS records will be subdomains of this base.
<2> A block of IP addresses from which Pod IP addresses are allocated.
<3> A block of virtual IP addresses for Kubernetes services.
<4> The port range allowed for Kubernetes services of type NodePort.
<5> The name of the node. The default value is the hostname.
<6> The IP address of the node. The default value is the IP address of the default route.
<7> 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.
<8> Subject Alternative Names for API server certificates.
<9> Log verbosity. Valid values for this field are `Normal`, `Debug`, `Trace`, or `TraceAll`.