I have uploaded a simple Rest API application in Openshift (starter program).
I have also an STM32 based hardware running Lwip (TCP/IP) protocol and my goal is to connect it to the above openshift app.
LWIP uses a function (tcp_connect) which uses the external ip of the app.
However I am struggling to understand and find the external IP of the openshift service running in a pod
Any suggestions?
Related
I'm trying to deploy a backend rest api on GCP built using Spring Boot. I start VM instance and install MySQL and connect to Spring app there, exporting network to port 8080 and I can access globally. The problem is, it can only be accessed by HTTP, not HTTPS. I read some articles to use App Engine and Cloud SQL but I have no idea how to connect to MySQL that I previously installed in that VM instance. I'm a student so I need to find the cheapest way to do it, can anyone help?
I have spring boot admin server deployed in openshift with the help of fabric8 maven plugin
And also i have several applications deployed in openshift.
Spring boot admin server (SBAS) use spring cloud kubernetes discovery to discover services (applications) registered / running in namespace / cluster, which is automatic client discovery.
SBAS discovered as expected, its fine but some applications shown / registered in SBAS use http and some use https to check the health as like below
I have no idea, why SBAS use http for some apps and for https for some apps to check the health.
Since SBAS use https and port 8443 it shows applications are offline but those applications are exposed in http 8080 only
I have compared applications code and openshift configurations but i don't see any difference and how to fix this issue.
I am new to all above concepts could some one help me ?
I didn't find solution for this issue, but i did work around which helped me.
Since i am using only one port 8080, i have deleted other ports such as 8443 and 8778 via openshif yml as shown below. but you have you have to expose more ports this won't help.
I'm deploying WSO2 API manager 2.6.0 with an external MySQL database and I'm trying to have my API's persist when I change my deployment.
Currently I have 2 deployments using the same external database, one local and the other hosted on an AWS EKS cluster. When I create an API on my local deployment, I can only view it on my AWS deployment if I'm logged in to the store, and visa-versa for my localhost deployment.
The expected and desired behaviour is that all APIs created on both deployments should be displayed on the store no matter if I'm logged in or not, is there any configurations I can change to make the happen?
Here is the doc I used to configure the external database: https://docs.wso2.com/display/AM260/Installing+and+Configuring+the+Databases
Authored web api service hosted in service fabric.
Navigated successfully to the service endpoint (on my machine) with
following url: http://localhost:2500/days/v1.0/ (i.e. I can see the response).
Next created a UNSECURED service fabric cluster in the azure.
Published my local fabric app to azure through visual studio.
Successfully navigated to fabric explorer in the azure with url: http://xyz1234fake.westus.cloudapp.azure.com:19080/Explorer
When looked at my service instance in explorer, it shows the url as http://10.0.0.5:2500/days/v1.0/
In the browser, replaced the above local azure ip address with azure service cluster. For example: changed the url from http://10.0.0.5:2500/days/v1.0/ to http://xyz1234fake.westus.cloudapp.azure.com:2500/days/v1.0/
Was not able to navigate to above url.
What am I doing wrong? Where should I look for troubleshooting?
19000 and 19080 are reserved for communication to the cluster itself (19080 for the Explorer). You need to set up a new load balancer rule/probe for your application. You can do this in the Azure Portal under "Load Balancer".
You need to open that port on the cluster. 19080 is open by default for non SSL connections, so if you just switch to that it'd work. Be careful not to use a port reserved for your services.
This is similar
We have a legacy application running in a shared hosting service (JustHost). Due to which I am not able to write any newer technology apps easily.
I have created a test heroku app to talk to the MySQL database that is in the remote server. I have followed the steps from the Heroku side, with respect to adding the remote db url, etc.
But my hosting service allows remote access only from whitelisted IP address (as it should). How does one get a public IP (or IP range) for a Heroku app?
You can try some sort of proxy node with a static IP that securely communicates to your Heroku app
Did you try to search heroku addons for providing static IP? or try this one https://devcenter.heroku.com/articles/quotaguardstatic