Added another node to the cluster for misc services
This commit is contained in:
parent
639ce6447a
commit
8008eaed06
2 changed files with 6 additions and 2 deletions
|
@ -24,3 +24,7 @@ source "${ROOT_DIR}/k8s_config"
|
||||||
# create the cluster
|
# create the cluster
|
||||||
gcloud container clusters create $GCP_CLUSTER --zone $GCP_ZONE \
|
gcloud container clusters create $GCP_CLUSTER --zone $GCP_ZONE \
|
||||||
--machine-type=n1-standard-32 --num-nodes=1
|
--machine-type=n1-standard-32 --num-nodes=1
|
||||||
|
|
||||||
|
# add a node pool for interfaces and other services
|
||||||
|
gcloud container node-pools create services --cluster $GCP_CLUSTER --zone $GCP_ZONE \
|
||||||
|
--machine-type=n1-standard-4 --num-nodes 1
|
|
@ -161,10 +161,10 @@ spec:
|
||||||
- containerPort: 22
|
- containerPort: 22
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 30
|
cpu: 31
|
||||||
memory: 100Gi
|
memory: 100Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 30
|
cpu: 31
|
||||||
memory: 100Gi
|
memory: 100Gi
|
||||||
---
|
---
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
Loading…
Reference in a new issue