You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/tutorials/getting-started-with-cert-manager-on-google-kubernetes-engine-using-lets-encrypt-for-ingress-ssl/README.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Deploy cert-manager on Google Kubernetes Engine (GKE) and create SSL cert
3
3
description: Learn how to deploy cert-manager on Google Kubernetes (GKE) Engine and then configure it to sign SSL certificates using Let's Encrypt
4
4
---
5
5
6
-
*Last Verified: 15 July 2022*
6
+
*Last Verified: 6 June 2025*
7
7
8
8
In this tutorial you will learn how to deploy and configure cert-manager on Google Kubernetes Engine (GKE).
9
9
You will learn how to configure cert-manager to get a signed SSL certificate from Let's Encrypt,
@@ -84,22 +84,27 @@ or (2) export the variable in your shell session. This applies to all environmen
84
84
We will go with option (2), so we need to export the environment variables before continuing using the information that was printed by `gcloud init`:
85
85
86
86
```bash
87
-
exportPROJECT=your-project # Your Google Cloud project ID.
88
-
exportREGION=europe-west1 # Your Google Cloud region.
87
+
exportCLOUDSDK_CORE_PROJECT=your-project# Your Google Cloud project ID.
88
+
exportCLOUDSDK_COMPUTE_ZONE=europe-west2-b # Your Google Cloud zone
89
89
```
90
90
91
+
> 📖 Learn more about [Setting configuration properties in the gcloud CLI](https://cloud.google.com/sdk/docs/configurations#setting_configuration_properties).
92
+
91
93
## 1. Create a Kubernetes Cluster
92
94
93
95
To get started, let's create a Kubernetes cluster in Google Cloud. You will need to pick a name for your cluster. Here, we will go with "test-cluster-1". Let us save it in an environment variable:
94
96
95
97
```bash
96
-
exportCLUSTER=test-cluster-1
98
+
exportCLOUDSDK_CONTAINER_CLUSTER=test-cluster-1
97
99
```
98
100
99
101
Now, create the cluster using the following command:
Set up the [Google Kubernetes Engine auth plugin for kubectl](https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke):
@@ -119,9 +124,9 @@ kubectl get nodes -o wide
119
124
> ⏲ It will take 4-5 minutes to create the cluster.
120
125
>
121
126
> 💵 To minimize your cloud bill, this command creates a 1-node cluster using a
0 commit comments