apiVersion: apps/v1 kind: Deployment metadata: name: webapp labels: app: webapp spec: replicas: 2 selector: matchLabels: app: webapp template: metadata: labels: app: webapp spec: containers: - name: webapp image: webapp:latest ports: - containerPort: 3000 env: - name: NEXT_PUBLIC_ORCH_URL value: "http://orchestrator:8080" resources: requests: memory: "512Mi" cpu: "500m" limits: memory: "1Gi" cpu: "1000m" --- apiVersion: v1 kind: Service metadata: name: webapp spec: selector: app: webapp ports: - port: 3000 targetPort: 3000 type: LoadBalancer