You need to enable JavaScript to run this app.
K
Q
What is the CLI equivalent of "exposing an API" in the Kyma console
9/19/2018
kubectl expose
doesn't work here
how to do it with CLI
In Console UI functionality is located in
https://console.kyma.local/home/environments/stage/apis
-- Lukasz Gornicki
kubernetes
kyma
Similar Questions
Hostname verification failed in OpenShift when integration a external service using an External Domain Name
GoogleCloud Kubernetes node cannot connect to Redis Memorystore possibly due to overlap in IP ranges
Does kubectl exec bypass the container's defined entrypoint?
Minikube cluster not responding
1 Answer
9/19/2018
API exposure to internet is realized through special "API Gateway" component. You can read about its architecture and usage here
https://kyma-project.io/docs/latest/components/api-gateway
Exposure through Console UI
https://console.kyma.local/home/environments/stage/apis
is realized by actually creating Api CRD
CLI equivalent is simple
kubectl apply {yaml_file}
. Description of all the fields of Api CRD and an example can be found here
https://kyma-project.io/docs/latest/components/api-gateway#custom-resource-custom-resource
-- Lukasz Gornicki
Source: StackOverflow