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