github.com/GoogleContainerTools/kpt@v1.0.0-beta.50.0.20240520170205-c25345ffcbee/package-examples/ghost/ghost-app/service-ghost.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: ghost-app
     5    namespace: example
     6    labels:
     7      app.kubernetes.io/name: ghost-app
     8  spec:
     9    type: LoadBalancer
    10    externalTrafficPolicy: Cluster
    11    sessionAffinity: None
    12    ports:
    13      - name: http
    14        port: 80
    15        protocol: TCP
    16        targetPort: http
    17    selector:
    18      app.kubernetes.io/name: ghost-app