fx
fx copied to clipboard
Enable ingress
Trying following config on GKE, but no lucky.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: simple-fanout-example
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: gke.iiiii.li
http:
paths:
- path: /hello
backend:
serviceName: hellojs
servicePort: 80
NODE_TYPE=NodePort KUBECONFIG=~/.kube/config fx up examples/functions/JavaScript/func.js
kubectl apply -f ingres.yml