apiVersion: v1 kind: Service metadata: name: php-service spec: selector: app: php ports: - protocol: TCP port: 8080 targetPort: 80 type: LoadBalancer