Skip to content

Commit 044ef17

Browse files
nikit19niranjan94
authored andcommitted
fix: update kubernetes deployment documentation
1 parent f00611a commit 044ef17

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

docs/installation/gce-kubernetes.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ _You can delete the instance if your not planning to use it for anything else. B
9090
- Create a cluster via the `gcloud` command line tool:
9191
9292
```
93-
gcloud container clusters create opev-cluster --cluster-version=1.6.4
93+
gcloud container clusters create opev-cluster
9494
```
9595
9696
- 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
110110
The response would be similar to
111111
112112
```
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].
121114
```
115+
- Listing static external IP addresses
122116
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**.
124122
- Add the **External IP Address One** as an `A` record to your domain's DNS Zone.
125123
- Add the **External IP Address One** to `kubernetes/yamls/nginx/service.yml` for the parameter `loadBalancerIP`.
126124
- Add your domain name to `kubernetes/yamls/web/ingress-notls.yml` & `kubernetes/yamls/web/ingress-tls.yml`. (replace `api.eventyay.com`)
127125
- 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.
129127
130128
## Deploy our pods, services and deployments
131129

0 commit comments

Comments
 (0)