Comments (8)
Registering for a Pay-as-you-go account got me $200 credit within the first 30 days. Should be plenty, with network traffic being the only paid service I'm planning to make use of. 30 days suffice to figure out how to run the server in Cloud, but the student sessions will be afterwards. We'll see.
from pityoulish.
I'm installing the IBM Cloud developer tools locally for trying out.
Eventually, I'd like to have GitHub workflows (actions) for deploying.
grrr They're installing docker
, while I'm using podman
. Tough luck.
from pityoulish.
The images I build on my workstation with podman
are not visible to docker
and vice versa.
Setting up a GitHub workflow to push an image into IBM Cloud Registry will be a priority.
Maybe afterwards, I can get rid of the container-registry plugin and docker on my workstation again.
from pityoulish.
Here's how to authenticate against the IBM Cloud Container Registry for pushing images:
https://cloud.ibm.com/docs/Registry?topic=Registry-registry_access#registry_access_apikey_auth_other
The trick is to use "iamapikey" as the user name.
I should be able to push directly with podman
from my workstation, or promote images from GitHub to IBM Cloud with skopeo
in a GitHub workflow.
from pityoulish.
Pushing from my workstation works on the second attempt. It's "iamapikey", not "ibmapikey" ;-)
from pityoulish.
I got the pod running, and could connect to the Socket server port.
The Java RMI exercise requires some more effort. The ports in the container must be the same as those outside. And the external IP address of the worker node needs to be passed as hostname to Java RMI. That's because the internal port number and provided hostname appears in the stubs that Java RMI returns.
from pityoulish.
I've made the server ports and hostname configurable through environment variables.
But somehow, I cannot get the port mapping to work - not even for the Socket server port anymore.
Getting tired now... will try another day.
from pityoulish.
Duh... it works better when I use the external IP address of the worker node.
kubectl describe nodes | grep IP
InternalIP: 10.x.y.z
ExternalIP: 184.x.y.z
Got it working now for both Sockets and Java RMI. Still have to write it down though.
from pityoulish.
Related Issues (20)
- Thread safety for MessageBoard implementations HOT 1
- Push image to public GitHub Container Registry HOT 2
- About deleting container images... HOT 2
- Feedback: Tutorial 2020
- Feedback: Sockets 2020
- Disable Client IP check when running in the Cloud HOT 2
- Upgrade Actions to use environment files HOT 1
- Feedback: Java RMI 2020
- Migrate Travis CI HOT 2
- Transfer repository to the "pityoulish" organization HOT 2
- Feedback: Sockets 2019
- Less logging output for Follow-the-Board connections HOT 4
- Sockets: detect response from HTTP server
- Feedback: Java RMI 2019
- Java RMI: prevent multiple tickets for same client HOT 2
- Fix JavaDoc warnings HOT 2
- Java RMI: split off the Direct Messages part
- Build: Travis integration is broken HOT 4
- Take the exercises online HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pityoulish.