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-accessing-node-open-firewall.adoc
2025-11-21 17:07:56 +00:00

37 lines
1.3 KiB
Plaintext

// Module included in the following assemblies:
//
// microshift_install_rpm/microshift-install-rpm.adoc
// microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc
// microshift_configuring/microshift-node-access-kubeconfig.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-accessing-node-open-firewall_{context}"]
= Opening the firewall for remote access to the {microshift-short} node
[role="_abstract"]
You must open the firewall before a workstation user can access the {microshift-short} 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 installed {oc-first}.
* Your account has cluster administration privileges.
.Procedure
* As `user@microshift` on the {microshift-short} host, open the firewall port for the Kubernetes API server (`6443/tcp`) by running the following command:
+
[source,terminal]
----
[user@microshift]$ sudo firewall-cmd --permanent --zone=public --add-port=6443/tcp && sudo firewall-cmd --reload
----
.Verification
* As `user@microshift`, verify that {microshift-short} is running by entering the following command:
+
--
include::snippets/microshift-healthy-pods-snip.adoc[leveloffset=+2]
--