kubernetes/introduction-to-kubernetes/guestbook/frontend-service.yaml (17 lines of code) (raw):

# SOURCE: https://cloud.google.com/kubernetes-engine/docs/tutorials/guestbook apiVersion: v1 kind: Service metadata: namespace: guestbook-korosuke613 name: frontend labels: app: guestbook tier: frontend annotations: # https://okteto.com/docs/cloud/private-endpoints/ dev.okteto.com/auto-ingress: "private" spec: # if your cluster supports it, uncomment the following to automatically create # an external load-balanced IP for the frontend service. # type: LoadBalancer type: ClusterIP ports: # the port that this service should serve on - port: 80 selector: app: guestbook tier: frontend