From 5c096bee21e46abde4a86fb6d7934c667560b310 Mon Sep 17 00:00:00 2001 From: abrennan Date: Fri, 17 Jan 2020 11:51:36 -0600 Subject: [PATCH] Updates to Knative Client docs (Serverless) --- _topic_map.yml | 2 +- images/question-circle.png | Bin 0 -> 636 bytes modules/kubefed-document-attributes.adoc | 25 ------------- ...serverless-installing-cli-web-console.adoc | 35 ++++++++++++++++++ serverless/knative-client.adoc | 23 +++++++----- 5 files changed, 49 insertions(+), 36 deletions(-) create mode 100644 images/question-circle.png delete mode 100644 modules/kubefed-document-attributes.adoc create mode 100644 modules/serverless-installing-cli-web-console.adoc diff --git a/_topic_map.yml b/_topic_map.yml index 36b574c89e..21e429fcd7 100644 --- a/_topic_map.yml +++ b/_topic_map.yml @@ -1445,7 +1445,7 @@ Topics: - Name: Configuring Knative Serving autoscaling File: configuring-knative-serving-autoscaling ### Using Knative Client -- Name: Using Knative Client +- Name: Getting started with Knative Client File: knative-client ### Release Notes - Name: Release Notes diff --git a/images/question-circle.png b/images/question-circle.png new file mode 100644 index 0000000000000000000000000000000000000000..a505ba1fcaddcce3e1a383564a0ea4868ea6b286 GIT binary patch literal 636 zcmV-?0)zdDP)5r00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY3ljhU3ljkVnw%H_000McNlirubsX2`IOyn@Gd8W-ScW)b_JLI9E+}01!DK`QEh73CA`0n) zAc$xeAq5!(kyEHSJ;?;C`6cS=>X^%X!8A=Q%OVg6 z*qDJcryPPRqsmjXTet5rk{ZJ_O&;DKCm5`^YYoAmV`I@YJqf1LY4*qCyn8!|5W-bk zEvz{;=)js`*qX6G`@&u3l0)aWoxO^x{deml3h`J1szSL}@x<+pJ2#&uGo!=9Q<&&)D< z;UZFQd9N~nl#);=MAzX?y1TpZ`F!NQFY$gVO+NplLMQRRYur`}DJ7`C*I3@T6Mq1? W#l#S~@%x+r0000 +---- +. Move the `kn` binary to a directory on your PATH. + +. To check your path, run: ++ +---- +$ echo $PATH +---- ++ +[NOTE] +==== +If you do not use RHEL or Fedora, 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: +---- +$ kn: No such file or directory +---- +==== diff --git a/serverless/knative-client.adoc b/serverless/knative-client.adoc index 5622e693be..a804e68d05 100644 --- a/serverless/knative-client.adoc +++ b/serverless/knative-client.adoc @@ -1,26 +1,29 @@ [id="knative-client"] -= Using Knative Client += Getting started with Knative Client include::modules/common-attributes.adoc[] :context: knative-client toc::[] -Knative Client (`kn`) is the Knative command line interface (CLI). The CLI exposes commands for managing your applications, as well as lower level tools to interact with components of {product-title}. With `kn`, you can create applications and manage {product-title} projects from the terminal. +Knative Client (`kn`) is the Knative command line interface (CLI). +The CLI exposes commands for managing your applications, as well as lower level tools to interact with components of {product-title}. +With `kn`, you can create applications and manage {product-title} projects from the terminal. -Knative client does not have its own log in mechanism. To log in to the cluster you must install the `oc` CLI and use the `oc` login. Installation options for the CLI vary depending on your operating system. +== Before you begin +Knative Client does not have its own log in mechanism. +To log in to the cluster you must install the `oc` CLI and use `oc` login. -// Installation -include::modules/cli-installing-cli.adoc[leveloffset=+1] -include::modules/serverless-installing-cli-linux.adoc[leveloffset=+2] +Installation options for the `oc` CLI will vary depending on your operating system. +For more information on installing the `oc` CLI for your operating system and logging in with `oc`, see the xref:../cli_reference/openshift_cli/getting-started-cli.adoc#cli-getting-started[CLI getting started] documentation. + +== Installing Knative Client +include::modules/serverless-installing-cli-web-console.adoc[leveloffset=+2] include::modules/serverless-installing-cli-linux-rpm.adoc[leveloffset=+2] +include::modules/serverless-installing-cli-linux.adoc[leveloffset=+2] include::modules/serverless-installing-cli-macos.adoc[leveloffset=+2] include::modules/serverless-installing-cli-windows.adoc[leveloffset=+2] -// Log in -include::modules/cli-logging-in.adoc[leveloffset=+1] - - // Access workflows after installation // Basic Workflow include::modules/serverless-workflow-basic.adoc[leveloffset=+1]