Skip to content

Commit

Permalink
Merge pull request #233 from LiamJaco/main
Browse files Browse the repository at this point in the history
➕ Add Yaml
  • Loading branch information
BlackIQ authored Aug 21, 2024
2 parents 37298c4 + b2a8046 commit fc2d6e1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions YAML/Yaml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: hello-deployment
spec:
replicas: 1
template:
metadata:
labels:
run: hello-world
spec:
containers:
- name: hello
image: nginxdemos/hello:latest
ports:
- containerPort: 80

---
apiVersion: v1
kind: Service
metadata:
name: hello-service
labels:
run: hello-world
spec:
type: NodePort
ports:
- port: 80
protocol: TCP
selector:
run: hello-world

0 comments on commit fc2d6e1

Please sign in to comment.