From 1eca51c56d2dce978a9083eedfa8346177c08518 Mon Sep 17 00:00:00 2001 From: Eric dos Santos <39569926+santoseric@users.noreply.github.com> Date: Wed, 4 Jan 2023 20:15:06 -0300 Subject: [PATCH 1/3] Update deployment.yaml --- deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index 562e956..9e10211 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -8,7 +8,7 @@ metadata: labels: app: goapi spec: - replicas: 3 + replicas: 2 selector: matchLabels: app: goapi @@ -51,7 +51,7 @@ metadata: allow.http: "false" spec: rules: - - host: go.rancher.dev-ops-ninja.com + - host: go.rancher.devops-lab.click http: paths: - path: / From 91ca51cf77cffa98a4b87b2afb3a16a88c6ed610 Mon Sep 17 00:00:00 2001 From: Eric dos Santos <39569926+santoseric@users.noreply.github.com> Date: Wed, 4 Jan 2023 20:20:08 -0300 Subject: [PATCH 2/3] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3d5077d..e9fe67b 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "log" ) -const webContent = "dev-ops-ninja:v99" +const webContent = "Test of automatic deployment on Kubernetes across Rancher :)" func main() { http.HandleFunc("/", helloHandler) From 09d5200566655cfb7609fd45fd0c466d2edbae5e Mon Sep 17 00:00:00 2001 From: Eric dos Santos <39569926+santoseric@users.noreply.github.com> Date: Wed, 4 Jan 2023 20:35:19 -0300 Subject: [PATCH 3/3] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e9fe67b..37b836c 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "log" ) -const webContent = "Test of automatic deployment on Kubernetes across Rancher :)" +const webContent = "Test of automatic deployment on Kubernetes integrating the Github on Rancher :) \nv0.1" func main() { http.HandleFunc("/", helloHandler)