Space Cloud lets you leverage all the capabilities of Kubernetes without having to learn the Kubernetes API.
If you don’t already have a docker container published for your code/service, then you should check out deploying your code.
Checkout to the
Deployments section in the
Microservices navigation. Click on the
Add button to open the following form to create a service:
Enter the following config:
v1) to identify the different versions of your service.
Deploy button to deploy the service.
We haven’t changed any of the advanced configurations in this example. Feel free to explore those as well.
Space Cloud will now pull the docker image (if it was not cached earlier) and run the docker container with the specified ports being exposed.
You can deploy containers from any docker registry as long as it is accessible to Space Cloud.
Space Cloud also creates an internal domain to access the service from within the cluster. This internal domain is of the following format:
Assuming your project id is
myproject, and you haved named your service as
myapp, then the the internal domain will be:
Under the hood Space Cloud also configures Istio and setups up mtls, authentication policies and more to secure your deployments by default.