@@ -90,7 +90,7 @@ _You can delete the instance if your not planning to use it for anything else. B
90
90
- Create a cluster via the `gcloud` command line tool:
91
91
92
92
```
93
- gcloud container clusters create opev-cluster --cluster-version=1.6.4
93
+ gcloud container clusters create opev-cluster
94
94
```
95
95
96
96
- Get the credentials for `kubectl` to use.
@@ -110,22 +110,20 @@ _You can delete the instance if your not planning to use it for anything else. B
110
110
The response would be similar to
111
111
112
112
```
113
- address: 123.123.123.123
114
- creationTimestamp: '2017-05-16T05:26:24.894-07:00'
115
- description: ''
116
- id: '1234556789'
117
- kind: compute#address
118
- name: test
119
- selfLink: https://www.googleapis.com/compute/v1/projects/eventyay/global/addresses/test
120
- status: RESERVED
113
+ Created [https://www.googleapis.com/compute/v1/projects/eventyay-212514/regions/us-west1/addresses/testip].
121
114
```
115
+ - Listing static external IP addresses
122
116
123
- Note down the address. (In this case `123.123.123.123`). We'll call this **External IP Address One**.
117
+ ```bash
118
+ gcloud compute addresses list --filter=testip
119
+ ```
120
+
121
+ Note down the address. We'll call this **External IP Address One**.
124
122
- Add the **External IP Address One** as an `A` record to your domain's DNS Zone.
125
123
- Add the **External IP Address One** to `kubernetes/yamls/nginx/service.yml` for the parameter `loadBalancerIP`.
126
124
- Add your domain name to `kubernetes/yamls/web/ingress-notls.yml` & `kubernetes/yamls/web/ingress-tls.yml`. (replace `api.eventyay.com`)
127
125
- Add your email ID to `kubernetes/yamls/lego/configmap.yml` for the parameter `lego.email`.
128
- - In `kubernetes/yamls/postgres/postgres-pod .yml` ensure `pdName` is `pg-data-disk`. Else change it.
126
+ - In `kubernetes/yamls/postgres/deployment .yml` ensure `pdName` is `pg-data-disk`. Else change it.
129
127
130
128
## Deploy our pods, services and deployments
131
129
0 commit comments