mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-29 09:40:49 +00:00
Add benchmark for containerized KRM function in kustomize
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
app: nginx
|
||||
annotations:
|
||||
tshirt-size: small # this injects the resource reservations
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
@@ -0,0 +1,4 @@
|
||||
resources:
|
||||
- data.yaml
|
||||
transformers:
|
||||
- transf.yaml
|
||||
@@ -0,0 +1,8 @@
|
||||
apiVersion: examples.config.kubernetes.io/v1beta1
|
||||
kind: tshirt
|
||||
metadata:
|
||||
name: tshirt
|
||||
annotations:
|
||||
config.kubernetes.io/function: |-
|
||||
container:
|
||||
image: gcr.io/kustomize-functions/example-tshirt:v0.2.0
|
||||
Reference in New Issue
Block a user