mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
merge ibm p/z into linux procedures
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
1667f24fd6
commit
5a3c624c99
@@ -1,50 +0,0 @@
|
||||
// Module included in the following assemblies:
|
||||
//
|
||||
// * serverless/cli_tools/installing-kn.adoc
|
||||
|
||||
:_content-type: PROCEDURE
|
||||
[id="installing-cli-linux-ibm-power-rpm_{context}"]
|
||||
= Installing the Knative CLI for Linux on IBM Power using an RPM
|
||||
|
||||
For {op-system-base-full}, you can install the `kn` CLI as an RPM if you have an active {product-title} subscription on your Red Hat account.
|
||||
|
||||
// no prereqs?
|
||||
|
||||
.Procedure
|
||||
|
||||
. Register with a Red Hat Subscription Management (RHSM) service during the firstboot process:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager register
|
||||
----
|
||||
|
||||
. Refresh the RHSM:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager refresh
|
||||
----
|
||||
|
||||
. Attach the subscription to a system by specifying ID of the subscription pool, using the `--pool` option:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager attach --pool=<pool_id> <1>
|
||||
----
|
||||
+
|
||||
<1> Pool ID for an active {product-title} subscription
|
||||
|
||||
. Enable the repository using Red Hat Subscription Manager:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-ppc64le-rpms"
|
||||
----
|
||||
|
||||
. Install the `openshift-serverless-clients` on the system:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# yum install openshift-serverless-clients
|
||||
----
|
||||
@@ -1,33 +0,0 @@
|
||||
:_content-type: PROCEDURE
|
||||
[id="installing-cli-linux-ibm-power-tarball_{context}"]
|
||||
= Installing the Knative CLI for Linux on IBM Power
|
||||
|
||||
For Linux distributions, you can download the Knative CLI (`kn`) directly as a `tar.gz` archive.
|
||||
|
||||
.Procedure
|
||||
|
||||
. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-ppc64le.tar.gz[`kn` CLI].
|
||||
. Unpack the archive:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ tar -xf <file>
|
||||
----
|
||||
. Move the `kn` binary to a directory on your `PATH`.
|
||||
. To check your `PATH`, run:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ echo $PATH
|
||||
----
|
||||
+
|
||||
[NOTE]
|
||||
====
|
||||
If you do not use {op-system-base}, ensure that *libc* is installed in a directory on your library path.
|
||||
|
||||
If *libc* is not available, you might see the following error when you run CLI commands:
|
||||
[source,terminal]
|
||||
----
|
||||
$ kn: No such file or directory
|
||||
----
|
||||
====
|
||||
@@ -1,50 +0,0 @@
|
||||
// Module included in the following assemblies:
|
||||
//
|
||||
// * serverless/cli_tools/installing-kn.adoc
|
||||
|
||||
:_content-type: PROCEDURE
|
||||
[id="installing-cli-linux-ibm-z-rpm_{context}"]
|
||||
= Installing the Knative CLI for Linux on IBM Z and LinuxONE using an RPM
|
||||
|
||||
For {op-system-base-full}, you can install the `kn` CLI as an RPM if you have an active {product-title} subscription on your Red Hat account.
|
||||
|
||||
// no prereqs?
|
||||
|
||||
.Procedure
|
||||
|
||||
. Register with a Red Hat Subscription Management (RHSM) service during the firstboot process:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager register
|
||||
----
|
||||
|
||||
. Refresh the RHSM:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager refresh
|
||||
----
|
||||
|
||||
. Attach the subscription to a system by specifying ID of the subscription pool, using the `--pool` option:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager attach --pool=<pool_id> <1>
|
||||
----
|
||||
+
|
||||
<1> Pool ID for an active {product-title} subscription
|
||||
|
||||
. Enable the repository using Red Hat Subscription Manager:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-s390x-rpms"
|
||||
----
|
||||
|
||||
. Install the `openshift-serverless-clients` on the system:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# yum install openshift-serverless-clients
|
||||
----
|
||||
@@ -1,42 +0,0 @@
|
||||
// Module included in the following assemblies:
|
||||
//
|
||||
// * serverless/cli_tools/installing-kn.adoc
|
||||
|
||||
:_content-type: PROCEDURE
|
||||
[id="installing-cli-linux-ibm-z-tarball_{context}"]
|
||||
= Installing the Knative CLI for Linux on IBM Z and LinuxONE
|
||||
|
||||
For Linux distributions, you can download the `kn` CLI directly as a `tar.gz` archive.
|
||||
|
||||
// no prereqs?
|
||||
|
||||
.Procedure
|
||||
|
||||
. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-s390x.tar.gz[`kn` CLI].
|
||||
|
||||
. Unpack the archive:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ tar -xf <file>
|
||||
----
|
||||
|
||||
. Move the `kn` binary to a directory on your `PATH`.
|
||||
|
||||
. To check your `PATH`, run:
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
$ echo $PATH
|
||||
----
|
||||
+
|
||||
[NOTE]
|
||||
====
|
||||
If you do not use {op-system-base}, ensure that *libc* is installed in a directory on your library path.
|
||||
|
||||
If *libc* is not available, you might see the following error when you run CLI commands:
|
||||
[source,terminal]
|
||||
----
|
||||
$ kn: No such file or directory
|
||||
----
|
||||
====
|
||||
@@ -39,10 +39,26 @@ For {op-system-base-full}, you can install the Knative (`kn`) CLI as an RPM by u
|
||||
|
||||
. Enable the repositories required by the Knative (`kn`) CLI:
|
||||
+
|
||||
* Linux (x86_64, amd64)
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-x86_64-rpms"
|
||||
----
|
||||
+
|
||||
* Linux on IBM Z and LinuxONE (s390x)
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-s390x-rpms"
|
||||
----
|
||||
+
|
||||
* Linux on IBM Power (ppc64le)
|
||||
+
|
||||
[source,terminal]
|
||||
----
|
||||
# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-ppc64le-rpms"
|
||||
----
|
||||
|
||||
. Install the Knative (`kn`) CLI as an RPM by using a package manager:
|
||||
+
|
||||
|
||||
@@ -24,7 +24,14 @@ $ kn: No such file or directory
|
||||
|
||||
.Procedure
|
||||
|
||||
. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-amd64.tar.gz[Knative (`kn`) CLI `tar.gz` archive].
|
||||
. Download the relevant Knative (`kn`) CLI `tar.gz` archive:
|
||||
|
||||
* link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-amd64.tar.gz[Linux (x86_64, amd64)]
|
||||
|
||||
* link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-s390x.tar.gz[Linux on IBM Z and LinuxONE (s390x)]
|
||||
|
||||
* link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-ppc64le.tar.gz[Linux on IBM Power (ppc64le)]
|
||||
|
||||
|
||||
. Unpack the archive:
|
||||
+
|
||||
|
||||
@@ -25,7 +25,7 @@ $ kn: No such file or directory
|
||||
|
||||
.Procedure
|
||||
|
||||
. Download the `kn` CLI from the *Command Line Tools* page. You can access the *Command Line Tools* page by clicking the image:../images/question-circle.png[title="Help"] icon in the top right corner of the web console and selecting *Command Line Tools* in the drop-down menu.
|
||||
. Download the Knative (`kn`) CLI from the *Command Line Tools* page. You can access the *Command Line Tools* page by clicking the image:../images/question-circle.png[title="Help"] icon in the top right corner of the web console and selecting *Command Line Tools* in the drop-down menu.
|
||||
|
||||
. Unpack the archive:
|
||||
+
|
||||
|
||||
@@ -18,20 +18,16 @@ endif::[]
|
||||
|
||||
[IMPORTANT]
|
||||
====
|
||||
If you try to use an older version of the Knative `kn` CLI with a newer {ServerlessProductName} release, the API is not found and an error occurs.
|
||||
If you try to use an older version of the Knative (`kn`) CLI with a newer {ServerlessProductName} release, the API is not found and an error occurs.
|
||||
|
||||
For example, if you use the 1.16.0 release of the `kn` CLI, which uses version 0.22.0, with the 1.17.0 {ServerlessProductName} release, which uses the 0.23.0 versions of the Knative Serving and Knative Eventing APIs, the CLI does not work because it continues to look for the outdated 0.22.0 API versions.
|
||||
For example, if you use the 1.16.0 release of the Knative (`kn`) CLI, which uses version 0.22.0, with the 1.17.0 {ServerlessProductName} release, which uses the 0.23.0 versions of the Knative Serving and Knative Eventing APIs, the CLI does not work because it continues to look for the outdated 0.22.0 API versions.
|
||||
|
||||
Ensure that you are using the latest `kn` CLI version for your {ServerlessProductName} release to avoid issues.
|
||||
Ensure that you are using the latest Knative (`kn`) CLI version for your {ServerlessProductName} release to avoid issues.
|
||||
====
|
||||
// need to update this note, out of scope for this PR
|
||||
|
||||
include::modules/serverless-installing-cli-web-console.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-linux-rpm-package-manager.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-linux.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-linux-ibm-power-rpm.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-linux-ibm-power-tarball.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-linux-ibm-z-rpm.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-linux-ibm-z-tarball.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-macos.adoc[leveloffset=+1]
|
||||
include::modules/serverless-installing-cli-windows.adoc[leveloffset=+1]
|
||||
|
||||
Reference in New Issue
Block a user