Quick Start

Containers are stateless. ALL your data WILL BE GONE FOREVER when container restarts, unless you store it in a persistent volume.

Container restart is a normal thing in k8s cluster. Expect it.

Whatever you do, NEVER FORCE DELETE PODS

  1. Install the kubectl tool
  2. Login to PRP Nautilus portal and click the Get Config link on top right corner of the page to get your configuration file. Make sure you use the same provider and account you used to login to the portal!
  3. Save the file as config and put the file in your /.kube folder. This folder may not exists on your machine, to create it execute:
      mkdir ~/.kube
    
  4. Any cluster admin can promote you to admin (ask in rocketchat, provide your affiliation and short project description), or any admin can promote you to user by adding to one of namespaces (contact the admin directly). Make sure you are promoted from guest to user (by joining an existing namespace) or to admin by getting a confirmation from either admin or cluster admin.

  5. If you’ve become an admin, you can start creating your own namespaces at this time by going to the Namespaces section in the portal. Also you can add other users, even new ones, on the same page after they’ve logged in to the portal. If you’re joining an existing namespace as a user, make sure your namespace’s admin added you to it. To verify it go to Namespaces link (while logged on the portal).

  6. Test kubectl can connect to the cluster using a command line tool:
    kubectl get pods -n your_namespace
    

    It’s possible there are no pods in your namespace yet. If you’ve got No resources found., this indicates your namespace is empty and you can start running in it.

  7. To learn more about kubernetes you can look at our tutorial.

These resources might be helpful:

Please note that not all examples will work in our cluster because of security policies. You are limited to see what’s happening in your own namespace, and nobody else can see your running pods.

  1. MANDATORY: read the Policies page

  2. Proceed to creating your first ML job in kubernetes

Guided kubernetes meditation