commit message from python script

This commit is contained in:
2023-04-11 17:11:08 +02:00
parent 21d88c4537
commit b4c9068425
92 changed files with 51 additions and 22 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: web
name: web
spec:
replicas: 1
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- image: nginx
name: nginx
ports:
- name: http
containerPort: 80

22
k8s/nginx/deployment-nginx.yaml Executable file
View File

@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: nginx
name: nginx
spec:
replicas: 1
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- image: nginx
name: nginx
ports:
- name: http
containerPort: 80

5
k8s/nginx/nginx-svc.yaml Normal file → Executable file
View File

@@ -2,9 +2,8 @@ apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
namespace: nginx
labels:
name: nginx
app: nginx
name: nginx
spec:
ports:
@@ -12,6 +11,6 @@ spec:
protocol: TCP
targetPort: 80
selector:
run: nginx
app: nginx
status:
loadBalancer: {}

0
k8s/nginx/nginx1.yaml Normal file → Executable file
View File

0
k8s/nginx/nginx_namespace.yaml Normal file → Executable file
View File

4
k8s/nginx/nginx_pod.yaml Normal file → Executable file
View File

@@ -8,10 +8,10 @@ metadata:
spec:
containers:
- name: nginx
image: nginx:1.19.3
image: nginx
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 80
- containerPort: 80

View File

@@ -1,13 +0,0 @@
---
apiVersion: v1
kind: Service
metadata:
name: nginx
namespace: nginx
labels:
name: nginx
spec:
ports:
- protocol: TCP
port: 80
targetPort: 80