You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://sonarcloud.io/summary/new_code?id=DevSecOpsSamples_gcp-golang-performance-test)[](https://sonarcloud.io/summary/new_code?id=DevSecOpsSamples_gcp-golang-performance-test)
5
5
6
-
Performance testing with https://echo.labstack.com application on GKE.
6
+
Performance testing on GKE using the https://echo.labstack.com application.
7
7
8
8
9
9
## Table of Contents
10
10
11
-
-[Step1: Create a GKE cluster and namespaces](#1-create-a-gke-cluster)
12
-
-[Step2: Build and push to GCR](#2-build-and-push-to-gcr)
13
-
-[Step3: Ingress with Network Endpoint Group (NEG)](#3-ingress-with-network-endpoint-groupneg)
14
-
- Manifest
15
-
- Deploy ingress-neg-api
16
-
- Screenshots
17
-
-[Step4: LoadBalancer Type with NodePort](#4-loadbalancer-type-with-nodeport)
18
-
- Manifest
19
-
- Deploy loadbalancer-type-api
20
-
- Screenshots
21
-
-[Step5: NodePort Type](#5-nodeport-type)
22
-
- Manifest
23
-
- Deploy nodeport-type-api
24
-
- Create a firewall rule for the node port
11
+
-[1. Create a GKE cluster](#1-create-a-gke-cluster)
12
+
-[2. Deploy two applications for checking the performance per Pod and scaling](#2-deploy-two-applications-for-checking-the-performance-per-pod-and-scaling)
13
+
-[2.1. Deploy for performance of one Pod](#21-deploy-for-performance-of-one-pod)
14
+
-[2.2. Deploy for Scaling Test](#22-deploy-for-scaling-test)
15
+
-[3. Performance Testing](#3-performance-testing)
16
+
-[3.1. Install the Taurus](#31-install-the-taurus)
17
+
-[3.2. Test for performance of one Pod](#32-test-for-performance-of-one-pod)
18
+
-[3.3. Test with auto scaling](#33-test-with-auto-scaling)
25
19
-[Cleanup](#6-cleanup)
26
20
27
21
---
@@ -79,9 +73,9 @@ kubectl get namespaces
79
73
kubectl create namespace echo-test
80
74
```
81
75
82
-
Two ddeployments may take around 5 minutes to create a load balancer, including health checking.
76
+
Two deployments may take around 5 minutes to create a load balancer, including health checking.
83
77
84
-
## 3. Deploy for performance of one Pod
78
+
## 2.1. Deploy for performance of one Pod
85
79
86
80
To check request per seconds(RPS) WITHOUT scaling, create and deploy K8s Deployment, Service, HorizontalPodAutoscaler, Ingress, and GKE BackendConfig using the [go-echo-api-onepod-template.yaml](app/go-echo-api-onepod-template.yaml) template file:
kubectl get ingress go-echo-api-onepod-ingress -n echo-test
104
98
```
105
99
106
-
## 4. Deploy for Scaling Test
100
+
## 2.2. Deploy for Scaling Test
107
101
108
102
To check request per seconds(RPS) with scaling, create and deploy K8s Deployment, Service, HorizontalPodAutoscaler, Ingress, and GKE BackendConfig using the [go-echo-api-template.yaml](app/go-echo-api-template.yaml) template file:
0 commit comments