Kubernetes 매니페스트 생성기
Deployment + Service YAML을 생성합니다
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-app
spec:
replicas: 2
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-app
image: nginx:1.27
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: my-app
spec:
type: ClusterIP
selector:
app: my-app
ports:
- port: 80
targetPort: 80
Kubernetes 매니페스트 생성기 소개
Kubernetes 배포를 위한 YAML 매니페스트를 생성합니다 별도 설치나 회원가입 없이 브라우저에서 바로 사용할 수 있습니다.
관련 키워드: Kubernetes, 매니페스트, YAML, 배포