Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
update yaml output of CRD functions.kubeless.io (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
donhui authored Sep 29, 2020
1 parent 25d6376 commit 3320e4a
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,22 @@ When you install kubeless, there is a CRD `functions.kubeless.io` created to rep

```yaml
$ kubectl get customresourcedefinition functions.kubeless.io -o yaml
apiVersion: v1
items:
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
...
name: functions.kubeless.io
...
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/functions.kubeless.io
spec:
group: kubeless.io
names:
kind: Function
listKind: FunctionList
plural: functions
singular: function
scope: Namespaced
version: v1beta1
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
...
name: functions.kubeless.io
...
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/functions.kubeless.io
spec:
group: kubeless.io
names:
kind: Function
listKind: FunctionList
plural: functions
singular: function
scope: Namespaced
version: v1beta1
```
Then function custom objects will be created under this CRD endpoint. A function object looks like this:
Expand Down

0 comments on commit 3320e4a

Please sign in to comment.