github.com/telepresenceio/telepresence/v2@v2.20.0-pro.6.0.20240517030216-236ea954e789/integration_test/testdata/k8s/echo-udp-tcp-unnamed.yaml (about)

     1  # The echo-double-unnamed deployment exposes two unnamed ports, 8080 and 8081 from a single container
     2  apiVersion: apps/v1
     3  kind: Deployment
     4  metadata:
     5    name: echo-udp-tcp-unnamed
     6    labels:
     7      app: echo-udp-tcp-unnamed
     8  spec:
     9    replicas: 1
    10    selector:
    11      matchLabels:
    12        app: echo-udp-tcp-unnamed
    13    template:
    14      metadata:
    15        labels:
    16          app: echo-udp-tcp-unnamed
    17      spec:
    18        containers:
    19          - name: echo-udp-server
    20            image: docker.io/thhal/udp-test:0.1.0
    21            ports:
    22              - containerPort: 8080
    23                protocol: UDP
    24            env:
    25              - name: PORT
    26                value: "8080"
    27            resources:
    28              limits:
    29                cpu: 50m
    30                memory: 8Mi
    31          - name: echo-server
    32            image: docker.io/thhal/echo-server:latest
    33            ports:
    34              - containerPort: 8080
    35            env:
    36              - name: PORT
    37                value: "8080"
    38            resources:
    39              limits:
    40                cpu: 50m
    41                memory: 8Mi