Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the consultup domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/portal/wp-includes/functions.php on line 6121
Deploying to Kubernetes Cluster – University of Highlands and Islands

Deploying to Kubernetes Cluster

You are here:
< All Topics

If you are having trouble connecting to a kubernetes cluster check the following:

1. Check you have the Container Registry plugin installed
ibmcloud plugin update container-registry
2. Check you are logged in under the Container Registry. You need to be logged in both with the cloud service (ibmcloud login) AND the Container Registry login.
ibmcloud cr login
3. Check you have a namespace created with only numbers, characters and underscores.
ibmcloud cr namespace-list
To add a new namespace add:
ibmcloud cr namespace-add testmoray
4. Check you have updated the cli-config.yaml file with the information suggested by https://cloud.ibm.com/docs/cli?topic=cloud-cli-idt-cli under “Deploying to IBM Cloud Kubernetes Service”.
Below is a working configuration, where mycluster is the name of the kubernetes cluster you have created.
chart-path: "chart/myapp"
deploy-target: "container"
deploy-image-target: "uk.icr.io//myapp"
ibm-cluster: "mycluster"

Leave a Reply

Table of Contents