mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Update readme
This commit is contained in:
3
hack/krmFunctionBenchmark/.gitignore
vendored
Normal file
3
hack/krmFunctionBenchmark/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
example_tshirt/execfn/tshirt
|
||||||
@@ -16,4 +16,13 @@ The script will build the exec version of function via container and then run 10
|
|||||||
```bash
|
```bash
|
||||||
./cleanup.sh
|
./cleanup.sh
|
||||||
```
|
```
|
||||||
Will remove the built exec version of the function. Add flag `--image` to remove the images that used to build exec function.
|
Will remove the built exec version of the function. Add flag `--image` to remove the images that used to build exec function.
|
||||||
|
|
||||||
|
## Functions in the benchmark
|
||||||
|
|
||||||
|
Two functions are used:
|
||||||
|
|
||||||
|
- `gcr.io/kustomize-functions/example-tshirt` ([link](https://github.com/kubernetes-sigs/kustomize/blob/master/functions/examples/injection-tshirt-sizes/image/main.go))
|
||||||
|
- `gcr.io/kpt-functions/label-namespace` ([link](https://github.com/GoogleContainerTools/kpt-functions-sdk/blob/master/ts/hello-world/src/label_namespace.ts))
|
||||||
|
|
||||||
|
`example-tshirt` is a Go function. `label-namespace` is a JS function. Both of them are used as transformers.
|
||||||
Reference in New Issue
Block a user