1
0
Fork 0

Added another node to the cluster for misc services

This commit is contained in:
Christian Kühnel 2019-10-05 09:08:32 +02:00
parent 639ce6447a
commit 8008eaed06
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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