• Stars
    star
    348
  • Rank 121,840 (Top 3 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Knative developer experience, docs, reference Knative CLI implementation

Kn

go.dev reference Go Report Card Releases LICENSE Slack Status codecov

The Knative client kn is your door to the Knative world. It allows you to create Knative resources interactively from the command line or from within scripts.

kn offers you:

  • Full support for managing all features of Knative Serving (services, revisions, traffic splits)
  • Growing support for Knative eventing, closely following its development (managing of sources & triggers)
  • A plugin architecture similar to that of kubectl plugins
  • A thin client-specific API in golang which helps with tasks like synchronously waiting on Knative service write operations.
  • An easy integration of Knative into Tekton Pipelines by using kn in a Tekton Task.

This client uses the Knative Serving and Knative Eventing APIs exclusively so that it will work with any Knative installation, even those that are not Kubernetes based. It does not help with installing Knative itself though. Please refer to the various Knative installation options for how to install Knative with its prerequisites.

Documentation

Refer to the user's guide to learn more. You can read about common use cases, get detailed documentation on each command, and learn how to extend the kn CLI.

Following are some useful resources for getting-started using kn CLI:

Additionally you can visit knative.dev for more examples.

Developers

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md.

More Repositories

1

serving

Kubernetes-based, scale-to-zero, request-driven compute
Go
5,509
star
2

docs

User documentation for Knative components.
JavaScript
4,479
star
3

eventing

Event-driven application platform for Kubernetes
Go
1,403
star
4

build

A Kubernetes-native Build resource.
Go
575
star
5

func

Knative Functions client API and CLI
Go
271
star
6

pkg

Knative common packages
Go
256
star
7

community

Knative governance and community material.
Go
245
star
8

eventing-contrib

Event Sources
Go
224
star
9

build-templates

A library of build templates.
Shell
184
star
10

operator

Combined operator for Knative.
Go
181
star
11

test-infra

Test infrastructure for the Knative project
Go
82
star
12

networking

Go
67
star
13

serving-operator

DEPRECATED: Development continues in https://github.com/knative/operator/
Go
39
star
14

caching

Knative API definition for caching abstractions.
Go
38
star
15

specs

Knative specs and conformance tests
Shell
32
star
16

observability

The controllers and config for custom resources pertaining to egressing logs and metrics.
Go
26
star
17

website

Hugo templates for the Knative website.
HTML
23
star
18

eventing-operator

DEPRECATED: Development continues in https://github.com/knative/operator/
Go
20
star
19

hack

Knative common scripts.
Shell
16
star
20

ux

UX WG repository for assets and stories
11
star
21

actions

11
star
22

homebrew-client

Ruby
10
star
23

client-contrib

Community contributed `kn` plugins.
Go
10
star
24

infra

Home of Infra (Productivity) that hosts configs for prow and other infrastructure related things.
Jsonnet
8
star
25

release

Knative release docs & scripts
Shell
7
star
26

.github

Repository for sharing org-wide Github metadata and workflow templates.
6
star
27

toolbox

Toolbox: tools used in Knative project
Go
5
star
28

client-pkg

Reusable Knative client library
Go
3
star
29

.allstar

1
star
30

.artifacthub

Repository for sharing Knative resources to ArtifactHub
Shell
1
star