-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Admin overview doc #6412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin overview doc #6412
Changes from 24 commits
616d748
0dd8ca6
07f0603
d4520ee
7a6e659
9ae7119
98305ae
27f6603
7ea43dd
e5f2397
24a8160
ff0aee6
f10feed
4eb34b8
bd968dd
718c280
94ca152
36d81c2
01bcffb
d925a17
b8a76ea
8dc7ca6
cbce6fb
6fea983
6ce725f
221b573
0f4d62f
31d22c4
82445f0
0683ac0
5abf3b5
f5471d8
7bf0355
58c26ea
9c622bb
6034fe6
0051916
2d969a0
01dcd5e
794f8fa
b28fa41
ec47c75
ebda591
1d9250d
322c66d
eea866f
e3ef406
cbfcce6
af71cd0
596bab7
aa154d0
c608e5a
bbb6829
1e41e00
e129a69
a39a442
d0c2a87
431fcf8
9f251eb
d266c9f
58deddc
3d2afae
0cf79c7
7fce951
52921ba
41227bb
5511678
63dd0ee
20b6e2c
266a627
42c61a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,130 @@ | ||||||
| --- | ||||||
| audience: administrator | ||||||
| components: | ||||||
| - serving | ||||||
| - eventing | ||||||
| function: reference | ||||||
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| --- | ||||||
| # Overview | ||||||
|
|
||||||
| This page provides guidance for administrators on how to install and manage Knative on an existing Kubernetes cluster, and assumes you have familiarity the following: | ||||||
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| - Kubernetes and Kubernetes administration. | ||||||
| - The `kubectl`CLI tool. You can use existing Kubernetes management tools (policy, quota, etc) to manage Knative workloads. | ||||||
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| - The Cloud Native Computing Foundation (CNCF) for which Knative is one of its projects, along with Kubernetes, Prometheus, and Istio. | ||||||
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| Additionally, you should have cluster-admin permissions or equivalent to to install software and manage resources in all clusters in the namespace. | ||||||
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| To simplify Knative installation and administration, you can use the Knative operator and the Knative CLI tool, but they are not required. | ||||||
|
|
||||||
| Essentially, Knative aims to extend Kubernetes, and build on existing capabilities where feasible. It has two main underlying components that support plugging in multiple underlying transports within the same cluster: | ||||||
evankanderson marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| - Serving: Pods and pluggable network ingress routes. | ||||||
| - Eventing: Pods and pluggable message transports (e.g. Kafka, RabbitMQ) | ||||||
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| Knative has default lightweight implementations if you don't already have a solution. | ||||||
|
||||||
| Knative has default lightweight implementations if you don't already have a solution. | |
| Knative has a default lightweight messaging implementation if you don't already have a solution. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like we need a transition sentence that explains something about managing the lifecycle of Knative, or maybe:
As a cluster administrator, you should not need to directly manage applications and their supporting network and messaging resources on a day-to-day basis; Knative enabled application developers to manage their own functions and configure networking and message infrastructure within the bounds of their own namespace. Cluster administrators are needed for the following operations:
- Installing and upgrading the Knative components on the cluster
- Creating Kubernetes namespaces for development teams, and managing controls on these namespaces
- Configuring Knative and supporting infrastructure like message brokers and DNS
- Securing the underlying Kubernetes cluster and Knative installation
The administration documentation is intended to help you accomplish these tasks.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| You install Knative using YAML files and other resources either aided or not by the Knative Operator. The Knative Operator is a custom controller that extends the Kubernetes API to install Knative components. It allows you to automate applying the content, along with patching the contents to customize them. You install the Knative Operator either by using the Knative CLI Operator Plugin or by using KS8 Manifests or by Yelm. | |
| You install Knative using YAML files and other resources either aided or not by the Knative Operator. The Knative Operator is a custom controller that extends the Kubernetes API to install Knative components. It enables you to automate applying the content and patching the contents to customize them. You install the Knative Operator either by using the Knative CLI Operator Plugin, or by using KS8 Manifests or Yelm. |
evankanderson marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | YAML-based install | Knative Operator install| | |
| | YAML installation | Knative Operator | |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This last one isn't quite right -- the KnativeServing and KnativeEventing resources could be stored under version control, and a YAML installation doesn't have to be stored in GitHub. (In fact, I'd probably suggest storing things in a git repository either way.) What about the following:
| | Version and audit control as YAML files are stored in a GitHub repository.| No version or audit control. | | |
| | Track and manage changes using existing YAML tooling. | Manage changes using Kubernetes resources. | |
evankanderson marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| This is the easiest install option and suitable for using if customization is not a concern. | |
| This is the easiest install option, suitable if customization is not a concern. |
evankanderson marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This table is kind of weird, particularly since the previous table was column-major, but this one is row-major.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd probably drop this table, though the other table seemed informative.
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence is weird and not technically correct. Folks should not be modifying the CRDs (which define the shapes of Knative resources), but should instead be editing the ConfigMaps in the controller namespace. ConfigMap is a native Kubernetes type, which is basically a map from string-to-string.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewrite this. The construction ("using X using Y using Z") is awkward and confusing.
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The following table lists the names of CRDs (metadata name) for the Serving and Eventing components. They are defined by `eventing-crds.yaml` and `serving-crds.yaml` in the [Knative Eventing installation files](/install/yaml-install/eventing/eventing-installation-files.md) and [Knative Serving installation Files](/install/yaml-install/serving/serving-installation-files.md), respectively. | |
| The following table lists the metadata names of CRDs for the Serving and Eventing components defined by `eventing-crds.yaml` and `serving-crds.yaml` in the [Knative Eventing installation files](/install/yaml-install/eventing/eventing-installation-files.md) and [Knative Serving installation Files](/install/yaml-install/serving/serving-installation-files.md), respectively. |
iRaindrop marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
evankanderson marked this conversation as resolved.
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| You can also install these plugins service to extend Knative capabilities for service meshes: | |
| You can install these plugins service to extend Knative capabilities for service meshes: |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definition list?
Uh oh!
There was an error while loading. Please reload this page.