# Copyright © 2020 Interplanetary Database Association e.V., # Planetmint and IPDB software contributors. # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 apiVersion: v1 kind: Service metadata: name: openresty-instance-0 namespace: default labels: name: openresty-instance-0 annotations: # NOTE: the following annotation is a beta feature and # only available in GCE/GKE and Azure as of now # Ref: https://kubernetes.io/docs/tutorials/services/source-ip/ service.beta.kubernetes.io/external-traffic: OnlyLocal spec: selector: app: openresty-instance-0-dep ports: - port: "" targetPort: "" name: openresty-svc-port protocol: TCP type: ClusterIP clusterIP: None