...

Text file src/github.com/datawire/ambassador/v2/python/tests/integration/manifests/backend.yaml

Documentation: github.com/datawire/ambassador/v2/python/tests/integration/manifests

     1
     2---
     3kind: Service
     4apiVersion: v1
     5metadata:
     6  name: {self.path.k8s}
     7spec:
     8  selector:
     9    backend: {self.path.k8s}
    10  ports:
    11  - name: http
    12    protocol: TCP
    13    port: 80
    14    targetPort: 8080
    15  - name: https
    16    protocol: TCP
    17    port: 443
    18    targetPort: 8443
    19
    20---
    21apiVersion: v1
    22kind: Pod
    23metadata:
    24  name: {self.path.k8s}
    25  labels:
    26    backend: {self.path.k8s}
    27spec:
    28  containers:
    29  - name: backend
    30    image: {images[kat-server]}
    31    ports:
    32    - containerPort: 8080
    33    env:
    34    - name: BACKEND
    35      value: {self.path.k8s}

View as plain text