0

I try to install OpenFaaS on OpenShift.

What I do :

In Openshift, I deploy this image and I create a route. But the route does not run... I try kubectl in pod terminal but command does not exist.

Any ideas?

Shawn C.
  • 6,446
  • 3
  • 34
  • 38
vodasan
  • 21
  • 7
  • `kubectl` should be available in your host, not in your pod. – ccshih Dec 23 '17 at 12:14
  • @vodasan You probably want to use oc client instead of kubectl: https://docs.openshift.org/latest/cli_reference/get_started_cli.html Could you share - the events `oc get events`, - the route details `oc get route -o yaml`. I guess you point the route to the service, so please also share details of the service: `oc get svc -o yaml`. Does the pod run? `oc get pod`. – Bartosz Bierkowski Dec 28 '17 at 22:52
  • To use OpenShift command line; You need to install oc cli and place it in your path. kubectl is used for Kubernetes and Minikube Try this for installation steps: https://blog.openshift.com/openfaas-on-openshift/ OC CLI Download try here: https://docs.openshift.com/container-platform/3.6/cli_reference/get_started_cli.html – Julie Greene Dec 18 '18 at 07:30

0 Answers0