https://github.com/rsyslog/rsyslog-docker/tree/master/appliance/alpine

kind: Namespace
apiVersion: v1
metadata:
  name: rsyslog
  labels:
    name: rsyslog
---
apiVersion: apps/v1
kind: Deployment
metadata:    
  name: rsyslog
  namespace: rsyslog
spec:
  replicas: 1
  selector:  
    matchLabels:
      app: rsyslog
  template:  
    metadata:
      labels:
        app: rsyslog
    spec:
      containers:    
        - name: rsyslog
          image: rsyslog/syslog_appliance_alpine:latest
          
---
kind: ConfigMap
apiVersion: v1
metadata:
  name: rsyslog-config
  namespace: rsyslog
data:
  nginx.conf: |

---
apiVersion: v1
kind: Service
metadata:
  name: rsyslog-tcp
  namespace: rsyslog
spec:
  selector: 
    app: rsyslog
  type: ClusterIP
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 80