apiVersion: apps/v1
kind: Deployment
metadata:
  name: server-hello
spec:
  selector:
    matchLabels:
      app: server-hello
  template:
    metadata:
      labels:
        app: server-hello
    spec:
      containers:
      - name: app
        image: buoyantio/bb:v0.0.6
        args:
        - terminus
        - "--h1-server-port=8080"
        - "--response-text=HELLO-FROM-SERVER"
        ports:
        - containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
  name: server-hello
spec:
  selector:
    app: server-hello
  ports:
  - name: http
    port: 8080
    targetPort: 8080
