kf

module
v0.0.0-...-8f52349 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2019 License: Apache-2.0

README

Kf

Build Status knative.slack.com

kf provides a cf-like experience on top of Knative.

kf aims to be fully compatible with CF applications and lifecycle. It supports logs, buildpacks, app manifests, routing, service brokers, and injected services.

At the same time, it aims to improve the operational experience by supporting git-ops, self-healing infrastructure, containers, a service mesh, autoscaling, scale-to-zero, improved quota management and does it all on Kubernetes using industry-standard OSS tools including Knative, Istio, and Tekton.

Getting started

Follow the install instructions to create a GKE cluster, install Kf into it, and deploy an app with the kf CLI.

How to build

Requirements:

  • Golang 1.12 (go mod is used and required for dependencies)

Building:

$ ./hack/build.sh

Notes:

  • The kf CLI must be built outside of the $GOPATH folder unless you explicitly use export GO111MODULE=on.

Development and releasing

We use ko for rapid development and during the release process to build a full set of kf images and installation YAML.

To update your cluster while developing run ko apply:

KO_DOCKER_REPO=gcr.io/my-repo ko apply -f config

This will build any images required by config/, upload them to the provided registry, and apply the resulting configuration to the current cluster.

Directories

Path Synopsis
cmd
kf
pkg
client/build/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/build/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/build/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/build/clientset/versioned/typed/build/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/build/clientset/versioned/typed/build/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/kf/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/kf/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/servicecatalog/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/servicecatalog/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/servicecatalog/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/servicecatalog/clientset/versioned/typed/servicecatalog/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/servicecatalog/clientset/versioned/typed/servicecatalog/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
kf
kf/algorithms
Package algorithms holds generic algorithms that are useful throughout the project.
Package algorithms holds generic algorithms that are useful throughout the project.
kf/apps
Package apps provides a cf compatible way of managing Knative Services as cf apps.
Package apps provides a cf compatible way of managing Knative Services as cf apps.
kf/apps/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/buildpacks/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/builds
Package builds is a client for consuming Knative build templates.
Package builds is a client for consuming Knative build templates.
kf/builds/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/cfutil
Package cfutil is for utilities around parsing and generating CF compatible things like application manifests and VCAP variables.
Package cfutil is for utilities around parsing and generating CF compatible things like application manifests and VCAP variables.
kf/cfutil/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/commands/spaces
Package spaces contains the kf sub-commands for manipulating spaces.
Package spaces contains the kf sub-commands for manipulating spaces.
kf/describe
Package describe contains describers similar to Kubectl's describe package.
Package describe contains describers similar to Kubectl's describe package.
kf/internal/tools/clientgen/gentest
Package gentest contains tests for the client generator.
Package gentest contains tests for the client generator.
kf/istio/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/logs/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/routeclaims
Package routeclaims provides a way of managing a v1alpha1.RouteClaim.
Package routeclaims provides a way of managing a v1alpha1.RouteClaim.
kf/routeclaims/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/routes
Package routes provides a way of managing a v1alpha1.Route.
Package routes provides a way of managing a v1alpha1.Route.
kf/routes/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/secrets/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/service-bindings/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/services/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/sources
Package sources provides access to the Kf build process.
Package sources provides access to the Kf build process.
kf/sources/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/spaces
Package spaces provides a cf compatible way of managing spaces in the cluster.
Package spaces provides a cf compatible way of managing spaces in the cluster.
kf/spaces/fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
kf/testutil
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
reconciler/app/resources
Package resources holds simple functions for synthesizing child resources from an App.
Package resources holds simple functions for synthesizing child resources from an App.
reconciler/route
Package route is a generated GoMock package.
Package route is a generated GoMock package.
reconciler/route/resources
Package resources holds simple functions for synthesizing child resources from a Route.
Package resources holds simple functions for synthesizing child resources from a Route.
reconciler/source/resources
Package resources holds simple functions for synthesizing child resources from a Source.
Package resources holds simple functions for synthesizing child resources from a Source.
reconciler/space/resources
Package resources holds simple functions for synthesizing child resources from a Space.
Package resources holds simple functions for synthesizing child resources from a Space.
system/testing
Package testing sets environment variables for server tests.
Package testing sets environment variables for server tests.
third_party

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL