github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/gke_loadbalancer/loadbalancer-helm/templates/k8s.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: gke-loadbalancer 5 labels: 6 app: gke-loadbalancer 7 spec: 8 replicas: 1 9 selector: 10 matchLabels: 11 app: gke-loadbalancer 12 template: 13 metadata: 14 labels: 15 app: gke-loadbalancer 16 spec: 17 containers: 18 - name: gke-container 19 image: {{ .Values.image }} 20 ports: 21 - containerPort: 3000 22 --- 23 apiVersion: v1 24 kind: Service 25 metadata: 26 name: gke-loadbalancer 27 labels: 28 app: gke-loadbalancer 29 spec: 30 type: LoadBalancer 31 ports: 32 - port: 80 33 targetPort: 3000 34 protocol: TCP 35 name: http 36 selector: 37 app: "gke-loadbalancer"