Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get you started, there is a few public Container Templates available in our cloud. These are verified working by us.

NameOSMaster flavorNode flavor
kubernetes-templateFedora AtomicHost 29m1.smallt1.large
kubernetes-template-haFedora AtomicHost 29

docker-swarm-templateFedora AtomicHost 29

docker-swarm-template-haFedora AtomicHost 29

For more information, all templates can be listed with

Code Block
$ openstack coe cluster template list
# And then
$ openstack coe cluster template show <id|name>
# To view details

Private templates can be created by users

Create a cluster

TBA

Use a cluster

Docker Swarm

TBA

Kubernetes

You can interact with your kubernetes cluster with kubectl. Install it first, if you don't already have it. FINN EN LINK HER KANSKJE

Source your cluster config:

Code Block
$ mkdir -p ~/clusters/kubernetes-cluster
$ $(openstack coe cluster config kubernetes-cluster --dir ~/clusters/kubernetes-cluster)

That should just work, and you can run kubectl commands as you please.


Our public kubernetes template has a keystone auth module enabled by default. That makes it possible to interact with your newly created cluster via the environment variables from your opencrc file. If you want that, configure kubectl to use openstack auth as follows:

Code Block
$ kubectl config set-credentials openstackuser --auth-provider=openstack
$ kubectl config set-context --cluster=<yourclustername> --user=openstackuser openstackuser@<yourclustername>
$ kubectl config use-context openstackuser@<yourclustername>