apiVersion: apps/v1
kind: Deployment
metadata: # kpt-merge: /httpbin
  name: httpbin
  labels:
    app: httpbin
  annotations:
    internal.kpt.dev/upstream-identifier: 'apps|Deployment|default|httpbin'
spec:
  selector:
    matchLabels:
      app: httpbin
  template:
    metadata:
      labels:
        app: httpbin
    spec:
      automountServiceAccountToken: false
      containers:
        - name: main
          image: kong/httpbin
          ports:
            - containerPort: 80
              name: api
          readinessProbe:
            httpGet:
              path: /get
              port: 80
            initialDelaySeconds: 5
            periodSeconds: 10
          livenessProbe:
            httpGet:
              path: /get
              port: 80
            initialDelaySeconds: 5
            periodSeconds: 10
