Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Nov 20, 2024
1 parent ec2f375 commit 5f640da
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions identity-server/kubernetes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
labels:
app: hello-world
spec:
replicas: 1
selector:
matchLabels:
app: hello-world
template:
metadata:
labels:
app: hello-world
spec:
containers:
- name: nginx
image: nginx:stable
ports:
- containerPort: 80
---
# service.yaml
apiVersion: v1
kind: Service
metadata:
name: hello-world
spec:
type: NodePort
selector:
app: hello-world
ports:
- port: 80
targetPort: 80
nodePort: 30080

0 comments on commit 5f640da

Please sign in to comment.