apiVersion: apps/v1
kind: Deployment
metadata:
  name: example-publisher
  labels:
    app: example-publisher
    example: event-subscription-service
spec:
  replicas: 1
  selector:
    matchLabels:
      app: example-publisher
  template:
    metadata:
      name: example-publisher
      labels:
        app: example-publisher
        example: event-subscription-service
    spec:
      containers:
      - name: example-publisher
        image: alpine
        imagePullPolicy: IfNotPresent
        args: ['sh', '-c', 'apk add --update curl && while sleep 3600; do :; done']
        resources:
          requests:
            cpu: "100m"
          limits:
            memory: "64M"
