- Register and log in to ICE Connect.
- Go to the ICE Connect Rancher web interface and choose Log In with Keycloak.
Click on the icekube cluster (left red circle), and open your project, here johank.
Click on Apps -> Launch, then follow the instructions for each app. When you launch an app you are required to create a Namespace.
Projects and namespaces
One project can contain many namespaces which are groups of apps, containers, volumes, and other resources.
When you create a namespace, you need to use your project name as a prefix.
You also have to set the namespace quotas. The sum of all namespace quotas cannot exceed the project quota.
- Must begin with the username, e.g. johank-mynamespace
- Can only contain alphanumerics and dashes -
- Cannot be empty
Your project is limited in computational resources and storage capacity, managed by Kubernetes Resource Quotas. You can view limits when clicking Add Namespace in Rancher.
If you launch multiple apps and use different namespaces for some, you may have to adjust their Resource Quotas.
CPU resources are measured in milli-CPUs, where for example
500m is one-half CPU core of reserved performance.
Some apps and charts do not define requests and limits for resource usage. In this case, you can set it using Container Default Resource Limit.
~/.kube/config YAML file tells local applications such as
kubectl and Visual Studio Code how to access the Kubernetes cluster
- In Rancher, click on Cluster Name
- Click on the Kubeconfig File button.
- Copy and paste the contents to
- Set permissions
chmod 600 ~/.kube/config
Connecting with SSH
Connect from a terminal with
Visual Studio Code
Visual Studio Code can be used for many of the same functions as Rancher
- Install Visual Studio Code Kubernetes Tools extension.
- You should see
icekubelisted among clusters. If not, Set Kubeconfig to
- Open Command Palette (Ctrl+Shift+P) and choose
Kubernetes: Use namespace.
This will give you among other things
- Log, debug, delete containers, and view the YAML specification.
- Read Secrets and Config Maps.
- Native Terminal for container shell access.
- Attach Visual Studio Code to a Kubernetes container.
Connect to containers over SSH NodePort using the Visual Studio Code extension Remote - SSH, to develop and compile code directly inside a container.
Open the Command Palette (Ctrl+Shift+P) and choose
Remote SSH: Connect to Host... then e.g.