This commit is contained in:
2025-08-05 00:15:25 +09:00
parent 2812ceeda0
commit 8016f3b0ef
3 changed files with 91 additions and 46 deletions

35
dp_np.yaml Normal file
View File

@ -0,0 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: tekton-demo-deployment
namespace: tekton-demo
spec:
replicas: 1
selector:
matchLabels:
app: tekton-demo
template:
metadata:
labels:
app: tekton-demo
spec:
containers:
- name: tekton-demo
image: harbor.icurfer.com/open/tekton-demo:latest
imagePullPolicy: Always
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: tekton-demo-service
namespace: tekton-demo
spec:
type: NodePort
selector:
app: tekton-demo
ports:
- protocol: TCP
port: 80
targetPort: 80