fix .git file in Kubernetes

This commit is contained in:
Michael Cade
2022-02-24 20:14:10 +00:00
parent b63dba3b4a
commit 348aaa5fe8
44 changed files with 1049 additions and 0 deletions

View File

@ -0,0 +1,41 @@
apiVersion: v1
kind: Namespace
metadata:
name: nginx
"labels": {
"name": "nginx"
}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
namespace: nginx
spec:
selector:
matchLabels:
app: nginx
replicas: 1
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: nginx-service
namespace: nginx
spec:
selector:
app: nginx-deployment
ports:
- protocol: TCP
port: 80
targetPort: 80