first commit

This commit is contained in:
Blendman974 committed 2023-07-12 09:05:54 +04:00
commit ef794d5b9c
3 files changed
+81

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: apache
spec:
selector:
matchLabels:
app: apache
replicas: 1
template:
metadata:
labels:
app: apache
spec:
containers:
- name: apache
image: k8s.gcr.io/hpa-example
ports:
- containerPort: 80
resources:
limits:
cpu: 500m
requests:
cpu: 200m
---
apiVersion: v1
kind: Service
metadata:
name: apache
labels:
app: apache
spec:
ports:
- port: 80
selector:
app: apache