forked from pivotal-cf/docs-pks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gcp-requirements.html.md.erb
154 lines (131 loc) · 5.54 KB
/
gcp-requirements.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
---
title: GCP Prerequisites and Resource Requirements
owner: PKS
---
<strong><%= modified_date %></strong>
This topic describes the prerequisites and resource requirements for installing <%= vars.product_full %> on Google Cloud Platform (GCP).
##<a id='prerequisites'></a> Prerequisites
Before you install <%= vars.product_short %>, you must install Ops Manager <%= vars.ops_man_version_2_5 %> or Ops Manager <%= vars.ops_man_version_2_6 %>. See [Install and Configure Ops Manager](#ops-man).
You can install <%= vars.product_short %> on GCP manually or by using Terraform. If you are installing
<%= vars.product_short %> manually, before you install <%= vars.product_short %>, you must also do the following:
* Create service accounts for Kubernetes master and worker nodes. See [Create Service Accounts for Kubernetes](#k8s-accounts).
* Create a load balancer to access the PKS API. See [Create a Load Balancer for the PKS API](#lb).
<p class="note"><strong>Note:</strong> You use Ops Manager to install and configure <%= vars.product_short %>. Each
version of Ops Manager supports multiple versions of <%= vars.product_short %>. To confirm that your Ops Manager version
supports the version of <%= vars.product_short %> that you install, see <a href="release-notes.html"><%= vars.product_short %> Release Notes</a>.</p>
###<a id='ops-man'></a> Install and Configure Ops Manager
To install a compatible Ops Manager version, follow either the manual or Terraform instructions in the
table below:
<table>
<tr>
<th>Version</th>
<th>Manual Instructions</th>
<th>Terraform Instructions</th>
</tr>
<tr>
<td>Ops Manager 2.5</td>
<td>
<ol>
<li><a href="https://docs.pivotal.io/pcf/om/2-5/gcp/prepare-env-manual.html">Preparing to Deploy Ops Manager on GCP Manually</a></li>
<li><a href="https://docs.pivotal.io/pcf/om/2-5/gcp/deploy-manual.html">Deploying Ops Manager on GCP Manually</a></li>
<li><a href="https://docs.pivotal.io/pcf/om/2-5/gcp/config-manual.html">Configuring BOSH Director on GCP Manually</a></li>
</ol>
</td>
<td>
<ol>
<li><a href="https://docs.pivotal.io/pcf/om/2-5/gcp/prepare-env-terraform.html">Deploying Ops Manager on GCP Using Terraform</a></li>
<li><a href="https://docs.pivotal.io/pcf/om/2-5/gcp/config-terraform.html">Configuring BOSH Director on GCP Using Terraform</a></li>
</ol>
</td>
</tr>
<tr>
<td>Ops Manager 2.6</td>
<td>
<ol>
<li><a href="https://docs.pivotal.io/pcf/om/2-6/gcp/prepare-env-manual.html">Preparing to Deploy PCF on GCP Manually</a></li>
<li><a href="https://docs.pivotal.io/pcf/om/2-6/gcp/deploy-manual.html">Deploying BOSH and Ops Manager to GCP Manually</a></li>
<li><a href="https://docs.pivotal.io/pcf/om/2-6/gcp/config-manual.html">Configuring BOSH Director on GCP Manually</a></li>
</ol>
</td>
<td>
<ol>
<li><a href="https://docs.pivotal.io/pcf/om/2-6/gcp/prepare-env-terraform.html">Deploying Ops Manager on GCP Using Terraform</a></li>
<li><a href="https://docs.pivotal.io/pcf/om/2-6/gcp/config-terraform.html">Configuring BOSH Director on GCP Using Terraform</a></li>
</ol>
</td>
</tr>
</table>
###<a id='k8s-accounts'></a> Create Service Accounts for Kubernetes
**If you are installing <%= vars.product_short %> manually:**
After you install and configure Ops Manager, you must create service accounts for Kubernetes master
and worker node VMs in your <%= vars.product_short %> deployment.
To create the service accounts, follow the procedures
in [Creating Service Accounts in GCP for <%= vars.product_short %>](gcp-service-accounts.html).
###<a id='lb'></a> Create a Load Balancer for the PKS API
**If you are installing <%= vars.product_short %> manually:**
You must create an external TCP load balancer before you install <%= vars.product_short %>.
This load balancer enables you to access the PKS API from outside the network
and run `pks` commands from your local workstation.
To create a load balancer in GCP, do the procedures in
[Creating a GCP Load Balancer for the PKS API](./gcp-api-load-balancer.html).
After you install <%= vars.product_short %>, you must complete the load balancer configuration.
To complete the load balancer configuration,
do the procedure in [Create a Network Tag for the Firewall Rule](./gcp-api-load-balancer.html#tag).
##<a id='resources'></a> Resource Requirements
Installing Ops Manager and <%= vars.product_short %> requires the following virtual machines (VMs):
<table>
<tr>
<th>VM</th>
<th>CPU</th>
<th>RAM</th>
<th>Storage</th>
</tr>
<tr>
<td>Pivotal Container Service</td>
<td>2</td>
<td>8 GB</td>
<td>16 GB ^*</td>
</tr>
<tr>
<td>Pivotal Ops Manager</td>
<td>1</td>
<td>8 GB</td>
<td>160 GB</td>
</tr>
<tr>
<td>BOSH Director</td>
<td>2</td>
<td>8 GB</td>
<td>16 GB</td>
</tr>
</table>
<%= partial '_increase_persistent_disk' %>
<h3> Kubernetes Cluster Resources </h3>
Each Kubernetes cluster provisioned through <%= vars.product_short %> deploys the VMs listed below.
If you deploy more than one Kubernetes cluster, you must scale your allocated resources appropriately.
<table>
<tr>
<th>VM Name</th>
<th>Number</th>
<th>CPU Cores</th>
<th>RAM</th>
<th>Ephemeral Disk</th>
<th>Persistent Disk</th>
</tr>
<tr>
<td>master</td>
<td>1</td>
<td>2</td>
<td>4 GB</td>
<td>32 GB</td>
<td>5 GB</td>
</tr>
<tr>
<td>worker</td>
<td>1</td>
<td>2</td>
<td>4 GB</td>
<td>32 GB</td>
<td>50 GB</td>
</tr>
</table>