github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/dos-games/manifests/service.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: doom
     6    annotations:
     7      jackal.dev/connect-description: "Play doom!!!"
     8      jackal.dev/connect-url: "?doom"
     9    labels:
    10      # Enables "jackal connect doom"
    11      jackal.dev/connect-name: doom
    12  spec:
    13    selector:
    14      app: game
    15    ports:
    16      - name: http
    17        port: 8000
    18        protocol: TCP
    19        targetPort: 8000
    20  ---
    21  apiVersion: v1
    22  kind: Service
    23  metadata:
    24    name: game
    25    annotations:
    26      jackal.dev/connect-description: "Play some old dos games 🦄"
    27    labels:
    28      # Enables "jackal connect games"
    29      jackal.dev/connect-name: games
    30  spec:
    31    selector:
    32      app: game
    33    ports:
    34      - name: http
    35        port: 8000
    36        protocol: TCP
    37        targetPort: 8000