Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
app: goapi
spec:
replicas: 3
replicas: 2
selector:
matchLabels:
app: goapi
Expand Down Expand Up @@ -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: /
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
)

const webContent = "dev-ops-ninja:v99"
const webContent = "Test of automatic deployment on Kubernetes integrating the Github on Rancher :) \nv0.1"

func main() {
http.HandleFunc("/", helloHandler)
Expand Down