Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Commit 9907cc1

Browse files
author
Paul Kiernan
committed
Fixes service port and adds new ingress
1 parent 5a1ef1d commit 9907cc1

4 files changed

Lines changed: 23 additions & 6 deletions

File tree

k8s/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ spec:
1919
image: paulynomial/gibson-webgl:latest
2020
imagePullPolicy: Always
2121
ports:
22-
- containerPort: 80
22+
- containerPort: 8080
2323
livenessProbe:
2424
httpGet:
2525
path: /healthz
26-
port: 80
26+
port: 8080
2727
initialDelaySeconds: 5
2828
periodSeconds: 10
2929
readinessProbe:
3030
httpGet:
3131
path: /healthz
32-
port: 80
32+
port: 8080
3333
initialDelaySeconds: 3
3434
periodSeconds: 3

k8s/fleet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
namespace: paulynomial-website
1+
namespace: gibson-webgl

k8s/ingress.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: networking.k8s.io/v1beta1
2+
kind: Ingress
3+
metadata:
4+
annotations:
5+
field.cattle.io/description: Ingress Gibson webgl demo
6+
name: gibson-webgl-ingress
7+
namespace: gibson-webgl
8+
spec:
9+
rules:
10+
- host: gibson.paulynomial.com
11+
http:
12+
paths:
13+
- backend:
14+
serviceName: gibson-webgl-service
15+
servicePort: 8080
16+
path: /
17+
pathType: Prefix

k8s/service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ spec:
88
type: NodePort
99
ports:
1010
- protocol: TCP
11-
port: 80
12-
targetPort: 80
11+
port: 8080
12+
targetPort: 8080

0 commit comments

Comments
 (0)