Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ironicbadger committed Nov 3, 2023
1 parent 4bb38a5 commit 47fcaba
Showing 1 changed file with 37 additions and 32 deletions.
69 changes: 37 additions & 32 deletions deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,54 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: site
name: neat-starter
labels:
app: neat-starter
spec:
replicas: 1
selector:
matchLabels:
name: site
app: neat-starter
strategy: {}
template:
metadata:
labels:
name: site
app: neat-starter
spec:
containers:
- name: site
image: image/name:tag1
- name: neat-starter
image: ghcr.io/ironicbadger/neat-starter
resources: {}
ports:
- name: http
containerPort: 8080

---
apiVersion: v1
kind: Service
metadata:
name: site
labels:
name: site
spec:
selector:
name: site
ports:
- protocol: TCP
port: 80
targetPort: http

---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: site
spec:
rules:
- host: example.com
http:
paths:
- backend:
serviceName: site
servicePort: 80
# ---
# apiVersion: v1
# kind: Service
# metadata:
# name: site
# labels:
# name: site
# spec:
# selector:
# name: site
# ports:
# - protocol: TCP
# port: 80
# targetPort: http

# ---
# apiVersion: extensions/v1beta1
# kind: Ingress
# metadata:
# name: site
# spec:
# rules:
# - host: example.com
# http:
# paths:
# - backend:
# serviceName: site
# servicePort: 80

0 comments on commit 47fcaba

Please sign in to comment.