...

Text file src/github.com/emissary-ingress/emissary/v3/docs/yaml/demo/demo-qotm.yaml

Documentation: github.com/emissary-ingress/emissary/v3/docs/yaml/demo

     1---
     2apiVersion: v1
     3kind: Service
     4metadata:
     5  name: qotm
     6spec:
     7  type: ClusterIP
     8  selector:
     9    app: qotm
    10  ports:
    11  - port: 80
    12    name: http-qotm
    13    targetPort: http-api
    14---
    15apiVersion: apps/v1
    16kind: Deployment
    17metadata:
    18  name: qotm
    19spec:
    20  replicas: 1
    21  selector:
    22    matchLabels:
    23      app: qotm
    24  strategy:
    25    type: RollingUpdate
    26  template:
    27    metadata:
    28      labels:
    29        app: qotm
    30    spec:
    31      containers:
    32      - name: qotm
    33        image: docker.io/datawire/qotm:1.1
    34        ports:
    35        - name: http-api
    36          containerPort: 5000
    37        resources:
    38          limits:
    39            cpu: "0.1"
    40            memory: 100Mi

View as plain text