On your Account settings, go to Integration tab and Enable your integration with Google cloud.
You will be redirected to google and will be asked to enter your google account credentials.
If you would like to switch google account, you can remove this integration from here.
In the google cloud integration window, you will be able to add your K8 clusters for view and deployment. This will be done by clicking the “Add cluster” button and selecting desired project and cluster.
After signing in your Google Cloud account, a Kubernetes Tab will be added to your Left pane. Clicking on Kubernetes icon will take you to your services dashboard.
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:
In this view, you will be able to perform the following actions
- Add new service
- Edit/Update existing services
- Remove service
To add a service, click the "Add Service" button.
Insert basic definitions for your new Service
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
Toggle the Deployment option button to the “Advanced” position (different naming in composition, not consistent)
Copy and paste your existing K8 yaml files:
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.
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.
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.