fix: updated kubernetes manifest

- fixed typos
- added docker image
This commit is contained in:
Dan Anglin 2023-02-19 17:27:13 +00:00
parent 30ca1c95df
commit 8d4fed70ac
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -17,7 +17,7 @@ metadata:
app: stock-ticker app: stock-ticker
--- ---
# Ingress # Ingress
apiVersion: networking.k8s.io apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: stock-ticker name: stock-ticker
@ -47,7 +47,7 @@ metadata:
spec: spec:
selector: selector:
app: stock-ticker app: stock-ticker
port: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 80
targetPort: web targetPort: web
@ -91,7 +91,7 @@ spec:
app: stock-ticker app: stock-ticker
--- ---
# Deployment # Deployment
apiVersion: v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: stock-ticker name: stock-ticker
@ -140,7 +140,7 @@ spec:
fieldPath: status.podIP fieldPath: status.podIP
- name: WEBSERVER_PORT - name: WEBSERVER_PORT
value: "8080" value: "8080"
image: "" image: "registry.gitlab.com/dananglin/stock-ticker:v0.1.0"
imagePullPolicy: Always imagePullPolicy: Always
livenessProbe: livenessProbe:
httpGet: httpGet: