Manage your Kubernetes cluster in Codefresh
Explore your services on Kubernetes Cluster
After adding a cluster, you’ll be able to manage your Kubernetes assets via the Kubernetes tab on the left pane. Clicking on Kubernetes icon will take you to your services dashboard.
Access your clusters
Watch the services currently running on your clusters. You can use the filter in order to refine your view according to preferred clusters / namespaces.
You will be able to see the following parameters for each service:
Work with your services
In this view, you will be able to perform the following actions
- Add new service
- Edit/Update existing services
- Remove service
Deploy new service
To add a service, click the “Add Service” button. Insert basic definitions for your new Service
Select your image
You can add images built in Codefresh which were pushed to Codefresh registry, or provide a name for Docker image that will be pulled from external Docker registry.
Use the following steps in order to add Image and pull secrets from Codefresh Registry:
- Specify the image name in the format
- Provide image pull secret - this shall be done for each namespace
Set Environment variables
Set required resources for your service (optional) - CPU, Memory
To add service using K8 yaml file:
Toggle the Deployment option button to the “Advanced” position (different naming in composition, not consistent) Copy and paste your existing K8 yaml files:
Congratulations! Your service is now deployed to your K8 cluster!
You can update it from your Kubernetes services window - Just hit the “edit” icon and update your service using the same steps as in “Add new service” section.
Automate your deployment
After your service is deployed to your Kubernetes cluster, you can automate image deployment using Codefresh pipelines.
Just add the following to your pipeline definition:
- In build step - define Docker registry to push
- Select Kubernetes (Beta) option in the deployment step drop down, and define desired cluster, namespace, service and branches for deployment.
Adding step to Codefresh yaml
See detailed explanation here
Click here to see an example of deploying our Demochat app to Kubernetes cluster.
Please note that this is a beta version of the Codefresh GKE integration which is still undergoing final testing before its official release. The website, its software and all content found on it are provided on an “as is” and “as available” basis. Codefresh does not give any warranties, whether express or implied, as to the suitability or usability of the website, its software or any of its content.
Codefresh will not be liable for any loss, whether such loss is direct, indirect, special or consequential, suffered by any party as a result of their use of the Codefresh website, its software or content.
Should you encounter any bugs, glitches, lack of functionality or other problems on the website, please let us know immediately so we can rectify these accordingly. please contact us on email: firstname.lastname@example.org
Your help in this regard is greatly appreciated.