Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions _topic_maps/_topic_map_ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ Distros: microshift
Topics:
- Name: Installing with an RPM package
File: microshift-install-rpm
- Name: Stopping and starting MicroShift
File: microshift-stop-start
- Name: Accessing the MicroShift node with oc
File: microshift-access-node
- Name: Uninstalling MicroShift
File: microshift-uninstall-rpm
---
Expand Down Expand Up @@ -132,16 +136,19 @@ Topics:
File: microshift-nw-ipv6-config
- Name: Using ingress control for a MicroShift cluster
File: microshift-ingress-controller
- Name: Cluster access with kubeconfig files
File: microshift-cluster-access-kubeconfig
- Name: Using custom certificate authorities
File: microshift-custom-ca
- Name: Checking the status of greenboot health checks
File: microshift-greenboot-checking-status
- Name: Configuring audit logging policies
File: microshift-audit-logs-config
- Name: Disabling LVMS CSI provider and CSI snapshot
File: microshift-disable-lvms-csi-provider-csi-snapshot
- Name: Checking the status of greenboot health checks
File: microshift-greenboot-checking-status
- Name: Node access with kubeconfig files
File: microshift-node-access-kubeconfig
- Name: Configuring MicroShift authentication and security
Dir: microshift_auth_security
Topics:
- Name: Using custom certificate authorities
File: microshift-custom-ca
- Name: Configuring audit logging policies
File: microshift-audit-logs-config
- Name: Configuring low latency
Dir: microshift_low_latency
Topics:
Expand Down
8 changes: 3 additions & 5 deletions microshift_cli_ref/microshift-cli-tools-introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include::_attributes/attributes-microshift.adoc[]

toc::[]

You can use different command-line interface (CLI) tools to build, deploy, and manage a {microshift-short} cluster and workloads. With CLI tools, you can complete various administration and development operations from the terminal to manage deployments and interact with each component of the system.
You can use different command-line interface (CLI) tools to build, deploy, and manage a {microshift-short} node and workloads. With CLI tools, you can complete various administration and development operations from the terminal to manage deployments and interact with each component of the system.

CLI tools available for use with {microshift-short} are the following:

Expand All @@ -16,14 +16,12 @@ CLI tools available for use with {microshift-short} are the following:

[NOTE]
====
Commands for multi-node deployments, projects, and developer tooling are not supported by {product-title}.
Commands for multi-node deployments, projects, and developer tools are not supported by {microshift-short}.
====

[role="_additional-resources"]
[id="additional-resources_microshift-cli-tools"]
[role="_additional-resources"]
== Additional resources

* xref:..//microshift_cli_ref/microshift-oc-cli-install.adoc#microshift-oc-cli-install[Getting started with the OpenShift CLI]
* link:https://docs.redhat.com/en/documentation/openshift_container_platform/{ocp-version}/html/cli_tools/openshift-cli-oc#cli-about-cli_cli-developer-commands[About the OpenShift CLI] ({OCP} documentation)
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9[{op-system-base-full} documentation for specific use cases]
* xref:../microshift_configuring/microshift-cluster-access-kubeconfig.adoc#microshift-kubeconfig[Cluster access with kubeconfig]
2 changes: 2 additions & 0 deletions microshift_configuring/microshift-config-snippets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ include::_attributes/attributes-microshift.adoc[]
= Using {microshift-short} configuration snippets
:context: microshift-config-snippets

toc::[]

If you want to configure one or two settings, use the `/etc/microshift/config.d/` configuration directory to drop in configuration snippet YAML files.

include::modules/microshift-how-config-snippets-work.adoc[leveloffset=+1]
Expand Down
6 changes: 3 additions & 3 deletions microshift_configuring/microshift-default-config-yaml.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ include::modules/microshift-config-yaml.adoc[leveloffset=+1]

include::modules/microshift-default-settings.adoc[leveloffset=+2]

//[id="additional-resources_microshift-using-config-yaml_{context}"]
//[role="_additional-resources"]
//== Additional resources
[id="additional-resources_microshift-using-config-yaml_{context}"]
[role="_additional-resources"]
== Additional resources

//* xref:../microshift-using-config-yaml.adoc#microshift-using-config-yaml[Customizing {microshift-short} by using the configuration file]
1 change: 0 additions & 1 deletion microshift_configuring/microshift-ingress-controller.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ include::modules/microshift-ingress-controller-config.adoc[leveloffset=+1]
== Additional resources

//* xref:../microshift_configuring/microshift-config-snippets.adoc#microshift-config-snippets[Using configuration snippets]

* link:https://docs.openshift.com/container-platform/4.17/networking/networking_operators/ingress-operator.html#nw-http2-haproxy_configuring-ingress[Enabling HTTP/2 Ingress connectivity] (OpenShift Container Platform documentation)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:_mod-docs-content-type: ASSEMBLY
[id="microshift-kubeconfig"]
= Cluster access with kubeconfig files
[id="microshift-node-access-kubeconfig"]
= Node access with kubeconfig files
include::_attributes/attributes-microshift.adoc[]
:context: microshift-kubeconfig
:context: microshift-node-access-kubeconfig

toc::[]

Expand All @@ -12,12 +12,12 @@ include::modules/microshift-kubeconfig-overview.adoc[leveloffset=+1]

include::modules/microshift-kubeconfig-local-access.adoc[leveloffset=+1]

include::modules/microshift-accessing-cluster-locally.adoc[leveloffset=+2]
include::modules/microshift-accessing-node-locally.adoc[leveloffset=+2]

include::modules/microshift-kubeconfig-remote-con.adoc[leveloffset=+1]

include::modules/microshift-kubeconfig-generating-remote-kcfiles.adoc[leveloffset=+1]
include::modules/microshift-kubeconfig-generating-additional-files.adoc[leveloffset=+1]

include::modules/microshift-accessing-cluster-open-firewall.adoc[leveloffset=+2]
include::modules/microshift-accessing-node-open-firewall.adoc[leveloffset=+2]

include::modules/microshift-accessing-cluster-remotely.adoc[leveloffset=+2]
include::modules/microshift-accessing-node-remotely.adoc[leveloffset=+2]
1 change: 1 addition & 0 deletions microshift_configuring/microshift_auth_security/images
1 change: 1 addition & 0 deletions microshift_configuring/microshift_auth_security/modules
1 change: 1 addition & 0 deletions microshift_configuring/microshift_auth_security/snippets
24 changes: 24 additions & 0 deletions microshift_install_rpm/microshift-access-node.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
:_mod-docs-content-type: ASSEMBLY
[id="microshift-access-node"]
include::_attributes/attributes-microshift.adoc[]
= Accessing the {microshift-short} node with oc
:context: microshift-access-node

toc::[]

Access a {microshift-short} node by using the {oc-first}.

include::modules/microshift-accessing.adoc[leveloffset=+1]

include::modules/microshift-accessing-node-locally.adoc[leveloffset=+2]

include::modules/microshift-accessing-node-open-firewall.adoc[leveloffset=+2]

include::modules/microshift-accessing-node-remotely.adoc[leveloffset=+2]

[id="additional-resources_microshift-access-node"]
[role="_additional-resources"]
== Additional resources

* xref:../microshift_cli_ref/microshift-oc-cli-install.adoc#microshift-oc-cli-install[Installing the OpenShift CLI tool]
* xref:../microshift_configuring/microshift-node-access-kubeconfig.adoc#microshift-node-access-kubeconfig[Node access with kubeconfig files]
43 changes: 8 additions & 35 deletions microshift_install_rpm/microshift-install-rpm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,16 @@ You can install {microshift-short} from an RPM package on a machine with a suppo

include::modules/microshift-install-rpm-before.adoc[leveloffset=+1]

//additional resources for install rpm before module
[role="_additional-resources"]
.Additional resources
* xref:../microshift_install_get_ready/microshift-fips.adoc#microshift-fips[Using FIPS mode with {microshift-short}]

include::modules/microshift-install-rpm-preparing.adoc[leveloffset=+1]

//additional resources for install rpm prep module
[role="_additional-resources"]
.Additional resources
* Download the link:https://console.redhat.com/openshift/install/pull-secret[pull secret] from the Red Hat Hybrid Cloud Console
//* xref:../microshift_configuring/microshift-using-config-yaml.adoc#microshift-using-config-yaml[Customizing {microshift-short} by using the configuration file]
* For more options on partition configuration, read link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/performing_a_standard_rhel_9_installation/index#manual-partitioning_graphical-installation[Configuring Manual Partitioning]
* For more information about resizing your existing LVs to free up capacity in your VGs, read link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/configuring_and_managing_logical_volumes/index#managing-lvm-volume-groups_configuring-and-managing-logical-volumes[Managing LVM Volume Groups].
* For more information about creating VGs and PVs, read link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_logical_volumes/overview-of-logical-volume-management_configuring-and-managing-logical-volumes[Overview of logical volume management]

include::modules/microshift-install-rpms.adoc[leveloffset=+1]

[id="microshift-starting-and-stopping"]
== Starting and stopping {microshift-short}

After installing all of the RPM packages you need, learn to start and stop the {microshift-short} service.

include::modules/microshift-service-starting.adoc[leveloffset=+2]

include::modules/microshift-service-stopping.adoc[leveloffset=+2]

include::modules/microshift-accessing.adoc[leveloffset=+1]

//additional resources for accessing module
[id="additional-resources_microshift-install-rpm"]
[role="_additional-resources"]
.Additional resources

* xref:../microshift_cli_ref/microshift-oc-cli-install.adoc#microshift-oc-cli-install[Installing the OpenShift CLI tool]

include::modules/microshift-accessing-cluster-locally.adoc[leveloffset=+2]

include::modules/microshift-accessing-cluster-open-firewall.adoc[leveloffset=+2]

include::modules/microshift-accessing-cluster-remotely.adoc[leveloffset=+2]
== Additional resources
* xref:../microshift_install_get_ready/microshift-fips.adoc#microshift-fips[Using FIPS mode with {microshift-short}]
* Download the link:https://console.redhat.com/openshift/install/pull-secret[pull secret] from the Red Hat Hybrid Cloud Console
//* xref:../microshift_configuring/microshift-using-config-yaml.adoc#microshift-using-config-yaml[Customizing {microshift-short} by using the configuration file]
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/interactively_installing_rhel_over_the_network/customizing-the-system-in-the-installer_rhel-installer#manual-partitioning_customizing-the-system-in-the-installer[Configuring manual partitioning]
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_logical_volumes/overview-of-logical-volume-management_configuring-and-managing-logical-volumes[Overview of logical volume management]
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/configuring_and_managing_logical_volumes/index#managing-lvm-volume-groups_configuring-and-managing-logical-volumes[Managing LVM Volume Groups]
13 changes: 13 additions & 0 deletions microshift_install_rpm/microshift-stop-start.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
:_mod-docs-content-type: ASSEMBLY
[id="microshift-stop-start"]
include::_attributes/attributes-microshift.adoc[]
= Stopping and starting {microshift-short}
:context: microshift-stop-start

toc::[]

You can stop or start {microshift-short} for a variety of reasons, including a fresh installation, adding optional RPM packages, and troubleshooting.

include::modules/microshift-service-starting.adoc[leveloffset=+1]

include::modules/microshift-service-stopping.adoc[leveloffset=+1]
2 changes: 1 addition & 1 deletion microshift_install_rpm/microshift-uninstall-rpm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ toc::[]

Before you uninstall {microshift-short}, clean up all the {microshift-short} data and configuration by running the `microshift-cleanup-data` script.

include::modules/microshift-uninstall-microshift-rpms.adoc[leveloffset=+1]
include::modules/microshift-uninstall-microshift-rpms.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include::modules/microshift-adding-service-to-blueprint.adoc[leveloffset=+2]

include::modules/microshift-creating-ostree-iso.adoc[leveloffset=+2]

[id="additional-resources_microshift-embed-microshift-offline-deployments_{context}"]
[id="additional-resources_microshift-embed-microshift-offline-deployments"]
[role="_additional-resources"]
== Additional resources

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,8 @@ include::modules/microshift-embed-kickstart-in-iso.adoc[leveloffset=+2]

include::modules/microshift-accessing.adoc[leveloffset=+1]

include::modules/microshift-accessing-cluster-locally.adoc[leveloffset=+2]
include::modules/microshift-accessing-node-locally.adoc[leveloffset=+2]

include::modules/microshift-accessing-cluster-open-firewall.adoc[leveloffset=+2]
include::modules/microshift-accessing-node-open-firewall.adoc[leveloffset=+2]

include::modules/microshift-accessing-cluster-remotely.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources
* xref:../microshift_configuring/microshift-cluster-access-kubeconfig.adoc#microshift-kubeconfig-generating-remote-kcfiles_microshift-cluster-access-kubeconfig[Generating additional kubeconfig files for remote access]
include::modules/microshift-accessing-node-remotely.adoc[leveloffset=+2]
4 changes: 2 additions & 2 deletions microshift_running_apps/microshift-authentication.adoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
:_mod-docs-content-type: ASSEMBLY
[id="authentication-with-microshift"]
= Pod security authentication and authorization
= Pod security authentication and authorization with SCC
include::_attributes/attributes-microshift.adoc[]
:context: authentication-microshift

toc::[]

Pod security admission is an implementation of the link:https://kubernetes.io/docs/concepts/security/pod-security-standards/[Kubernetes pod security standards]. Use pod security admission to restrict the behavior of pods.
Pod security admission is an implementation of the link:https://kubernetes.io/docs/concepts/security/pod-security-standards/[Kubernetes pod security standards]. Use security content constraints (SCC) for pod security admission to restrict pod behavior.

include::modules/microshift-security-context-constraints.adoc[leveloffset=+1]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
//
// microshift_install_rpm/microshift-install-rpm.adoc
// microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc
// microshift_configuring/microshift-cluster-access-kubeconfig.adoc
// microshift_configuring/microshift-node-access-kubeconfig.adoc

:_mod-docs-content-type: PROCEDURE
[id="accessing-microshift-cluster-locally_{context}"]
= Accessing the {microshift-short} cluster locally
[id="accessing-microshift-node-locally_{context}"]
= Accessing the {microshift-short} node locally

Use the following procedure to access the {microshift-short} cluster locally by using a `kubeconfig` file.
Use the following procedure to access the {microshift-short} node locally by using a `kubeconfig` file.

.Prerequisites

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@
//
// microshift_install_rpm/microshift-install-rpm.adoc
// microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc
// microshift_configuring/microshift-cluster-access-kubeconfig.adoc
// microshift_configuring/microshift-node-access-kubeconfig.adoc

:_mod-docs-content-type: PROCEDURE
[id="microshift-accessing-cluster-open-firewall_{context}"]
= Opening the firewall for remote access to the {microshift-short} cluster
[id="microshift-accessing-node-open-firewall_{context}"]
= Opening the firewall for remote access to the {microshift-short} node

Use the following procedure to open the firewall so that a remote user can access the {microshift-short} cluster. This procedure must be completed before a workstation user can access the cluster remotely.
Use the following procedure to open the firewall so that a remote user can access the {microshift-short} service. You must complete this procedure before a workstation user can access the node remotely.

For this procedure, `user@microshift` is the user on the {microshift-short} host machine and is responsible for setting up that machine so that it can be accessed by a remote user on a separate workstation.

.Prerequisites

* You have installed the `oc` binary.

* You installed {oc-first}.
* Your account has cluster administration privileges.

.Procedure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
//
// microshift_install_rpm/microshift-install-rpm.adoc
// microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc
// microshift_configuring/microshift-cluster-access-kubeconfig.adoc
// microshift_configuring/microshift-access-node-kubeconfig.adoc

:_mod-docs-content-type: PROCEDURE
[id="accessing-microshift-cluster-remotely_{context}"]
= Accessing the {microshift-short} cluster remotely
[id="accessing-microshift-node-remotely_{context}"]
= Accessing the {microshift-short} node remotely

Use the following procedure to access the {microshift-short} cluster from a remote location by using a `kubeconfig` file.
Use the following procedure to access the {microshift-short} service from a remote location by using a `kubeconfig` file.

The `user@workstation` login is used to access the host machine remotely. The `<user>` value in the procedure is the name of the user that `user@workstation` logs in with to the {microshift-short} host.

.Prerequisites

* You have installed the `oc` binary.

* You installed {oc-first}.
* The `user@microshift` has opened the firewall from the local host.
* You generated additional `kubeconfig` files.

.Procedure

Expand All @@ -34,17 +34,13 @@ The `user@workstation` login is used to access the host machine remotely. The `<
[user@workstation]$ MICROSHIFT_MACHINE=<name or IP address of {microshift-short} machine>
----

. As `user@workstation`, copy the generated `kubeconfig` file that contains the host name or IP address you want to connect with from the {op-system-base} machine running {microshift-short} to your local machine by running the following command:
. As `user@workstation`, copy the generated `kubeconfig` file that contains the hostname or IP address you want to connect to from the {op-system-base} machine running {microshift-short} to your local machine by running the following command:
+
[source,terminal]
----
[user@workstation]$ ssh <user>@$MICROSHIFT_MACHINE "sudo cat /var/lib/microshift/resources/kubeadmin/$MICROSHIFT_MACHINE/kubeconfig" > ~/.kube/config
[user@workstation]$ ssh <user>@$MICROSHIFT_MACHINE "sudo cat /var/lib/microshift/resources/kubeadmin/$MICROSHIFT_MACHINE/kubeconfig" > ~/.kube/config <1>
----
+
[NOTE]
====
To generate the `kubeconfig` files for this step, see link:https://access.redhat.com/documentation/en-us/red_hat_build_of_microshift/{product-version}/html/configuring/microshift-kubeconfig#generating-additional-kubeconfig-files_microshift-kubeconfig[Generating additional kubeconfig files for remote access].
====
<1> Replace _<user>_ with your SSH login credentials.

. As `user@workstation`, update the permissions on your `~/.kube/config` file by running the following command:
+
Expand Down
12 changes: 6 additions & 6 deletions modules/microshift-accessing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
// microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc

:_mod-docs-content-type: CONCEPT
[id="accessing-microshift-cluster_{context}"]
= How to access the {microshift-short} cluster
[id="accessing-microshift-node_{context}"]
= How to access the {microshift-short} node

Use the procedures in this section to access the {microshift-short} cluster by using the {oc-first}.
Access the {microshift-short} service by using the {oc-first}.

* You can access the cluster from either the same machine running the {microshift-short} service or from a remote location.
* You can use this access to observe and administrate workloads.
* When using the following steps, choose the `kubeconfig` file that contains the host name or IP address you want to connect to and place it in the relevant directory.
* You can access the node from either the same machine running the {microshift-short} service or from a remote location.
* You can use this access to observe and administer workloads.
* When using the following steps, choose the `kubeconfig` file that contains the hostname or IP address you want to connect to and place it in the relevant directory.
Loading