...

Text file src/github.com/datawire/ambassador/v2/docs/yaml/quickstart/qotm.yaml

Documentation: github.com/datawire/ambassador/v2/docs/yaml/quickstart

     1---
     2apiVersion: apps/v1
     3kind: Deployment
     4metadata:
     5  name: quote
     6spec:
     7  replicas: 1
     8  selector:
     9    matchLabels:
    10      app: quote
    11  strategy:
    12    type: RollingUpdate
    13  template:
    14    metadata:
    15      labels:
    16        app: quote
    17    spec:
    18      containers:
    19      - name: backend
    20        image: docker.io/datawire/quote:0.5.0
    21        ports:
    22        - name: http
    23          containerPort: 8080
    24---
    25apiVersion: v1
    26kind: Service
    27metadata:
    28  name: quote
    29  annotations:
    30        a8r.io/description: "Quote of the moment service"
    31        a8r.io/owner: "No owner"
    32        a8r.io/chat: "#ambassador"
    33        a8r.io/bugs: "https://github.com/datawire/quote/issues"
    34        a8r.io/documentation: "https://github.com/datawire/quote/blob/master/README.md"
    35        a8r.io/repository: "https://github.com/datawire/quote"
    36        a8r.io/support: "http://a8r.io/Slack"
    37        a8r.io/runbook: "https://github.com/datawire/quote/blob/master/README.md"
    38        a8r.io/incidents: "https://github.com/datawire/quote/issues"
    39        a8r.io/dependencies: "None"
    40spec:
    41  ports:
    42  - name: http
    43    port: 80
    44    targetPort: 8080
    45  selector:
    46    app: quote

View as plain text