You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2018/10/22 22:07:55 UTC

[GitHub] kasun04 opened a new issue #189: Creating Ingress and services with Kubernetes

kasun04 opened a new issue #189: Creating Ingress and services with Kubernetes 
URL: https://github.com/apache/camel-k/issues/189
 
 
   Hi @nicolaferraro ,
   I'm running Kamel on Docker for Mac + Kubernetes. 
   
   I've deployed a sample integration examples/routes-rest.js and was expecting it to create svc, ingress etc so that I can invoke my RESTful service.  (As you mentioned in : "So, for example, if you define a REST endpoint using the Camel REST DSL, the operator will make sure that your integration is exposed to the outside and it will create a Service and a Route on OpenShift to expose it, or a Ingress on vanilla Kubernetes." [1] ) 
   
   However, I don't see that the Kamel operator create svc or ingress.
   Do I have to manually create ingress, service etc for that? Here are the pod and svc information. 
   
   kubectl get pods
   NAME                                READY     STATUS    RESTARTS   AGE
   camel-k-operator-64c5686848-4zkzt   1/1       Running   0          2h
   
   ./kamel get
   NAME		CONTEXT	STATUS
   routes
   routes-rest
   
   kubectl get svc
   NAME               TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)     AGE
   camel-k-operator   ClusterIP   10.97.6.139   <none>        60000/TCP   2h
   kubernetes         ClusterIP   10.96.0.1     <none>        443/TCP     3h
   
   [1] https://www.nicolaferraro.me/2018/10/15/introducing-camel-k/ 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services