fission: Fatal error: Error getting controller pod for port-forwarding
Hi I just installed Fission on my Ubuntu/Microk8s server. Everthing seems to have worked so far, however when I try to add the NodeJS env using this:
fission env create --name fission --image fission/node-env:1.1.0
I’m getting a fatal error:
Fatal error: Error getting controller pod for port-forwarding
Here’s how my cluster looks:
kubectl -n fission get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
controller NodePort 10.152.183.162 <none> 80:31313/TCP 78m
executor ClusterIP 10.152.183.166 <none> 80/TCP 78m
fission-prometheus-alertmanager ClusterIP 10.152.183.99 <none> 80/TCP 78m
fission-prometheus-kube-state-metrics ClusterIP None <none> 80/TCP 78m
fission-prometheus-node-exporter ClusterIP None <none> 9100/TCP 78m
fission-prometheus-pushgateway ClusterIP 10.152.183.7 <none> 9091/TCP 78m
fission-prometheus-server ClusterIP 10.152.183.218 <none> 80/TCP 78m
influxdb ClusterIP 10.152.183.53 <none> 8086/TCP 78m
nats-streaming NodePort 10.152.183.152 <none> 4222:31316/TCP 78m
redis ClusterIP 10.152.183.184 <none> 6379/TCP 78m
router NodePort 10.152.183.66 <none> 80:31314/TCP 78m
storagesvc ClusterIP 10.152.183.45 <none> 80/TCP 78m
kubectl -n fission get svc router -o yaml
apiVersion: v1
kind: Service
metadata:
creationTimestamp: "2019-03-28T21:43:02Z"
labels:
application: fission-router
chart: fission-all-1.1.0
svc: router
name: router
namespace: fission
resourceVersion: "1178"
selfLink: /api/v1/namespaces/fission/services/router
uid: 76767082-51a2-11e9-9be7-000c29c78cd8
spec:
clusterIP: 10.152.183.66
externalTrafficPolicy: Cluster
ports:
- nodePort: 31314
port: 80
protocol: TCP
targetPort: 8888
selector:
svc: router
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}
kubectl -n fission get svc router -o jsonpath='{...nodePort}'
31314
Any guidance would be much appreciated.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (6 by maintainers)
Sounds good @rcmorano