1 2 3 4 5 6 7 8 9 10 11
apiVersion: v1 kind: Service metadata: name: frontend-service spec: ports: - port: 80 targetPort: 80 selector: app: frontend-app type: ClusterIP