--- apiVersion: apps/v1 kind: Deployment metadata: name: frontend labels: app: front-end spec: replicas: 1 selector: matchLabels: app: front-end strategy: {} template: metadata: labels: app: front-end spec: containers: - name: front-end image: public.ecr.aws/y1b0a4i8/vpc-lattice-examples:frontend imagePullPolicy: Always env: - name: LATTICEURL value: "http://{LATTICE_URL}" ports: - containerPort: 8080 resources: {} --- kind: Service apiVersion: v1 metadata: name: frontend spec: selector: app: front-end type: ClusterIP ports: - protocol: TCP port: 80 targetPort: 8080