Add directory functionality (#181)

This commit is contained in:
Jaiveer Katariya
2022-04-12 13:17:37 -04:00
committed by GitHub
parent fd893fd074
commit aabcfcba3e
15 changed files with 193 additions and 6 deletions
+33
View File
@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 1
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: nginx-service
spec:
selector:
app: nginx
ports:
- protocol: TCP
port: 80
targetPort: 80