--- apiVersion: v1 kind: List items: - apiVersion: v1 kind: ConfigMap metadata: labels: funktion.fabric8.io/kind: Runtime provider: fabric8 project: funktion-runtimes version: 1.1.31 group: io.fabric8.funktion name: nodejs data: deployment: | metadata: annotations: fabric8.io/iconUrl: "https://github.com/fabric8io/funktion/raw/master/docs/images/icon.png" labels: kind: function name: hello spec: replicas: 1 template: metadata: labels: kind: function name: hello spec: terminationGracePeriodSeconds: 1 containers: - image: funktion/funktion-nodejs-runtime:1.0.2 name: connector imagePullPolicy: IfNotPresent volumeMounts: - name: source readOnly: true mountPath: /funktion livenessProbe: httpGet: path: "/healthz" port: 8888 initialDelaySeconds: 30 readinessProbe: httpGet: path: "/healthz" port: 8888 initialDelaySeconds: 2 volumes: - name: source configMap: name: hello items: - key: source path: source.js service: | metadata: annotations: fabric8.io/iconUrl: "https://github.com/fabric8io/funktion/raw/master/docs/images/icon.png" spec: ports: - port: 80 targetPort: 8888