scale down the deployment
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s

This commit is contained in:
2024-10-23 10:49:51 +01:00
parent 24e7d34a56
commit f3aaf89d2d
-36
View File
@@ -1,36 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: reverse-proxy-test
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: reverse-proxy-test
namespace: reverse-proxy-test
annotations:
reloader.stakater.com/search: "true"
spec:
replicas: 1
selector:
matchLabels:
app: reverse-proxy-test
template:
metadata:
labels:
app: reverse-proxy-test
spec:
nodeName: kube-master
containers:
- image: nginx:alpine
imagePullPolicy: IfNotPresent
name: reverse-proxy-test
ports:
- containerPort: 80
name: rp-port-http
- containerPort: 443
name: rp-port-https
resources:
limits:
cpu: 250m
memory: 250Mi