-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathmanifests.yaml
More file actions
45 lines (45 loc) · 1.12 KB
/
manifests.yaml
File metadata and controls
45 lines (45 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: compute.functionmesh.io/v1alpha1
kind: Function
metadata:
name: node-function-excla-generic-sample
namespace: default
spec:
className: exclamation
forwardSourceMessageProperty: true
maxPendingAsyncRequests: 1000
replicas: 1
input:
topics:
- persistent://public/default/node-generic-excla-input
typeClassName: string
output:
topic: persistent://public/default/node-generic-excla-output
typeClassName: string
resources:
requests:
cpu: 500m
memory: 0.5G
limits:
cpu: 500m
memory: 0.5G
pulsar:
pulsarConfig: "test-node-pulsar"
tlsConfig:
enabled: false
allowInsecure: true
hostnameVerification: true
genericRuntime:
functionFile: exclamation.js
functionFileLocation: function://public/default/test-node-function
language: nodejs
logLevel: warn
clusterName: test
autoAck: true
---
apiVersion: v1
kind: ConfigMap
metadata:
name: test-node-pulsar
data:
webServiceURL: http://sn-platform-pulsar-broker.default.svc.cluster.local:8080
brokerServiceURL: pulsar://sn-platform-pulsar-broker.default.svc.cluster.local:6650