diff --git a/_topic_maps/_topic_map.yml b/_topic_maps/_topic_map.yml index 63b44ff0b7..5a773422cd 100644 --- a/_topic_maps/_topic_map.yml +++ b/_topic_maps/_topic_map.yml @@ -481,7 +481,7 @@ Dir: updating Distros: openshift-origin,openshift-enterprise Topics: - Name: Updating clusters overview - File: index + File: index - Name: Understanding OpenShift updates File: understanding-openshift-updates - Name: Understanding upgrade channels @@ -3398,9 +3398,22 @@ Topics: File: installing-knative-eventing - Name: Removing OpenShift Serverless File: removing-openshift-serverless -#- Name: Get started -# File: serverless-getting-started -# uncomment once new content is added for this +# Knative kn CLI +- Name: Knative CLI + Dir: cli_tools + Topics: + - Name: Installing the Knative CLI + File: installing-kn + - Name: Configuring the Knative CLI + File: advanced-kn-config + - Name: Knative CLI plug-ins + File: kn-plugins + - Name: Knative Serving CLI commands + File: kn-serving-ref + - Name: Knative Eventing CLI commands + File: kn-eventing-ref + - Name: Functions commands + File: kn-func-ref - Name: Develop Dir: develop Topics: @@ -3530,24 +3543,3 @@ Topics: Topics: - Name: Using NVIDIA GPU resources with serverless applications File: gpu-resources -# CLI tools -- Name: CLI tools - Dir: cli_tools - Topics: - - Name: Installing the Knative CLI - File: installing-kn - - Name: Knative CLI advanced configuration - File: advanced-kn-config -- Name: Reference - Dir: reference - Topics: - - Name: Knative CLI flags - File: kn-flags-reference - - Name: Knative Serving CLI commands - File: kn-serving-ref - - Name: Knative Eventing CLI commands - File: kn-eventing-ref - - Name: Functions commands - File: kn-func-ref - - Name: kn event - File: kn-event-ref diff --git a/_topic_maps/_topic_map_osd.yml b/_topic_maps/_topic_map_osd.yml index 3d970da038..2985c8e307 100644 --- a/_topic_maps/_topic_map_osd.yml +++ b/_topic_maps/_topic_map_osd.yml @@ -242,6 +242,19 @@ Topics: File: installing-knative-eventing - Name: Removing OpenShift Serverless File: removing-openshift-serverless +- Name: Knative CLI + Dir: cli_tools + Topics: + - Name: Installing the Knative CLI + File: installing-kn + - Name: Configuring the Knative CLI + File: advanced-kn-config + - Name: Knative Serving CLI commands + File: kn-serving-ref + - Name: Knative Eventing CLI commands + File: kn-eventing-ref + - Name: Functions commands + File: kn-func-ref - Name: Develop Dir: develop Topics: @@ -349,26 +362,6 @@ Topics: File: serverless-functions-annotations - Name: Functions development reference guide File: serverless-functions-reference-guide -- Name: CLI tools - Dir: cli_tools - Topics: - - Name: Installing the Knative CLI - File: installing-kn - - Name: Knative CLI advanced configuration - File: advanced-kn-config -- Name: Reference - Dir: reference - Topics: - - Name: Knative CLI flags - File: kn-flags-reference - - Name: Knative Serving CLI commands - File: kn-serving-ref - - Name: Knative Eventing CLI commands - File: kn-eventing-ref - - Name: Functions commands - File: kn-func-ref - - Name: kn event - File: kn-event-ref --- Name: Support Dir: support diff --git a/modules/serverless-build-events-kn.adoc b/modules/serverless-build-events-kn.adoc index 44b6ae1e62..6fc753747b 100644 --- a/modules/serverless-build-events-kn.adoc +++ b/modules/serverless-build-events-kn.adoc @@ -1,9 +1,13 @@ :_content-type: PROCEDURE [id="serverless-build-events-kn_{context}"] -= Building events += Building events by using the kn-event plug-in You can use the builder-like interface of the `kn event build` command to build an event. You can then send that event at a later time or use it in another context. +.Prerequisites + +* You have installed the Knative (`kn`) CLI. + .Procedure * Build an event: diff --git a/modules/serverless-installing-cli-linux-rpm-package-manager.adoc b/modules/serverless-installing-cli-linux-rpm-package-manager.adoc new file mode 100644 index 0000000000..4690f017ea --- /dev/null +++ b/modules/serverless-installing-cli-linux-rpm-package-manager.adoc @@ -0,0 +1,53 @@ +// Module included in the following assemblies: +// +// * serverless/cli_tools/installing-kn.adoc + +:_content-type: PROCEDURE +[id="serverless-installing-cli-linux-rpm-package-manager_{context}"] += Installing the Knative CLI for Linux by using an RPM package manager + +For {op-system-base-full}, you can install the Knative (`kn`) CLI as an RPM by using a package manager, such as `yum` or `dnf`. This allows the Knative CLI version to be automatically managed by the system. For example, using a command like `dnf upgrade` upgrades all packages, including `kn`, if a new version is available. + +.Prerequisites + +* You have an active {product-title} subscription on your Red Hat account. + +.Procedure + +. Register with Red Hat Subscription Manager: ++ +[source,terminal] +---- +# subscription-manager register +---- + +. Pull the latest subscription data: ++ +[source,terminal] +---- +# subscription-manager refresh +---- + +. Attach the subscription to the registered system: ++ +[source,terminal] +---- +# subscription-manager attach --pool= <1> +---- ++ +<1> Pool ID for an active {product-title} subscription + +. Enable the repositories required by the Knative (`kn`) CLI: ++ +[source,terminal] +---- +# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-x86_64-rpms" +---- + +. Install the Knative (`kn`) CLI as an RPM by using a package manager: ++ +.Example `yum` command +[source,terminal] +---- +# yum install openshift-serverless-clients +---- diff --git a/modules/serverless-installing-cli-linux-rpm.adoc b/modules/serverless-installing-cli-linux-rpm.adoc deleted file mode 100644 index 1ee28a8627..0000000000 --- a/modules/serverless-installing-cli-linux-rpm.adoc +++ /dev/null @@ -1,51 +0,0 @@ -// Module included in the following assemblies: -// -// * serverless/cli_tools/installing-kn.adoc - -:_content-type: PROCEDURE -[id="installing-cli-linux-rpm_{context}"] -= Installing the Knative CLI for Linux 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 -// better explanation of what each of these commands do? - -. Enter the command: -+ -[source,terminal] ----- -# subscription-manager register ----- - -. Enter the command: -+ -[source,terminal] ----- -# subscription-manager refresh ----- - -. Enter the command: -+ -[source,terminal] ----- -# subscription-manager attach --pool= <1> ----- -+ -<1> Pool ID for an active {product-title} subscription - -. Enter the command: -+ -[source,terminal] ----- -# subscription-manager repos --enable="openshift-serverless-1-for-rhel-8-x86_64-rpms" ----- - -. Enter the command: -+ -[source,terminal] ----- -# yum install openshift-serverless-clients ----- diff --git a/modules/serverless-installing-cli-linux.adoc b/modules/serverless-installing-cli-linux.adoc index becc409317..68e6a38784 100644 --- a/modules/serverless-installing-cli-linux.adoc +++ b/modules/serverless-installing-cli-linux.adoc @@ -6,19 +6,31 @@ [id="installing-cli-linux_{context}"] = Installing the Knative CLI for Linux -For Linux distributions, you can download the `kn` CLI directly as a `tar.gz` archive. +If you are using a Linux distribution that does not have RPM or another package manager installed, you can install the Knative (`kn`) CLI as a binary file. To do this, you must download and unpack a `tar.gz` archive and add the binary to a directory on your `PATH`. -// no prereqs? +.Prerequisites + +* If you are not using RHEL or Fedora, ensure that *libc* is installed in a directory on your library path. ++ +[IMPORTANT] +==== +If *libc* is not available, you might see the following error when you run CLI commands: + +[source,terminal] +---- +$ 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[`kn` CLI]. +. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-linux-amd64.tar.gz[Knative (`kn`) CLI `tar.gz` archive]. . Unpack the archive: + [source,terminal] ---- -$ tar -xf +$ tar -xf ---- . Move the `kn` binary to a directory on your `PATH`. @@ -29,14 +41,3 @@ $ tar -xf ---- $ 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: - -[source,terminal] ----- -$ kn: No such file or directory ----- -==== diff --git a/modules/serverless-installing-cli-macos.adoc b/modules/serverless-installing-cli-macos.adoc index 5f30bffddc..ccf5f77dc8 100644 --- a/modules/serverless-installing-cli-macos.adoc +++ b/modules/serverless-installing-cli-macos.adoc @@ -3,18 +3,18 @@ // * serverless/cli_tools/installing-kn.adoc :_content-type: PROCEDURE -[id="installing-cli-macosx_{context}"] +[id="serverless-installing-cli-macos_{context}"] = Installing the Knative CLI for macOS -The `kn` CLI for macOS is provided as a `tar.gz` archive. +If you are using macOS, you can install the Knative (`kn`) CLI as a binary file. To do this, you must download and unpack a `tar.gz` archive and add the binary to a directory on your `PATH`. // no prereqs? .Procedure -. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-macos-amd64.tar.gz[`kn` CLI]. +. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-macos-amd64.tar.gz[Knative (`kn`) CLI `tar.gz` archive]. -. Unpack and unzip the archive. +. Unpack and extract the archive. . Move the `kn` binary to a directory on your `PATH`. diff --git a/modules/serverless-installing-cli-web-console.adoc b/modules/serverless-installing-cli-web-console.adoc index dcf3fa4065..7802d27b92 100644 --- a/modules/serverless-installing-cli-web-console.adoc +++ b/modules/serverless-installing-cli-web-console.adoc @@ -6,12 +6,22 @@ [id="installing-cli-web-console_{context}"] = Installing the Knative CLI using the {product-title} web console -You can use the following procedure to install the `kn` CLI by using the web console. +Using the {product-title} web console provides a streamlined and intuitive user interface to install the Knative (`kn`) CLI. After the {ServerlessOperatorName} is installed, you will see a link to download the Knative (`kn`) CLI for Linux (amd64, s390x, ppc64le), macOS, or Windows from the *Command Line Tools* page in the {product-title} web console. .Prerequisites * You have logged in to the {product-title} web console. -* The {ServerlessOperatorName} is installed on your {product-title} cluster. After the {ServerlessOperatorName} is installed, you will see a link to download the Knative CLI (`kn`) for Linux (x86_64, amd64, s390x, ppc64le), macOS, or Windows from the *Command Line Tools* page in the {product-title} web console. +* The {ServerlessOperatorName} is installed on your {product-title} cluster. ++ +[IMPORTANT] +==== +If *libc* is not available, you might see the following error when you run CLI commands: + +[source,terminal] +---- +$ kn: No such file or directory +---- +==== .Procedure @@ -23,22 +33,12 @@ You can use the following procedure to install the `kn` CLI by using the web con ---- $ tar -xf ---- + . 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 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: - -[source,terminal] ----- -$ kn: No such file or directory ----- - -==== diff --git a/modules/serverless-installing-cli-windows.adoc b/modules/serverless-installing-cli-windows.adoc index 7e49e184d7..db662437fc 100644 --- a/modules/serverless-installing-cli-windows.adoc +++ b/modules/serverless-installing-cli-windows.adoc @@ -6,13 +6,13 @@ [id="installing-cli-windows_{context}"] = Installing the Knative CLI for Windows -The `kn` CLI for Windows is provided as a zip archive. +If you are using Windows, you can install the Knative (`kn`) CLI as a binary file. To do this, you must download and unpack a ZIP archive and add the binary to a directory on your `PATH`. // no prereqs? .Procedure -. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-windows-amd64.zip[`kn` CLI]. +. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-windows-amd64.zip[Knative (`kn`) CLI ZIP archive]. . Extract the archive with a ZIP program. diff --git a/modules/serverless-kn-cli-plugins.adoc b/modules/serverless-kn-cli-plugins.adoc deleted file mode 100644 index b24fc38ace..0000000000 --- a/modules/serverless-kn-cli-plugins.adoc +++ /dev/null @@ -1,11 +0,0 @@ -// Module included in the following assemblies: -// -// * serverless/cli_tools/advanced-kn-config.adoc - -:_content-type: CONCEPT -[id="serverless-kn-plugins_{context}"] -= Knative CLI plug-ins - -The `kn` CLI supports the use of plug-ins, which enable you to extend the functionality of your `kn` installation by adding custom commands and other shared commands that are not part of the core distribution. `kn` CLI plug-ins are used in the same way as the main `kn` functionality. - -Currently, Red Hat supports the `kn-source-kafka` plug-in. diff --git a/modules/serverless-send-events-kn.adoc b/modules/serverless-send-events-kn.adoc index a2b57fb992..8413fa20f8 100644 --- a/modules/serverless-send-events-kn.adoc +++ b/modules/serverless-send-events-kn.adoc @@ -1,9 +1,13 @@ :_content-type: PROCEDURE [id="serverless-send-events-kn_{context}"] -= Sending events += Sending events by using the kn-event plug-in You can use the `kn event send` command to send an event. The events can be sent either to publicly available addresses or to addressable resources inside a cluster, such as Kubernetes services, as well as Knative services, brokers, and channels. The command uses the same builder-like interface as the `kn event build` command. +.Prerequisites + +* You have installed the Knative (`kn`) CLI. + .Procedure * Send an event: diff --git a/serverless/cli_tools/advanced-kn-config.adoc b/serverless/cli_tools/advanced-kn-config.adoc index e59ba1c89b..833f52670f 100644 --- a/serverless/cli_tools/advanced-kn-config.adoc +++ b/serverless/cli_tools/advanced-kn-config.adoc @@ -1,12 +1,38 @@ :_content-type: ASSEMBLY [id="advanced-kn-config"] -= Knative CLI advanced configuration += Configuring the Knative CLI :context: advanced-kn-config include::_attributes/common-attributes.adoc[] toc::[] -You can customize and extend the `kn` CLI by using advanced features, such as configuring a `config.yaml` file for `kn` or using plug-ins. +You can customize your Knative (`kn`) CLI setup by creating a `config.yaml` configuration file. You can provide this configuration by using the `--config` flag, otherwise the configuration is picked up from a default location. The default configuration location conforms to the https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html[XDG Base Directory Specification], and is different for UNIX systems and Windows systems. -include::modules/serverless-kn-config.adoc[leveloffset=+1] -include::modules/serverless-kn-cli-plugins.adoc[leveloffset=+1] +For UNIX systems: + +* If the `XDG_CONFIG_HOME` environment variable is set, the default configuration location that the Knative (`kn`) CLI looks for is `$XDG_CONFIG_HOME/kn`. + +* If the `XDG_CONFIG_HOME` environment variable is not set, the Knative (`kn`) CLI looks for the configuration in the home directory of the user at `$HOME/.config/kn/config.yaml`. + +For Windows systems, the default Knative (`kn`) CLI configuration location is `%APPDATA%\kn`. + +.Example configuration file +[source,yaml] +---- +plugins: + path-lookup: true <1> + directory: ~/.config/kn/plugins <2> +eventing: + sink-mappings: <3> + - prefix: svc <4> + group: core <5> + version: v1 <6> + resource: services <7> +---- +<1> Specifies whether the Knative (`kn`) CLI should look for plug-ins in the `PATH` environment variable. This is a boolean configuration option. The default value is `false`. +<2> Specifies the directory where the Knative (`kn`) CLI looks for plug-ins. The default path depends on the operating system, as described previously. This can be any directory that is visible to the user. +<3> The `sink-mappings` spec defines the Kubernetes addressable resource that is used when you use the `--sink` flag with a Knative (`kn`) CLI command. +<4> The prefix you want to use to describe your sink. `svc` for a service, `channel`, and `broker` are predefined prefixes for the Knative (`kn`) CLI. +<5> The API group of the Kubernetes resource. +<6> The version of the Kubernetes resource. +<7> The plural name of the Kubernetes resource type. For example, `services` or `brokers`. diff --git a/serverless/cli_tools/installing-kn.adoc b/serverless/cli_tools/installing-kn.adoc index fda3c1c4e0..8bb5786cb2 100644 --- a/serverless/cli_tools/installing-kn.adoc +++ b/serverless/cli_tools/installing-kn.adoc @@ -6,17 +6,15 @@ include::_attributes/common-attributes.adoc[] toc::[] -Installation options for the `oc` CLI may vary depending on your operating system. - -The Knative CLI (`kn`) does not have its own login mechanism. To log in to the cluster, you must install the `oc` CLI and use the `oc login` command. +The Knative (`kn`) CLI does not have its own login mechanism. To log in to the cluster, you must install the OpenShift (`oc`) CLI and use the `oc login` command. Installation options for the CLIs may vary depending on your operating system. ifdef::openshift-enterprise[] -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[OpenShift CLI getting started] documentation. +For more information on installing the OpenShift (`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[OpenShift CLI getting started] documentation. endif::[] // need to wait til CLI docs are added to OSD for this link to work // TODO: remove this conditional once this is available -{ServerlessProductName} cannot be installed using the `kn` CLI. A cluster administrator must install the {ServerlessOperatorName} and set up the Knative components, as described in the xref:../../serverless/install/install-serverless-operator.adoc#install-serverless-operator[Installing the {ServerlessOperatorName}] documentation. +{ServerlessProductName} cannot be installed using the Knative (`kn`) CLI. A cluster administrator must install the {ServerlessOperatorName} and set up the Knative components, as described in the xref:../../serverless/install/install-serverless-operator.adoc#install-serverless-operator[Installing the {ServerlessOperatorName}] documentation. [IMPORTANT] ==== @@ -26,9 +24,10 @@ For example, if you use the 1.16.0 release of the `kn` CLI, which uses version 0 Ensure that you are using the latest `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.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] diff --git a/serverless/reference/kn-eventing-ref.adoc b/serverless/cli_tools/kn-eventing-ref.adoc similarity index 79% rename from serverless/reference/kn-eventing-ref.adoc rename to serverless/cli_tools/kn-eventing-ref.adoc index d521a459a3..356479164c 100644 --- a/serverless/reference/kn-eventing-ref.adoc +++ b/serverless/cli_tools/kn-eventing-ref.adoc @@ -6,7 +6,7 @@ include::_attributes/common-attributes.adoc[] toc::[] -You can use the following `kn` CLI commands to complete Knative Eventing tasks on the cluster. +You can use the following Knative (`kn`) CLI commands to complete Knative Eventing tasks on the cluster. [id="kn-eventing-ref-kn-sources"] == kn source commands @@ -14,6 +14,7 @@ You can use the following `kn` CLI commands to complete Knative Eventing tasks o You can use the following commands to list, create, and manage Knative event sources. include::modules/serverless-list-source-types-kn.adoc[leveloffset=+2] +include::modules/specifying-sink-flag-kn.adoc[leveloffset=+2] include::modules/serverless-kn-containersource.adoc[leveloffset=+2] include::modules/apiserversource-kn.adoc[leveloffset=+2] include::modules/serverless-pingsource-kn.adoc[leveloffset=+2] diff --git a/serverless/reference/kn-func-ref.adoc b/serverless/cli_tools/kn-func-ref.adoc similarity index 100% rename from serverless/reference/kn-func-ref.adoc rename to serverless/cli_tools/kn-func-ref.adoc diff --git a/serverless/cli_tools/kn-plugins.adoc b/serverless/cli_tools/kn-plugins.adoc new file mode 100644 index 0000000000..f7f774a3fd --- /dev/null +++ b/serverless/cli_tools/kn-plugins.adoc @@ -0,0 +1,17 @@ +:_content-type: ASSEMBLY +[id="kn-plugins"] += Knative CLI plug-ins +include::_attributes/common-attributes.adoc[] +:context: kn-plugins + +toc::[] + +The Knative (`kn`) CLI supports the use of plug-ins, which enable you to extend the functionality of your `kn` installation by adding custom commands and other shared commands that are not part of the core distribution. Knative (`kn`) CLI plug-ins are used in the same way as the main `kn` functionality. + +Currently, Red Hat supports the `kn-source-kafka` plug-in and the `kn-event` plug-in. + +:FeatureName: The `kn-event` plug-in +include::snippets/technology-preview.adoc[leveloffset=+1] +// kn event commands +include::modules/serverless-build-events-kn.adoc[leveloffset=+1] +include::modules/serverless-send-events-kn.adoc[leveloffset=+1] diff --git a/serverless/reference/kn-serving-ref.adoc b/serverless/cli_tools/kn-serving-ref.adoc similarity index 100% rename from serverless/reference/kn-serving-ref.adoc rename to serverless/cli_tools/kn-serving-ref.adoc diff --git a/serverless/develop/serverless-applications.adoc b/serverless/develop/serverless-applications.adoc index 6beeaa29a9..93e9529733 100644 --- a/serverless/develop/serverless-applications.adoc +++ b/serverless/develop/serverless-applications.adoc @@ -66,5 +66,5 @@ include::modules/serverless-https-redirect-service.adoc[leveloffset=+1] [id="additional-resources_serverless-applications"] [role="_additional-resources"] == Additional resources -* xref:../../serverless/reference/kn-serving-ref.adoc#kn-serving-ref[Knative Serving CLI commands] +* xref:../../serverless/cli_tools/kn-serving-ref.adoc#kn-serving-ref[Knative Serving CLI commands] * xref:../../serverless/security/serverless-ossm-with-kourier-jwt.adoc#serverless-ossm-with-kourier-jwt[Configuring JSON Web Token authentication for Knative services] diff --git a/serverless/develop/serverless-event-sinks.adoc b/serverless/develop/serverless-event-sinks.adoc index 9feae4c81c..ed4f9ee39e 100644 --- a/serverless/develop/serverless-event-sinks.adoc +++ b/serverless/develop/serverless-event-sinks.adoc @@ -17,7 +17,7 @@ include::modules/specifying-sink-flag-kn.adoc[leveloffset=+1] [TIP] ==== -You can configure which CRs can be used with the `--sink` flag for `kn` CLI commands by xref:../../serverless/cli_tools/advanced-kn-config.adoc#serverless-kn-config_advanced-kn-config[Customizing `kn`]. +You can configure which CRs can be used with the `--sink` flag for `kn` CLI commands by xref:../../serverless/cli_tools/advanced-kn-config.adoc#advanced-kn-config[Customizing `kn`]. ==== // Connect sinks to sources in ODC diff --git a/serverless/reference/_attributes b/serverless/reference/_attributes deleted file mode 120000 index 20cc1dcb77..0000000000 --- a/serverless/reference/_attributes +++ /dev/null @@ -1 +0,0 @@ -../../_attributes/ \ No newline at end of file diff --git a/serverless/reference/images b/serverless/reference/images deleted file mode 120000 index 5e67573196..0000000000 --- a/serverless/reference/images +++ /dev/null @@ -1 +0,0 @@ -../images \ No newline at end of file diff --git a/serverless/reference/kn-event-ref.adoc b/serverless/reference/kn-event-ref.adoc deleted file mode 100644 index be689a556e..0000000000 --- a/serverless/reference/kn-event-ref.adoc +++ /dev/null @@ -1,14 +0,0 @@ -[id="kn-event-ref"] -= kn event -include::_attributes/common-attributes.adoc[] -:context: kn-event-ref - -toc::[] - -:FeatureName: The `kn event` plug-in -include::snippets/technology-preview.adoc[leveloffset=+2] - -You can use the `kn event` set of commands to manage cloud events from the command line. - -include::modules/serverless-build-events-kn.adoc[leveloffset=+1] -include::modules/serverless-send-events-kn.adoc[leveloffset=+1] diff --git a/serverless/reference/kn-flags-reference.adoc b/serverless/reference/kn-flags-reference.adoc deleted file mode 100644 index 9ed4f2952f..0000000000 --- a/serverless/reference/kn-flags-reference.adoc +++ /dev/null @@ -1,11 +0,0 @@ -:_content-type: ASSEMBLY -[id="kn-flags-reference"] -= Knative CLI flags -include::_attributes/common-attributes.adoc[] -:context: kn-flags-reference - -toc::[] - -This section provides information about additional, optional flags that you can use with `kn` commands. - -include::modules/specifying-sink-flag-kn.adoc[leveloffset=+1] diff --git a/serverless/reference/modules b/serverless/reference/modules deleted file mode 120000 index 464b823aca..0000000000 --- a/serverless/reference/modules +++ /dev/null @@ -1 +0,0 @@ -../modules \ No newline at end of file diff --git a/serverless/reference/snippets b/serverless/reference/snippets deleted file mode 120000 index 7bf6da9a51..0000000000 --- a/serverless/reference/snippets +++ /dev/null @@ -1 +0,0 @@ -../../snippets \ No newline at end of file diff --git a/serverless/serverless-getting-started.adoc b/serverless/serverless-getting-started.adoc deleted file mode 100644 index 242b8e22a9..0000000000 --- a/serverless/serverless-getting-started.adoc +++ /dev/null @@ -1,7 +0,0 @@ -:_content-type: ASSEMBLY -include::_attributes/common-attributes.adoc[] -[id="serverless-getting-started"] -= Getting started with {ServerlessProductName} -:context: serverless-getting-started - -toc::[]