apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: sample-udp-app
  name: sample-udp-app
spec:
  replicas: 1
  selector:
    matchLabels:
      app: sample-udp-app
  template:
    metadata:
      labels:
        app: sample-udp-app
    spec:
      containers:
        - env:
            - name: service_name
              value: sample-udp-app
          image: nandakishoref5/servers:udp-listener
          imagePullPolicy: Always
          name: sample-udp-app
          ports:
            - containerPort: 1344
              protocol: UDP
