apiVersion: v1 kind: Service metadata: name: vweb-v1 labels: kiamol: ch15 spec: ports: - port: 80 targetPort: http selector: app: vweb-v1 --- apiVersion: apps/v1 kind: Deployment metadata: name: vweb-v1 labels: kiamol: ch15 spec: selector: matchLabels: app: vweb-v1 template: metadata: labels: app: vweb-v1 spec: containers: - name: web image: kiamol/ch09-vweb:v1 ports: - name: http containerPort: 80