kubernetes 구성 요소(deployment, service, ingress) 제거

feature/apply-patched-updates
bjkim 6 days ago
parent 0eff922a6b
commit 83954c5fdf

@ -1,43 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: autoflow
namespace: autoflow
labels:
app: autoflow
spec:
replicas: 1
selector:
matchLabels:
app: autoflow
template:
metadata:
labels:
app: autoflow
spec:
containers:
- image: 192.168.10.120:32100/autoflow:2025.07.005
name: autoflow
ports:
- containerPort: 80
resources:
requests:
cpu: 500m
memory: 100Mi
# limits:
# cpu: 1000m
# memory: 2Gi
---
apiVersion: v1
kind: Service
metadata:
name: autoflow
namespace: autoflow
spec:
type: ClusterIP
selector:
app: autoflow
ports:
- protocol: TCP
port: 80
targetPort: 80

@ -1,19 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: autoflow
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 1g
name: autoflow
spec:
ingressClassName: nginx
rules:
- http:
paths:
- path: /autoflow
pathType: Prefix
backend:
service:
name: autoflow
port:
number: 80
Loading…
Cancel
Save